Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Elvin

    (@ejcabquina)

    Hi there,

    Yes you can specify the category of a wpsp shortcode.

    Example: Setting category term of Movies with slug movies

    [wp_show_posts id="1234" settings="taxonomy=category&tax_term=movies"]

    Thread Starter amafo

    (@amafo78)

    Thank you. It would also be great to be able to duplicate already created shortcodes.

    Plugin Support Elvin

    (@ejcabquina)

    Thank you. It would also be great to be able to duplicate already created shortcodes.

    Not exactly sure what you mean.

    But if you wish to use the same WPSP list but modify the category used, you can do that.

    Example: WPSP id of 1234 displaying category term “dogs” and “cats”

    [wp_show_posts id="1234" settings="taxonomy=category&tax_term=dogs"]

    [wp_show_posts id="1234" settings="taxonomy=category&tax_term=cats"]

    These 2 shortcodes are both valid and can be used on the same page simultaneously.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Shortcode category’ is closed to new replies.