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

WP Love It

描述

This plugin enables you to add an ajax Love It button to your WordPress post. You can choose it to appear on the top or bottom of the content. It also includes a shortcode to let you manually add the button to the post.

Plugin homepage: http://ptheme.com/item/wp-love-it/

Features

  • AJAX love it without refreshing the page
  • Cookies support to prevent repeatedly click the button
  • Automatically add the button on top of post content
  • Shortcode included to add the button

Support

We will do our best to provide support through the WordPress forums. However, all plugin support is provided in our helpdesk. If you have not registered yet, you can do so here: http://ptheme.com/members/.

Feedback

If you like this plugin, then please leave us a good rating and review.
Consider following us on Twitter, and Facebook

屏幕截图

  • WP Love It

安装

  1. Upload wp-love-it.zip to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

常见问题

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.

评价

此插件暂无评价。

贡献者及开发者

“WP Love It” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“WP Love It”翻译成您的语言。

对开发感兴趣吗?

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

更新日志

1.0

  • First Release