• 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

Site Description H2

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 › Site Description H2

This topic is: resolved

Tagged: h2, site description

  • This topic has 2 replies, 2 voices, and was last updated 7 years, 6 months ago by ClintN.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • July 17, 2015 at 12:11 am #159632
    ClintN
    Participant

    I decided to add the site description to the header by removing below in functions.php :

    
    //* Remove the site description
    remove_action( 'genesis_site_description', 'genesis_seo_site_description' ); 

    The site description shows in the header as a H2, and I did not want to use CSS to make a H2 class look like a <P> when I could change the initial code in the file.

    I believe that the <H2> tag for genesis_site_description is in genesis/lib/header.php. Is it good practice to add a lib directory to a theme so I can have customized core framework files?

    I should I stop being AI and use CSS to reformat the H2?

    July 17, 2015 at 2:06 am #159636
    Brad Dalton
    Participant

    You should use the filters built into each core Genesis function to modify the default output via your child themes functions file.

    genesis_seo_description
    

    Get Help – Book Consultation.

    July 21, 2015 at 5:01 pm #160049
    ClintN
    Participant

    Cool thanks BD

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Site Description H2’ is closed to new replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

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