Plugin Directory

Changeset 2542103


Ignore:
Timestamp:
06/03/2021 03:20:28 PM (5 years ago)
Author:
mattlitzinger
Message:

Updated README.txt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • recommend/trunk/README.txt

    r2542102 r2542103  
    1919* Custom label text for like count
    2020* Disable label text for count site-wide
    21 * Choose between a \"Thumbs Up\" or a \"Heart\" icon
     21* Choose between a "Thumbs Up" or a "Heart" icon
    2222* Limit like action to specific post types
    2323* Disable plugin CSS or add custom styling rules
     
    2525By 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.
    2626
    27 If you'd rather display the like count in your template files, use the below code:   
     27If you'd rather display the like count in your template files, use the below code: 
     28
    2829```
    2930<?php
     
    3738
    3839The following shortcode will display the like count on any post. 
     40
    3941```
    4042[recommend-likes]
    4143``` 
    4244
    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.     
     45The 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
    4447```
    4548[recommend-liked-posts post_type="post" posts_per_page="5"]
Note: See TracChangeset for help on using the changeset viewer.