Changeset 2542103
- Timestamp:
- 06/03/2021 03:20:28 PM (5 years ago)
- File:
-
- 1 edited
-
recommend/trunk/README.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
recommend/trunk/README.txt
r2542102 r2542103 19 19 * Custom label text for like count 20 20 * Disable label text for count site-wide 21 * Choose between a \"Thumbs Up\" or a \"Heart\" icon21 * Choose between a "Thumbs Up" or a "Heart" icon 22 22 * Limit like action to specific post types 23 23 * Disable plugin CSS or add custom styling rules … … 25 25 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. 26 26 27 If you'd rather display the like count in your template files, use the below code: 27 If you'd rather display the like count in your template files, use the below code: 28 28 29 ``` 29 30 <?php … … 37 38 38 39 The following shortcode will display the like count on any post. 40 39 41 ``` 40 42 [recommend-likes] 41 43 ``` 42 44 43 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. 45 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. 46 44 47 ``` 45 48 [recommend-liked-posts post_type="post" posts_per_page="5"]
Note: See TracChangeset
for help on using the changeset viewer.