This table shows the options available that you can use with the
slider
shortcode
Option | Example | Description | Demo | |
---|---|---|---|---|
category_id | category_id='44' | Lists all posts for this Catgory | ||
category_id='44,50,45' | Lists all posts for these 3 Catgories | |||
category_id='44,-50' | Category ID 50 is a subcategory of Category ID 44. If you have subcategories that you don't want to show use a minus sign to eliminate them from showing. | |||
category_slug='pinterest-type-plugin | shortcodes' | |||
category_slug | category_slug='shortcodes' | Lists all posts for this Catgory | ||
category_slug='pinterest-type-plugin,shortcodes,plugins' | Lists all posts for these 3 Categories | |||
post_id | page_id='3016' | Lists a single post by post id | Demo | |
post_id='3020,3444,1702' | Lists multiple posts by post id | |||
show_excerpt | show_excerpt='true' | Shows post excerpt. | ||
page_id | page_id='3016' | Lists a single page by page id | ||
page_id='3020,3444,1702' | Lists multiple pages by page id | |||
container | container='div' | Wraps the list of posts in a div. This allows the use of custom xPanda css styles. (You can add your own styling using the custom_css option. | ||
container='ul' | Displays the posts as an unordered list. Your Theme styling applies. | |||
container='ol' | Displays the posts as an ordered (numbered) list. Your Theme styling applies. |
Leave a Comment
You must be logged in to post a comment.