Home page display content by category ID

Discussion in 'Shiroi Hana' started by Will Nuttall, Jul 19, 2017.

  1. Will Nuttall

    Will Nuttall New Member

    Joined:
    Dec 7, 2015
    Messages:
    7
    Likes Received:
    0
    Hi there,

    We've been running Shinoi for a couple of years and are now in the process of refining / updating for new purposes.

    I just want to know the best way of showing posts on the homepage but only from a specific category, rather than all post categories.

    Many thanks and our continued use shows it's still a great theme.

    Cheers,
    Will
     
  2. maimairel

    maimairel Administrator
    Staff Member

    Joined:
    Apr 16, 2014
    Messages:
    1,642
    Likes Received:
    64
    Hi Will,

    If you do that, where do you want the posts in all categories to be displayed?

    Actually it's a core WordPress feature to display all posts on the frontpage.

    You can show specific categories by going to the category's archive page.

    Thanks!
     
  3. Will Nuttall

    Will Nuttall New Member

    Joined:
    Dec 7, 2015
    Messages:
    7
    Likes Received:
    0
    Thanks for your reply! I used a child theme and set the functions.php to display only the items from the specific category ID number. Works a treat. All other posts display in a separate blog page. For reference: http://www.meganwilliams.com.au/
     

Share This Page