• 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

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

This topic is: not resolved

Tagged: php code snippet, remove h1 tags

  • This topic has 1 reply, 2 voices, and was last updated 2 years, 7 months ago by Sridhar Katakam.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • January 3, 2020 at 1:15 pm #495098
    ccarere
    Participant

    Hello,

    I'd like to remove the h1 tags from my site title on the homepage. I'm using Digital Pro and the current output looks like this:

    <h1 class="site-title">Digital Ducats Inc.</h1>
    I would like it to look like this:

    <div class="site-title">Digital Ducats Inc.</div>

    I added "div" because I don't want any tags-but I'm not sure if that's the right classification. The goal is to use an alternate H1 tag on the homepage without having duplicate h1 tags.

    I saw a solution for this using the PURO theme HERE using a snippet code plugin but I'm not sure how to translate the PHP code snippet to the Digital Pro theme.

    Any help would be greatly appreciated.

    https://digitalducats.com
    January 12, 2020 at 3:54 pm #495915
    Sridhar Katakam
    Participant

    You can use the code snippet on https://www.billerickson.net/genesis-h1-front-page/. Just replace h1 with div.


    Genesis Tutorials | Follow me on Twitter

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 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

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