• 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

brace1

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 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • November 23, 2013 at 12:46 pm in reply to: is_home or is_front_page on Landscape Theme #75259
    brace1
    Member

    No, that doesn't do it. I seemingly can't put anything against whether the home page is_home.

    Landscape is different from many genesis themes because of it's use of home.php. They have a #homepage id being called and the code looks like this:

    <?php get_header(); ?>
    <?php genesis_home(); ?>
    
    <div id="homepage">
    	<?php if( function_exists('wp_cycle') ) : ?>
    		<?php wp_cycle(); ?>
    	<?php endif; ?>
    </div>
    
    <?php get_footer(); ?>

    Is there a loop being called at all on the Landscape home page? That would explain it, though I don't know how to fix.

    ~Joe

    November 23, 2013 at 11:26 am in reply to: is_home or is_front_page on Landscape Theme #75249
    brace1
    Member

    Wait, my fault. Switch them.

    I want the nav above the header.

    November 23, 2013 at 11:13 am in reply to: is_home or is_front_page on Landscape Theme #75244
    brace1
    Member

    I've done this 100x before.

    For the home page, I'd like to have what it says. Move the nav above the header.
    For all other pages, I'd like it to be regular. I'll probably end up hiding it completely.

    It is as if the engine is just ignoring the conditional.

    ~Joe

    November 23, 2013 at 10:49 am in reply to: is_home or is_front_page on Landscape Theme #75239
    brace1
    Member
    if (is_home()) {
    
    add_action( 'genesis_after_header', 'genesis_do_nav' );
    remove_action( 'genesis_before_header', 'genesis_do_nav' );
    
    }

    Appears on all pages.

    August 22, 2013 at 4:22 pm in reply to: Removing Loop on Home Page #58294
    brace1
    Member

    So this is what I built, but there is an error somewhere:

    <?php 
    
    remove_action( 'genesis_loop', 'genesis_do_loop' ); 
    add_action( 'genesis_loop', 'child_home_loop_helper' ); // Execute custom child loop
    
    function child_home_loop_helper() { ?>
    
    <div class=“top-featured”>
                <?php if (!dynamic_sidebar(‘Top Featured’)) : ?>
                    <div class="widget">
     
                        <div class="wrap">
                            <p><?php _e("This is a widgeted area which is called Featured Top.”, 'genesis'); ?></p>
                        </div><!-- end .wrap -->
                    </div><!-- end .widget -->
                <?php endif; ?>
            </div><!-- end .top-featured -->
    
    <div class=“second-featured”>
                <?php if (!dynamic_sidebar(‘Second Featured’)) : ?>
                    <div class="widget">
     
                        <div class="wrap">
                            <p><?php _e("This is a widgeted area which is called Second Featured.”, 'genesis'); ?></p>
                        </div><!-- end .wrap -->
                    </div><!-- end .widget -->
                <?php endif; ?>
            </div><!-- end .second-featured-->
    
    <div class=“bottom-featured”>
                <?php if (!dynamic_sidebar(‘Bottom Featured’)) : ?>
                    <div class="widget">
     
                        <div class="wrap">
                            <p><?php _e("This is a widgeted area which is called Bottom Featured.”, 'genesis'); ?></p>
                        </div><!-- end .wrap -->
                    </div><!-- end .widget -->
                <?php endif; ?>
            </div><!-- end .bottom-featured-->
    <?php }
    
    genesis();
    
    August 22, 2013 at 3:28 pm in reply to: Removing Loop on Home Page #58277
    brace1
    Member

    Yeah, I built it a different way, but I think that is where we are heading.

    Thanks.

    August 22, 2013 at 3:24 pm in reply to: Avoiding Dupe Posts with Featured Widget (Amplified) #58275
    brace1
    Member

    Except I want the Featured widget in the bottom as well. That is more of an ALL, "loop-like" image.

    Thanks.

    August 22, 2013 at 7:52 am in reply to: Avoiding Dupe Posts with Featured Widget (Amplified) #58184
    brace1
    Member

    Yes, but that doesn't help me if I am using different categories. I have three widgets. The first two pull from one "Featured" category, which are top stories. The third one takes everything.

    The problem is that I cannot hide previously shown posts in the third widget. I can in the standard widget, but not the Amplified one.

    Thanks,

    Joe

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

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