You can place share buttons just activating this plugin.
Author: | Takayuki Miyauchi (profile at wordpress.org) |
WordPress version required: | 4.0 |
WordPress version tested: | 4.2.37 |
Plugin version: | 1.0.1 |
Added to WordPress repository: | 24-11-2014 |
Last updated: | 27-04-2015
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 96 |
Rated by: | 4 |
Plugin URI: | http://github.com/miya0001/simple-share |
Total downloads: | 4 943 |
Active installs: | 10+ |
Click to start download |
You can place share buttons just by activating this plugin.
- There is no admin panel.
- You can place twitter, facebook, google, and hatena(ja only) buttons.
- They will be hidden at mobile screen (under 480px).
Filter hook
- simple_share_the_content – Filter the content.
- simple_share_get_share_buttons – Filter the share buttons.
- simple_share_mobile_footer – Filter the footer buttons on mobile.
- simple_share_style – Filter the css.
Placing share buttons in the footer.
add_filter( 'simple_share_the_content', function( $content, $share, $orig ){
return $share. $orig . $share;
}, 10, 3 );
Other Notes
If you would have conflicts with other plugins you can stop JavaScripts in the footer like below.
remove_action( 'simple_share_footer', array( $simple_share, 'facebook_script' ) );
– Stop facebook scripts.remove_action( 'simple_share_footer', array( $simple_share, 'google_script' ) );
– Stop Google scripts.
Contribution
Screenshots
ChangeLog