Like This Plugin
A simple 'I like this' plugin inspired by the facebook 'like' functionality.
A simple ‘I like this’ plugin inspired by the facebook ‘like’ functionality. For visitors who don’t want to bother with commenting.
Installation
- Upload the files into a folder named
roses-like-this
to the /wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Place
<?php printLikes(get_the_ID()); ?>
in ‘the loop’ of your posts wherever you want the ‘like this’ link to appear.
FAQ
Installation Instructions
- Upload the files into a folder named
roses-like-this
to the /wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Place
<?php printLikes(get_the_ID()); ?>
in ‘the loop’ of your posts wherever you want the ‘like this’ link to appear.
How can I make the ‘like this’ link look prettier?
You can use CSS.
– LikeThis links have the class likeThis
– Links that have been liked also have the class done
(.likeThis.done
)
Changelog
1.0
- The very first version of this plugin 🙂
1.01
- Made a small change for those of you installing directly from wordpress.org. This changes the default directory from
likeThis
to roses-like-this
in order to coincide with what wordpress will install. Should lead to less confusion!
1.1
- Major bug fix! 🙂 Anyone having an issue where the likeThis link clicking wasn’t saving in the database should find it fixed.
1.2
- Bug Fix for those having issues with cookies not being saved correctly.
1.3
- Added sidebar widget for displaying most liked posts
1.4
- Add plugin option section for customizing the like this text
1.5
- Add likes column to post management list
1.6
1.6.1
- Bug fix: Don’t allow likes go into the negatives
1.6.2