[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

Tagged: 

Viewing 6 posts - 1 through 6 (of 6 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. 🙂

    #34511
    Ushan
    Participant

    Can I ask a question here? I am constructing this shortcode to show the owners posts in a category eg gardens. But am returning no posts. Does this syntax look right?

    [wp_show_posts id=”1234″ settings=”author=1&taxonomy=category&tax_term=gardens”]

    Could I include 2 categories with:

    [wp_show_posts id=”1234″ settings=”author=1&taxonomy=category&tax_term=gardens,homes”]

    #34555
    elvin
    Moderator
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.