• 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

Remove H1 Tags from site title in Digital Pro

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 › Remove H1 Tags from site title in Digital Pro

This topic is: not resolved

Tagged: genesis_site_title_wrap

  • This topic has 6 replies, 3 voices, and was last updated 5 years, 5 months ago by Brad Dalton.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • December 1, 2019 at 1:57 pm #495148
    ccarere
    Participant

    I would like to use h1 tags to target a different keyword on my homepage. The site title is automatically wrapped in h1 tags and would like to know how to remove them to avoid duplicate h1 tags.

    I believe I need to add php code to format this element but am not sure where or how to do that without risking the white screen of death.

    Thanks in advance,

    Christian

    https://digitalducats.com
    December 1, 2019 at 2:39 pm #495149
    AnitaC
    Keymaster

    Are you using an SEO plugin or the default Genesis SEO?


    Need help with customization or troubleshooting? Reach out to me.

    December 1, 2019 at 3:39 pm #495153
    ccarere
    Participant

    I'm using Yoast

    December 14, 2019 at 10:45 am #495504
    ccarere
    Participant

    Not sure if I need to provide any more information...

    December 16, 2019 at 11:58 am #495527
    Brad Dalton
    Participant

    If you look in header.php you'll find this filter

    $wrap = apply_filters( 'genesis_site_title_wrap', $wrap );

    Tutorials for StudioPress Themes.

    December 16, 2019 at 3:45 pm #495531
    ccarere
    Participant

    Thank you.
    But I didn't find that filter...
    I wouldn't know how to remove H1 tags if I found it either.

    Here's the Header php code on Genesis:

    <?php
    /**
    * Genesis Framework.
    *
    * WARNING: This file is part of the core Genesis Framework. DO NOT edit this file under any circumstances.
    * Please do all modifications in the form of a child theme.
    *
    * @package Genesis\Templates
    * @author StudioPress
    * @license GPL-2.0-or-later
    * @link https://my.studiopress.com/themes/genesis/
    */

    /**
    * Fires at start of header.php, immediately before genesis_title action hook to render the Doctype content.
    *
    * @since 1.3.0
    */
    do_action( 'genesis_doctype' );

    /**
    * Fires immediately after genesis_doctype action hook, in header.php to render the document title.
    *
    * @since 1.0.0
    */
    do_action( 'genesis_title' );

    /**
    * Fires immediately after genesis_title action hook, in header.php to render the meta elements.
    *
    * @since 1.0.0
    */
    do_action( 'genesis_meta' );

    wp_head(); // We need this for plugins.
    ?>
    </head>
    <?php
    genesis_markup(
    [
    'open' => '<body %s>',
    'context' => 'body',
    ]
    );

    if ( function_exists( 'wp_body_open' ) ) {
    wp_body_open();
    }

    /**
    * Fires immediately after the wp_body_open action hook.
    *
    * @since 1.0.0
    */
    do_action( 'genesis_before' );

    genesis_markup(
    [
    'open' => '<div %s>',
    'context' => 'site-container',
    ]
    );

    /**
    * Fires immediately after the site container opening markup, before genesis_header action hook.
    *
    * @since 1.0.0
    */
    do_action( 'genesis_before_header' );

    /**
    * Fires to display the main header content.
    *
    * @since 1.0.2
    */
    do_action( 'genesis_header' );

    /**
    * Fires immediately after the genesis_header action hook, before the site inner opening markup.
    *
    * @since 1.0.0
    */
    do_action( 'genesis_after_header' );

    genesis_markup(
    [
    'open' => '<div %s>',
    'context' => 'site-inner',
    ]
    );
    genesis_structural_wrap( 'site-inner' );

    December 16, 2019 at 10:17 pm #495535
    Brad Dalton
    Participant

    Google genesis_site_title_wrap and see what you come up with.


    Tutorials for StudioPress Themes.

  • 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