• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Home Page only display post from a category or sticky

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

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

This topic is: not resolved

Tagged: education, genesis, home page, sticky

  • This topic has 4 replies, 3 voices, and was last updated 12 years, 5 months ago by treestone.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • December 1, 2012 at 6:56 pm #2813
    treestone
    Member

    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.

    December 2, 2012 at 10:08 am #2856
    nickthegeek
    Member

    This is best done by following this tutorial

    Customizing the WordPress Query with pre_get_posts

    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.

    December 2, 2012 at 10:22 am #2862
    treestone
    Member

    Thanks Nick.

    Where are the files that need to be edited?

    Do i edit the genesis framework?

    December 2, 2012 at 10:48 am #2867
    Susan
    Moderator

    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.

    December 2, 2012 at 10:58 am #2869
    treestone
    Member

    ThanksĀ Susan!

    Got it to work.

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble