[Resolved] shortcode parameters documentation

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support shortcode parameters documentation

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #29131
    TWarrior
    Participant

    Hello,

    Sorry, but i cant find it…

    where is a list of the WPShowPost Shortcode avalaible parameters?

    For example,
    [wp_show_posts id=”640″ taxonomy=”category”]
    [wp_show_posts id=”640″ posts_id=”555,222″]
    [wp_show_posts id=”640″ order_by=”title”]

    Thanks

    #29167
    elvin
    Moderator

    Hi there,

    Here’s how you add taxonomy and other query terms on the shortcode:

    Example/s:

    Category with slug “humanities”
    [wp_show_posts id="1234" settings="taxonomy=category&tax_term=humanities"]

    Sorted by post views in ascending order.
    [wp_show_posts id="1234" settings="meta_key=post_views_count&orderby=meta_value_num&order=ASC"]

    Specifying post IDs to display:
    [wp_show_posts id="1234" settings="post_id=4403,3904,4002"]

    Category with slug “humanities”, Sorted by post views in ascending order.
    [wp_show_posts id="1234" settings="taxonomy=category&tax_term=humanities&meta_key=post_views_count&orderby=meta_value_num&order=ASC"]

    #29204
    TWarrior
    Participant

    Thank you

    #29232
    elvin
    Moderator

    No problem. 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.