plugin-icon

Recommend

제작자: mattlitzinger·
Recommend allows you to add a like user action to your content. Unlike social sharing or commenting, the like action is simple and intuitive.
버전
0.6.2
활성화된 설치 항목
10
최근 업데이트일
Mar 20, 2023

Features

  • Give users a “like” action on posts
  • Display the like count on a post
  • Custom label text for like count
  • Disable label text for count site-wide
  • Choose between a “Thumbs Up” or a “Heart” icon
  • Limit like action to specific post types
  • Disable plugin CSS or add custom styling rules

By default, the like count will be displayed below the content for individual posts across all post types. You can disable this in the plugin settings or define which post types to include.

If you’d rather display the like count in your template files, use the below code:

<?php if( function_exists('wp_recommend_show_likes') ) wp_recommend_show_likes(); ?>

Shortcodes

The following shortcode will display the like count on any post.

[recommend-likes]

The following shortcode will display a list of most liked posts. There are two optional parameters to fine tune the displayed results: post_type and posts_per_page. The default values for these parameters are shown in the example below.

[recommend-liked-posts post_type="post" posts_per_page="5"]
무료Business 요금제에서
설치하면 WordPress.com 서비스 약관서드파티 플러그인 약관에 동의하게 됩니다.
테스트된 버전
WordPress 6.2.8
이 플러그인은 다운로드할 수 있으며 에서 사용할 수 있습니다.