Plugin Directory

Changeset 2542107


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

Updated README.txt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • recommend/trunk/README.txt

    r2542106 r2542107  
    2727If you'd rather display the like count in your template files, use the below code: 
    2828
    29 ``<?php if( function_exists('wp_recommend_show_likes') ) wp_recommend_show_likes(); ?>``
     29``<?php if( function_exists('wp_recommend_show_likes') ) wp_recommend_show_likes(); ?>
    3030
    3131== Shortcodes ==
     
    3333The following shortcode will display the like count on any post. 
    3434
    35 ``[recommend-likes]`` 
     35``[recommend-likes] 
    3636
    3737The 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. 
    3838
    39 ``[recommend-liked-posts post_type="post" posts_per_page="5"]``
     39``[recommend-liked-posts post_type="post" posts_per_page="5"]
    4040
Note: See TracChangeset for help on using the changeset viewer.