• 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

Create a second Page Like a "Blog"

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 › General Discussion › Create a second Page Like a "Blog"

This topic is: resolved
  • This topic has 23 replies, 4 voices, and was last updated 11 years, 5 months ago by black9design.
Viewing 4 posts - 21 through 24 (of 24 total)
← 1 2
  • Author
    Posts
  • August 31, 2014 at 7:53 am #122062
    pfitznerk
    Member

    Sorry all the suggestions you made did not work.

    I had to add the functions.php to exclude a category from my blog.

    Thanks for trying....

    August 31, 2014 at 12:28 pm #122082
    black9design
    Member

    if you are getting the white screen it means you deleted extra code or did not delete all of your custom code. You can change out the functions.php file with the default code and the screen should come back just fine.

    I am not sure why this isn't working for you but I can create add the custom code I provided just fine and I have a recent posts widget with exclude options.

    as for your exclude category from the homepage, you need to modify the numbers for your category id

    <?php
    function excludeCat($query) {
    if ( $query->is_home ) {
    $query->set('cat', '-3,-5,-23');
    }
    return $query;
    }
    add_filter('pre_get_posts', 'excludeCat');
    ?>

    change the -3, -5, -23 to the categories you want to change.


    I specialize in child theme customizations and The Dynamik Website Builder
    Visit me here: Black9Design.com | ParkerWadeSmith.com | AllThingsGenesis.com

    August 31, 2014 at 1:13 pm #122092
    black9design
    Member

    To exclude categories from your recent posts follow this tutorial

    http://allthingsgenesis.com/add-exclude-options-recent-posts-widget/


    I specialize in child theme customizations and The Dynamik Website Builder
    Visit me here: Black9Design.com | ParkerWadeSmith.com | AllThingsGenesis.com

    August 31, 2014 at 1:27 pm #122093
    black9design
    Member

    to exclude categories from your homepage loop follow this tutorial

    http://allthingsgenesis.com/exclude-categories-displaying-homepage-loop/


    I specialize in child theme customizations and The Dynamik Website Builder
    Visit me here: Black9Design.com | ParkerWadeSmith.com | AllThingsGenesis.com

  • Author
    Posts
Viewing 4 posts - 21 through 24 (of 24 total)
← 1 2
  • The forum ‘General Discussion’ 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

© 2026 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