Changeset 1160247
- Timestamp:
- 05/14/2015 08:05:42 AM (11 years ago)
- Location:
- sherk-custom-post-type-displays/trunk
- Files:
-
- 2 edited
-
README.md (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sherk-custom-post-type-displays/trunk/README.md
r1160237 r1160247 38 38 4. Click Save button 39 39 40 <b>After installed check at Dashboard -> Tools -> Sherk CPT Displays (/wp-admin/tools.php?page=sherkcptdisplays_info)41 for more detailed instructions. </b>40 **After installed check at Dashboard -> Tools -> Sherk CPT Displays (/wp-admin/tools.php?page=sherkcptdisplays_info) 41 for more detailed instructions.** 42 42 43 43 <h3>Display Sherk Custom Post Type Displays using Shortcode</h3> 44 44 45 45 Shortcode for Sherk Custom Post Type Displays is in the format of 46 <b>[sherkcptdisplays post_type="post" total_items=10 display_type="title_only" orderby="random"]</b> 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 … … 50 50 <h3>Parameters Available</h3> 51 51 52 <b>title</b><br/> 53 Header title of your list of custom post type <br/>54 default: '' <br/>55 options: string <br/><br/>52 **title** 53 Header title of your list of custom post type 54 default: '' 55 options: string 56 56 57 <b>post_type</b><br/> 58 Post type of the items to displayed in list (depends on your website, list below are automatically updated) <br/>59 default: post <br/>60 option: screcipe <br/>61 option: sherk_banners <br/>62 option: sherk_skills <br/>63 option: book <br/>64 option: post <br/><br/>57 **post_type** 58 Post type of the items to displayed in list (depends on your website, list below are automatically updated) 59 default: post 60 option: screcipe 61 option: sherk_banners 62 option: sherk_skills 63 option: book 64 option: post 65 65 66 <b>display_type</b><br/> 67 Option on what elements to be shown on your list <br/>68 default: title_only <br/>69 options: title_only (Titles are only shown on the list with their links) <br/>70 options: featured_image (Titles and Featured Image are only shown on the list with their links) <br/>71 options: title_and_teaser (Titles and teasers are only shown on the list with their links) <br/>72 options: all (All are shown from Titles, teasers and featured images on the list with their links) <br/><br/>66 **display_type** 67 Option on what elements to be shown on your list 68 default: title_only 69 options: title_only (Titles are only shown on the list with their links) 70 options: featured_image (Titles and Featured Image are only shown on the list with their links) 71 options: title_and_teaser (Titles and teasers are only shown on the list with their links) 72 options: all (All are shown from Titles, teasers and featured images on the list with their links) 73 73 74 <b>total_items</b><br/> 75 Total number of items shown on the list <br/>76 default: 5 <br/>77 options: integer <br/><br/>74 **total_items** 75 Total number of items shown on the list 76 default: 5 77 options: integer 78 78 79 <b>orderby</b><br/> 80 The way the list is ordered <br/>81 default: random <br/>82 option: random (List are ordered in random) <br/>83 option: latest (List are ordered from latest item) <br/><br/>79 **orderby** 80 The way the list is ordered 81 default: random 82 option: random (List are ordered in random) 83 option: latest (List are ordered from latest item) 84 84 85 85 -
sherk-custom-post-type-displays/trunk/readme.txt
r1160237 r1160247 38 38 4. Click Save button 39 39 40 <b>After installed check at Dashboard -> Tools -> Sherk CPT Displays (/wp-admin/tools.php?page=sherkcptdisplays_info)41 for more detailed instructions. </b>40 **After installed check at Dashboard -> Tools -> Sherk CPT Displays (/wp-admin/tools.php?page=sherkcptdisplays_info) 41 for more detailed instructions.** 42 42 43 43 <h3>Display Sherk Custom Post Type Displays using Shortcode</h3> 44 44 45 45 Shortcode for Sherk Custom Post Type Displays is in the format of 46 <b>[sherkcptdisplays post_type="post" total_items=10 display_type="title_only" orderby="random"]</b> 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 … … 50 50 <h3>Parameters Available</h3> 51 51 52 <b>title</b><br/> 53 Header title of your list of custom post type <br/>54 default: '' <br/>55 options: string <br/><br/>52 **title** 53 Header title of your list of custom post type 54 default: '' 55 options: string 56 56 57 <b>post_type</b><br/> 58 Post type of the items to displayed in list (depends on your website, list below are automatically updated) <br/>59 default: post <br/>60 option: screcipe <br/>61 option: sherk_banners <br/>62 option: sherk_skills <br/>63 option: book <br/>64 option: post <br/><br/>57 **post_type** 58 Post type of the items to displayed in list (depends on your website, list below are automatically updated) 59 default: post 60 option: screcipe 61 option: sherk_banners 62 option: sherk_skills 63 option: book 64 option: post 65 65 66 <b>display_type</b><br/> 67 Option on what elements to be shown on your list <br/>68 default: title_only <br/>69 options: title_only (Titles are only shown on the list with their links) <br/>70 options: featured_image (Titles and Featured Image are only shown on the list with their links) <br/>71 options: title_and_teaser (Titles and teasers are only shown on the list with their links) <br/>72 options: all (All are shown from Titles, teasers and featured images on the list with their links) <br/><br/>66 **display_type** 67 Option on what elements to be shown on your list 68 default: title_only 69 options: title_only (Titles are only shown on the list with their links) 70 options: featured_image (Titles and Featured Image are only shown on the list with their links) 71 options: title_and_teaser (Titles and teasers are only shown on the list with their links) 72 options: all (All are shown from Titles, teasers and featured images on the list with their links) 73 73 74 <b>total_items</b><br/> 75 Total number of items shown on the list <br/>76 default: 5 <br/>77 options: integer <br/><br/>74 **total_items** 75 Total number of items shown on the list 76 default: 5 77 options: integer 78 78 79 <b>orderby</b><br/> 80 The way the list is ordered <br/>81 default: random <br/>82 option: random (List are ordered in random) <br/>83 option: latest (List are ordered from latest item) <br/><br/>79 **orderby** 80 The way the list is ordered 81 default: random 82 option: random (List are ordered in random) 83 option: latest (List are ordered from latest item) 84 84 85 85
Note: See TracChangeset
for help on using the changeset viewer.