The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Displaying only one category posts at WP homepage

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #171577

    Hello, I’m working on a website and I need to display posts from only one category at the homepage.
    I’ve tried some stuff available on the internet. But I know here I’ll get the latest way of doing it :)
    Kindly help me with this.


    You need to be a little more specific about what you are trying to do and what you have tried so far.


    I want my wordpress homepage to show posts from only one category say “videos”. Posts from other categories should not be visible on homepage.
    What I have tried is by creating a template page and using query_posts loop. But I read in Digging in WordPress book that query_posts is not recommended.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Back End’ is closed to new topics and replies.