开发者 | flipeleven |
---|---|
更新时间 | 2017年10月20日 03:21 |
PHP版本: | 4.8.2 及以上 |
WordPress版本: | 4.8.2 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
<?php post_likerator(); ?>
By default it will use the current post ID and echo the like button's markup. You can change this by passing (integer) Post ID and (boolean) echo arguments to the function:
<?php $like_button = post_likerator(2501, false); ?>
The above will attribute likes to post ID 2501
and will assign the string of markup to the $like_button
variable instead of echoing it.
Once you've got it looking awesome, click to like the post. Clicking again will unlike it. You can go back and forth as much as you want, but it will probably get boring after a little while.
wp_post_likerator_likes
. You'll need to delete this table manually if you want to completely uninstall the plugin.The markup is there, you need to create your own CSS to make it look however you want.
There aren't any, it's really simple and just does its thing.
You really want people disliking your own posts? Brave. Well, this isn't the plugin for you then.
It's simple and developer friendly. All the other ones had too many features or had CSS that was a pain to override, so we made our own that only did what we needed. Now we're sharing it so you can enjoy it too.