Like This
开发者 |
RosemarieP
|
更新时间 |
2013年9月10日 12:06 |
PHP版本: |
3.0 及以上 |
WordPress版本: |
3.6 |
详情介绍:
A simple 'I like this' plugin inspired by the facebook 'like' functionality. For visitors who don't want to bother with commenting.
安装:
- 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
)
更新日志:
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