Using dynamic tags in shortcodes

List of available tags:

NameAccepted values
slide_type "posts", "gallery", "flickr" or "static"

Posts Content slide

dynamic_posts_types "post", "page" or any custom post type
dynamic_posts_taxonomies must be composed of the taxonomy name and the term, separated by a vertical bar: "category|uncategorized"
dynamic_posts_relation "or" or "and"
dynamic_posts_operator "IN" or "NOT IN"
dynamic_posts_featured "1" or "0"
dynamic_posts_maximum any number
dynamic_posts_offset any number
dynamic_posts_orderby "date", "comments", "title" or "random"
dynamic_posts_order "asc" or "desc"

Gallery Images slide

dynamic_gallery_post a number that indicates the ID of the post
dynamic_gallery_maximum any number
dynamic_gallery_offset any number
dynamic_gallery_type "attached-images" or "gallery-images"

Flickr slide

dynamic_flickr_api_key the API key provided by Flickr
dynamic_flickr_data_type "set" or "username"
dynamic_flickr_data_id the ID of the data
dynamic_flickr_maximum any number

Example:

[slider_pro]
    [slide slide_type="posts" dynamic_posts_types="post;page" dynamic_posts_taxonomies="tag|design;tag|development;tag|planning" dynamic_posts_orderby="comments"]
        [slide_element type="image"][sp_image][/slide_element]
        [slide_element type="slide_link_path"][sp_link][/slide_element]
        [slide_element type="caption"][sp_content][/slide_element]
    [/slide]
    [slide slide_type="gallery" dynamic_gallery_post="12" dynamic_gallery_maximum="5"]
        [slide_element type="image"][sp_image][/slide_element]
    [/slide]
    [slide slide_type="flickr" dynamic_flickr_api_key="AS23DA423L3698435DDFTU43" dynamic_flickr_data_type="sets" dynamic_flickr_data_id="2343254235"]
        [slide_element type="image"][sp_image][/slide_element]
        [slide_element type="slide_link_path"][sp_image_set][/slide_element]
    [/slide]
[/slider_pro]
Have more questions? Submit a request

0 Comments

Article is closed for comments.
Powered by Zendesk