• 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

Jeffreydotfong

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
  • June 13, 2017 at 2:23 pm in reply to: Genesis connect for woocommerce causing category page not to display #207710
    Jeffreydotfong
    Member

    Ah, solved my problem!

    Seems I had added an additional line to include the footer to my taxonomy.php file in genesis connect (why I cannot remember - will endeavour to remove this)

    Amnesia strikes again!

    June 13, 2017 at 2:17 pm in reply to: Genesis connect for woocommerce causing category page not to display #207709
    Jeffreydotfong
    Member

    Interesting! It seems to be a line I am using to load my custom footer. Getting this error:

    Fatal error: Cannot redeclare load_front_page_footer() (previously declared in /home4/fastpac3/public_html/billow/wp-content/themes/Genesis_Child/functions.php:259) in /home4/fastpac3/public_html/billow/wp-content/plugins/genesis-connect-woocommerce/templates/taxonomy.php on line 37

    Using these calls:

    
    // Remove Footer http://www.billerickson.net/code/remove-genesis-footer/
    remove_action('genesis_footer', 'genesis_do_footer');
    remove_action('genesis_footer', 'genesis_footer_markup_open', 5);
    remove_action('genesis_footer', 'genesis_footer_markup_close', 15);
    
    //Call my custom footer
    add_action('genesis_footer', 'load_front_page_footer');
        function load_front_page_footer() {
            get_footer('All'); /*Same footer as front page*/
    }
    

    Any insight would be greatly appreciated!

    February 9, 2017 at 5:32 pm in reply to: Woocommerce and Genesis Connect: Are there templates for the ‘Cart’, ‘Checkout’ #200876
    Jeffreydotfong
    Member

    Great, thanks Victor.

    I'm running a bit of a weird system where I have a different header file and a different page template for each page so I will try this method.

    Thanks,

    Jeff

    May 18, 2016 at 3:05 pm in reply to: Custom header for Date/home pages not loading once migrated #185867
    Jeffreydotfong
    Member

    Hi Victor,

    The file names were exact. I neglected to mention that I had a custom index header. I have solved the issue with this code in my index.php:

    // Header for home and index pages singled out...
    add_action('genesis_header', 'load_project_page_header');
        function load_project_page_header() {
            if (is_home() || is_date()) {
                get_header('Blog_home'); 
            }
            else {
                get_header('index'); 
            }
    }

    Thanks for your help! Seems to be an issue with my installation of wordpress though.

    Jeff

    May 18, 2016 at 6:04 am in reply to: Custom header for Date/home pages not loading once migrated #185826
    Jeffreydotfong
    Member

    Hi Victor,

    Yes, I have that exact code.

    The strangest bit is that it works on my locally hosted site, but not on the live server!

    Jeff

    February 15, 2016 at 6:12 am in reply to: Custom page templates and Headers #179065
    Jeffreydotfong
    Member

    Haha, great. I won't be adding anymore actions without a new function then!

    February 15, 2016 at 3:40 am in reply to: Custom page templates and Headers #179060
    Jeffreydotfong
    Member

    Ah actually, calling it in a custom function worked.

    add_action('genesis_header', 'loadlandingheader');
        function loadlandingheader() {
            get_template_part('Header','Landing');
    }
          

    How come I had to call it in a custom function to get it to sit inside the genesis() site-container?

    February 15, 2016 at 3:31 am in reply to: Custom page templates and Headers #179059
    Jeffreydotfong
    Member

    Thanks Brad,

    I tried to use get_template_part ('Header','Landing') but just got the same result: the header ends up outside the site-container created by the genesis() function. It seems my actions aren't actually hooking into the right place:

    add_action('genesis_header', get_template_part('Header','Landing'));

    By creating a custom function, do you mean re-creating the genesis() function? Or just using echo to pull in a particular header image - I was hoping I could use the same header for different page templates or the different headers for the same template...

  • 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

© 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