• 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

Agency Pro Remove Native Header or…need current date

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 › Design Tips and Tricks › Agency Pro Remove Native Header or…need current date

This topic is: not resolved

Tagged: header

  • This topic has 6 replies, 3 voices, and was last updated 10 years, 9 months ago by Sridhar Katakam.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • February 7, 2014 at 10:56 pm #89300
    shatchp
    Participant

    Hi folks,

    Quick question for anyone with a moment and an inclination to help. I'm working on a site using Agency Pro and I want to a left justified header navigation menu with a current date on the right in the widget area. This is no problem with a custom menu specified as the primary navigation (the primary nav extras are only available on a specified menu location), however Agency Pro's header then obviously gets in the way. I've found a great set of instructions by sridhar katakam here for removing the header from the home page, but not the whole site.

    I've tried removing the header, description and widget using code snippets, but it looks wonky.

    So here's the question: which is easier, adding the current date to Agency's native header menu, or removing the Agency header from the site and going with the custom menu. And, how?

    Thanks much,

    Sam P

    February 8, 2014 at 10:44 pm #89447
    Sridhar Katakam
    Participant

    Can you provide the URL of your site?


    Genesis Tutorials | Follow me on Twitter

    February 8, 2014 at 11:12 pm #89450
    shatchp
    Participant

    http://p2.mrpierceonline.com/

    Thanks for responding. Again my choice: 1) remove native header and use custom menu as primary navigation (meaning current header needs to go), or 2) add a date to current header.

    Thanks,

    Sam

    February 10, 2014 at 4:33 am #89615
    Sridhar Katakam
    Participant

    Try http://sridharkatakam.com/add-current-date-right-header-menu-agency-pro/


    Genesis Tutorials | Follow me on Twitter

    February 11, 2014 at 11:35 am #89841
    shatchp
    Participant

    Really outstanding...thank you for your support here and for the community. Works like a charm!

    February 27, 2015 at 4:31 pm #142596
    sethbahookey
    Member

    Really? I can't even get access on how to remove the header from the agency pro theme?

    Can someone please post how to remove the header from agency pro?

    Thanks.

    February 27, 2015 at 6:50 pm #142614
    Sridhar Katakam
    Participant

    @sethbahookey

    In Agency Pro's functions.php, change

    //* Reposition the header
    remove_action( 'genesis_header', 'genesis_header_markup_open', 5 );
    remove_action( 'genesis_header', 'genesis_do_header' );
    remove_action( 'genesis_header', 'genesis_header_markup_close', 15 );
    add_action( 'genesis_before', 'genesis_header_markup_open', 5 );
    add_action( 'genesis_before', 'genesis_do_header', 10 );
    add_action( 'genesis_before', 'genesis_header_markup_close', 15 );

    to

    //* Reposition the header
    remove_action( 'genesis_header', 'genesis_header_markup_open', 5 );
    remove_action( 'genesis_header', 'genesis_do_header' );
    remove_action( 'genesis_header', 'genesis_header_markup_close', 15 );
    // add_action( 'genesis_before', 'genesis_header_markup_open', 5 );
    // add_action( 'genesis_before', 'genesis_do_header', 10 );
    // add_action( 'genesis_before', 'genesis_header_markup_close', 15 );

    Genesis Tutorials | Follow me on Twitter

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘Design Tips and Tricks’ 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

© 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