• 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

Move Archive Page Title

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 › Move Archive Page Title

This topic is: resolved

Tagged: archive, archive page, hooks, page title heading

  • This topic has 7 replies, 3 voices, and was last updated 9 years, 8 months ago by Erik D. Slater.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • September 10, 2015 at 8:49 am #165113
    studionoobly
    Member

    Does anyone know how to unhook and move the archive page title?

    At the top of the archive page (date.php) I have a page heading like "Archives for September 2015". That appears in "genesis_before_loop" I'd like it to go into "genesis_before_content".

    Thanks,

    http://local
    September 10, 2015 at 10:44 am #165122
    Christoph
    Member

    Hi,

    sounds like you have a page template (dash.php).
    If so you can add the following to it:

    remove_action( 'genesis_entry_header', 'genesis_do_post_title' );
    add_action( 'genesis_before_content', 'genesis_do_post_title' );

    https://www.christophherr.com | Genesis Customizations | Buy me a coffee

    September 11, 2015 at 2:01 am #165193
    studionoobly
    Member

    Thanks Christoph,

    I tried that but it doesn't budge, it might because I added something odd in the functions ages ago and I just haven't found it yet?

    Eventually I found this by Bill Erickson

    And used CSS to hide the offending title... bit hacky but can't find another way.

    September 11, 2015 at 2:36 am #165194
    Erik D. Slater
    Member

    Try the following:

    remove_action('genesis_before_loop', 'genesis_do_date_archive_title');
    add_action('genesis_before_content', 'genesis_do_date_archive_title');

    Function genesis_do_date_archive_title() is new with version 2.2.0 ...


    Erik D. Slater: Digital Platform Consultant • LinkedIn
    September 11, 2015 at 2:55 am #165195
    studionoobly
    Member

    Ah, cool that did the trick!

    Glad someone isn't a lazy bum (like me) and read through the new version documents.

    Thanks!

    September 11, 2015 at 3:11 am #165196
    Erik D. Slater
    Member

    Glad someone isn’t a lazy bum (like me) and read through the new version documents.

    I'd love to seem that conscientious 🙂

    But actually, I have my own archive title ... and when I checked it earlier, I noticed I had two of them on those pages. I'm using the following:

    // Add intro text for date archives
    remove_action('genesis_before_loop', 'genesis_do_date_archive_title');
    add_action('genesis_before_loop', 'eds_genesis_before_loop_date_archives', 10, 0);

    so you can see the similarity 🙂


    Erik D. Slater: Digital Platform Consultant • LinkedIn
    September 11, 2015 at 3:16 am #165197
    studionoobly
    Member

    You could have left me with my delusions of grandeur and now your Genesis rep in tatters 😉

    In any case I'm glad we had the same problem and one of us figured it out, the two titles thing was really starting to grate my nerves.

    September 11, 2015 at 3:20 am #165199
    Erik D. Slater
    Member

    You could have left me with my delusions of grandeur and now your Genesis rep in tatters 😉

    Hahahaha ... we'll just keep that one between us ... our little secret ... nobody ever needs to know 🙂


    Erik D. Slater: Digital Platform Consultant • LinkedIn
  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 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