• 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

Axman1413

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 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • December 15, 2012 at 10:07 am in reply to: Where can I find the Header Right function? #5414
    Axman1413
    Member

    Wonderful...wonderful!!! The only change I had to make was to put (is_front_page) in place of (is_home).

    Thank you both for all your help.

    Johnny

    December 14, 2012 at 6:31 pm in reply to: Where can I find the Header Right function? #5303
    Axman1413
    Member

    Well I'm not sure, but this is what I'm thinking. I just don't know how to introduce it into the child function.php:

    if ( is_active_sidebar( 'header-right' ) || has_action( 'genesis_header_right' ) ) {
    if (is_front_page() {
    echo '';
    }
    if (is_page() {
    echo '^div class="widget-area"^';
    do_action( 'genesis_header_right' );
    dynamic_sidebar( 'header-right' );
    echo '^/div^^!-- end .widget-area --^';
    }
    }

    In the child theme, it just calls the entire genesis_custom_header, so there is more needed to get this to interact with the child theme.

    I'm using"^" in place of "&gt/&lt"

    Johnny

    December 14, 2012 at 5:24 pm in reply to: Where can I find the Header Right function? #5295
    Axman1413
    Member

    LOL, Thanks Anita (funny...that's my client's name) I just found that code in the Genesis files. Now let's see if I can rewrite it correctly.

    Johnny

    December 14, 2012 at 5:12 pm in reply to: Where can I find the Header Right function? #5290
    Axman1413
    Member

    Well the problem I'm having is that I just want it removed from the front_page, not the home_page. If it were the home_page, I could just jump in that file and alter it. But the static home page doesn't have this availability in Genesis.

    I've been looking at Nick's stuff, but I'm spending way too much time on this. I could have gotten all these results using my Pro Version of WeaverII, where I don't have to code. It's frustrating, when a client insists on a theme, but then wants to make crazy changes.

    I just need to find the add_action function for the header-right in the Genesis files, so I can copy it an rewrite it in the child f.p to not show on the is_front_page

    So I'm not sure if a filter would work or what the best option is. There is a ton of material on adding things, but not a lot on removing them.

    Johnny

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

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

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