Support » Theme: Spun » Home page to show just one category

  • Resolved ninacax

    (@ninacax)


    Hi,
    Thanks for the theme! Very good job!
    I was wondering if you could tell me how I can show just posts from one category on the home page?
    I tried to use : <?php query_posts($query_string . ‘&cat=-5’); ?> on the page.php file on my child theme.
    I just have 2 categories so excluding the category 5 would work for me.
    But didn’t work.
    Any idea? Thanks!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Home page to show just one category’ is closed to new replies.