Changeset 1160249
- Timestamp:
- 05/14/2015 08:15:15 AM (11 years ago)
- File:
-
- 1 edited
-
sherk-custom-post-type-displays/trunk/readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sherk-custom-post-type-displays/trunk/readme.txt
r1160248 r1160249 43 43 <h3>Display Sherk Custom Post Type Displays using Shortcode</h3> 44 44 45 Shortcode for Sherk Custom Post Type Displays is in the format of 46 **[sherkcptdisplays post_type="post" total_items=10 display_type="title_only" orderby="random"]** 45 Shortcode for Sherk Custom Post Type Displays is in the format of 46 **[sherkcptdisplays post_type="post" total_items=10 display_type="title_only" orderby="random"]** 47 47 Copy the shortcode, paste it to the content text editor and update the values of your shortcode parameters depends on what you need. 48 48 … … 51 51 52 52 **title** 53 Header title of your list of custom post type53 *Header title of your list of custom post type* 54 54 **default:** '' 55 55 **option:** string 56 56 57 57 **post_type** 58 Post type of the items to displayed in list (depends on your website, list below are automatically updated) 58 Post type of the items to displayed in list (depends on your website, list below are automatically updated)* 59 59 **default:** post 60 60 **option:** screcipe … … 65 65 66 66 **display_type** 67 Option on what elements to be shown on your list68 ** **default:** **title_only67 *Option on what elements to be shown on your list* 68 **default:** title_only 69 69 **option:** title_only (Titles are only shown on the list with their links) 70 70 **option:** featured_image (Titles and Featured Image are only shown on the list with their links) … … 73 73 74 74 **total_items** 75 Total number of items shown on the list75 *Total number of items shown on the list* 76 76 **default:** 5 77 77 **option:** integer 78 78 79 79 **orderby** 80 The way the list is ordered80 *The way the list is ordered* 81 81 **default:** random 82 82 **option:** random (List are ordered in random) 83 ** **option:**** latest (List are ordered from latest item)83 **option:** latest (List are ordered from latest item) 84 84 85 85
Note: See TracChangeset
for help on using the changeset viewer.