Linux 软件免费装

WP Post Likes

开发者 thanhlt
designwall
更新时间 2017年4月3日 15:11
捐献地址: 去捐款
PHP版本: 3.0 及以上
WordPress版本: 4.7
版权: GPLv3
版权网址: 版权信息

标签

post posts page shortcodes likes

下载

1.0

详情介绍:

Want to add a simple and efficient post likes button? This plugin provides the wp_post_likes() template tag which generates simple and efficient likes button. See the installation instructions for using it in your theme. Development Translations http://dev.wp-plugins.org/browser/wp-post-likes/i18n/

安装:

  1. Open wp-content/plugins Folder
  2. Put: Folder: wp-post-likes
  3. Activate WP Post Likes Plugin
Usage
  1. Open wp-content/themes/<YOUR THEME NAME>/index.php
  2. You may place it in archive.php, single.php, post.php or page.php also.
  3. Find: <?php while (have_posts()) : the_post(); ?>
  4. Add anywhere below it (the place you want the likes button to show): <?php if ( function_exists( 'wp_post_likes' ) ) { wp_post_likes(); } ?>
  5. If you DO NOT want the likes to appear in every post/page, DO NOT use the code above. Just type in [wp-post-likes] into the selected post/page content and it will embed likes into that post/page only.

更新日志:

1.0