Initial commit
This commit is contained in:
commit
28e6ddf404
1083 changed files with 191734 additions and 0 deletions
30
plugins/jetpack/modules/sharedaddy.php
Normal file
30
plugins/jetpack/modules/sharedaddy.php
Normal file
|
@ -0,0 +1,30 @@
|
|||
<?php
|
||||
/**
|
||||
* Module Name: Sharing
|
||||
* Module Description: Visitors can share your content.
|
||||
* Jumpstart Description: Twitter, Facebook and Google+ buttons at the bottom of each post, making it easy for visitors to share your content.
|
||||
* Sort Order: 7
|
||||
* Recommendation Order: 6
|
||||
* First Introduced: 1.1
|
||||
* Major Changes In: 1.2
|
||||
* Requires Connection: No
|
||||
* Auto Activate: Yes
|
||||
* Module Tags: Social, Recommended
|
||||
* Feature: Recommended, Jumpstart, Traffic
|
||||
* Additional Search Queries: share, sharing, sharedaddy, buttons, icons, email, facebook, twitter, google+, linkedin, pinterest, pocket, press this, print, reddit, tumblr
|
||||
*/
|
||||
|
||||
if ( !function_exists( 'sharing_init' ) )
|
||||
include dirname( __FILE__ ).'/sharedaddy/sharedaddy.php';
|
||||
|
||||
add_action( 'jetpack_modules_loaded', 'sharedaddy_loaded' );
|
||||
|
||||
function sharedaddy_loaded() {
|
||||
Jetpack::enable_module_configurable( __FILE__ );
|
||||
Jetpack::module_configuration_load( __FILE__, 'sharedaddy_configuration_load' );
|
||||
}
|
||||
|
||||
function sharedaddy_configuration_load() {
|
||||
wp_safe_redirect( menu_page_url( 'sharing', false ) . "#sharing-buttons" );
|
||||
exit;
|
||||
}
|
Reference in a new issue