• Resolved draivika

    (@draivika)


    Want to limit the results shown in the widget only show posts from the same taxonomy of the currently viewed page, yet show posts from yet another taxonomy.

    example, the current page is of the taxonomy of meal (breakfast) and also food (eggs)

    I want to show related posts that are also breakfast but other types. if there are posts from lunch and dinner, they would not show.

    make sense?

    http://wordpress.org/extend/plugins/flexible-posts-widget/

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

    (@dpe415)

    Hi draivika,

    The best solution for this would be to customize the plugin and create your own query to handle this. The plugin doesn’t naturally work that way.

    You’d be editing ‘flexible-posts-widget.php` and setting up an advanced query that can get posts from the current tax/term and another tax/term while also excluding other tax/terms. See this article for a discussion on advanced taxonomy queries: http://ottopress.com/2010/wordpress-3-1-advanced-taxonomy-queries/.

Viewing 1 replies (of 1 total)
  • The topic ‘Can I show only posts that share the currently viewed page taxonomy?’ is closed to new replies.