Add a simple "Love It" button to post
Author: | Leo (profile at wordpress.org) |
WordPress version required: | 3.0.1 |
WordPress version tested: | 4.6.1 |
Plugin version: | 1.0.0 |
Added to WordPress repository: | 05-10-2016 |
Last updated: | 07-02-2016
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, %: | 0 |
Rated by: | 0 |
Plugin URI: | http://ptheme.com/item/wp-love-it/ |
Total downloads: | 6 385 |
Active installs: | 10+ |
Click to start download
|
Screenshots
WP Love It
FAQ
How can I display the button at the bottom of post?
By default the button will automatically appear on top of post. You can also change the position to the bottom of post by using filter ‘wpli/position’. Put following codes to your ‘functions.php’.
‘add_filter( ‘wpli/position’, function() {return ‘bottom’;} );’
How can I use the shortcode?
One thing you should pay attention to is that if you want to manually add the button by using the shortcode, you should disable the automatically adding functionality otherwise the button may appear multiple times. Put following codes to your ‘functions.php’.
‘add_filter( ‘wpli/autoadd’, function() {return false;} );’
Then you can use the shortcode ‘[wp_love_it]’. The shortcode should be used in the loop.
ChangeLog