Home Page only display post from a category or sticky

Community Forums Forums Design Tips and Tricks Home Page only display post from a category or sticky

This topic is: not resolved

This topic contains 4 replies, has 3 voices, and was last updated by  treestone 1 year, 11 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #2813

    treestone
    Participant

    Hi,

    I’m using the Genesis framework with the ‘Education” child theme.

    How can I set the home page to only display blogs from a certain category, or alternatively only display blogs that are “sticky”?

    Thanks.

    #2856

    nickthegeek
    Keymaster
    Post count: 751

    This is best done by following this tutorial

    http://billerickson.net/customize-the-wordpress-query/

    There are some plugins that may help but depending on how they change the query it could result in a 404 error at some point.

    #2862

    treestone
    Participant

    Thanks Nick.

    Where are the files that need to be edited?

    Do i edit the genesis framework?

    #2867

    Susan
    Moderator
    Post count: 9406

    You never want to edit the genesis framework; any edits there will be overwritten with a genesis upgrade.

     

    Any editing should be done in your child theme’s files, and according to the link that Nick provided, it looks like it should be done in your functions.php file.


    Susan @ Graphically Designing I offer theme customizations I tweet!
    I’ve taken up the challenge! – help me answer some of the unanswered posts

    #2869

    treestone
    Participant

    Thanks Susan!

    Got it to work.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.