• 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

jholcombkw

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
  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • October 28, 2014 at 7:07 am in reply to: Display sub-menu horizontally #129558
    jholcombkw
    Member

    Site is off maintenance mode Thanks

    July 24, 2014 at 12:21 pm in reply to: Adding CPT to Genesis Post #115728
    jholcombkw
    Member

    Is there away to filter out only Category you want? Category id = 1 than pull to homepage?

    July 24, 2014 at 12:03 pm in reply to: Adding CPT to Genesis Post #115723
    jholcombkw
    Member

    The CPT is events and it pull it. Where should I add the code?

    July 23, 2014 at 9:31 pm in reply to: Adding CPT to Genesis Post #115646
    jholcombkw
    Member

    I add it to the bottom of my home.php and then tried it at the bottom of my functions.php. Yes I changed

    add_action( 'pre_get_posts', 'wpsites_add_custom_post_types_to_loop' );
    function wpsites_add_custom_post_types_to_loop( $query ) {
    if ( is_home() && $query->is_main_query() && !is_admin() ) {
    $query->set( 'post_type', array( 'post', 'your-cpt' ) );
    return $query;
     
        }
    }

    To

    add_action( 'pre_get_posts', 'wpsites_add_custom_post_types_to_loop' );
    function wpsites_add_custom_post_types_to_loop( $query ) {
    if ( is_home() && $query->is_main_query() && !is_admin() ) {
    $query->set( 'post_type', array( 'post', 'events' ) );
    return $query;
     
        }
    }
    July 23, 2014 at 8:57 pm in reply to: Adding CPT to Genesis Post #115639
    jholcombkw
    Member

    I tried the code, but nothing worked.

    July 6, 2014 at 1:11 pm in reply to: Add Events to homepage #113143
    jholcombkw
    Member

    I am using the Plugin called Events Manager, which generates the CPT.

    Events Manager – Calendar, Bookings, Tickets, and more!

    April 16, 2014 at 7:18 pm in reply to: Outreach Pro Bottom Line Nav #100865
    jholcombkw
    Member

    I was able to get it to work by changing the order.

    .genesis-nav-menu {
    clear: both;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.5;
    width: 100%;
    border-top: 3px solid #1E7EB7;
    border-bottom: 3px solid #1E7EB7;

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)

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