• Resolved marga451

    (@marga451)


    Hi,
    in shortcode, you can put the choice of only one category? or more categories?
    for example I would like the generated content, it made for a category:

    [related_posts_by_tax title=”Video correlati” format=”thumbnails” image_size=”medium” taxonomies=”authors” ]

    this line works, but returns the posts of all categories.

    Thank you
    Marga

    https://www.ads-software.com/plugins/related-posts-by-taxonomy/

Viewing 1 replies (of 1 total)
  • Plugin Author keesiemeijer

    (@keesiemeijer)

    Hi marga451

    Sorry for the late reply. The plugin searches for related posts by default in all taxonomies. If you supply taxonomies in the shortcode the plugin will search posts in only those taxonomies. It also depends if the current post (the post to display related posts for) has any of the taxonomies you supply.

    If you want it to search in multiple taxonomies you can separate them with comma’s.

    [related_posts_by_tax title="Video correlati" format="thumbnails" image_size="medium" taxonomies="authors,publisher" ]

Viewing 1 replies (of 1 total)
  • The topic ‘category in a shortcode’ is closed to new replies.