Support » Themes and Templates » [Theme: Valor] Only Show posts (reviews) from a custom taxonomy?

  • Resolved Itechmatrix


    Hey, On my website i have a loop (well i think it’s a loop) under the heading of ‘Top Games’ (on my home page)Which displays post from a custom post type (called Reviews) The ‘Reviews’ post type has a custom taxonomy entitled ‘Consoles’ (basically categories) I have 2 Consoles Gaming and Product (yeah i know not consoles but still) and i would like to display posts (Reviews) from only GAMING. how do i do this?

    <?php query_posts(‘category=category-slug-name’); ?>

    Maybe something like this? but again will it work with the custom taxonomy and where in my code do i place this?

    PS i am using the Valor Theme by web2feel (

Viewing 1 replies (of 1 total)
  • Okay i figured out how! on the index page i simply added
    ‘console’=>’Gaming’ straight after the ‘post_type’=>’Reviews’ section in the WP_Query part just before the loop!
    Works fine!

Viewing 1 replies (of 1 total)
  • The topic ‘[Theme: Valor] Only Show posts (reviews) from a custom taxonomy?’ is closed to new replies.