该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Like This

描述

A simple ‘I like this’ plugin inspired by the facebook ‘like’ functionality. For visitors who don’t want to bother with commenting.

安装

  1. Upload the files into a folder named roses-like-this to the /wp-content/plugins/ directory
  2. 通过WordPress的“插件”菜单激活插件
  3. Place <?php printLikes(get_the_ID()); ?> in ‘the loop’ of your posts wherever you want the ‘like this’ link to appear.

常见问题

Installation Instructions
  1. Upload the files into a folder named roses-like-this to the /wp-content/plugins/ directory
  2. 通过WordPress的“插件”菜单激活插件
  3. 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)

评价

阅读所有7条评价

贡献者及开发者

「Like This」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「Like This」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

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

  • Code Cleanup

1.6.1

  • Bug fix: Don’t allow likes go into the negatives

1.6.2

  • Bug fix: Cookie bug fix