• 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 title & description

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 title & description

This topic is: not resolved

Tagged: description, header, reverse order, title

  • This topic has 3 replies, 2 voices, and was last updated 11 years, 4 months ago by malcomiles.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • July 6, 2014 at 11:10 am #113136
    malcomiles
    Member

    Hello there. πŸ™‚

    Recently I started to modify a child theme to look like my mockup, one of the design quirks of the custom child theme is that the site description goes before the site title.

    I tried to remove the title and the description from the functions, then adding it again in reversed order, but they stay in the same place, because <? the_title?> and <? the_description?> are hard-coded in the genesis framework.

    Then I wondered if I can place site_description in the genesis_before_header but then I wonder if I'm messing the SEO because site description no longer goes inside the header.

    ΒΏAny ideas?

    cheers πŸ™‚

    July 6, 2014 at 2:08 pm #113149
    dev
    Participant

    See http://my.studiopress.com/snippets/header which might help.

    Brad Dalton has an excellent piece on this too... probably better than above.

    Remove Genesis Site Header Using PHP or CSS Code

    I know you want to reorder and not remove, but this may give you some ideas until Brad shows up to tell us all how it should be done. It's beyond my pay grade! πŸ™‚

    Dev
    http://www.NewMediaWebsiteDesign.com

    September 10, 2014 at 12:33 pm #123791
    malcomiles
    Member

    I finally made it πŸ˜€ , it involves removing the site title altogether then code my solution in the functions php file. It works just fine ^^ Its like creating a normal php file on a blank theme, but on the functions php with some actions to hook it in the right place of genesis.

    /** Remove default site title and add custom site title **/
    remove_action( 'genesis_site_title', 'genesis_seo_site_title' );
    remove_action( 'genesis_site_description', 'genesis_seo_site_description' );
    function custom_site_title() {
    echo '<h2 class="site-description" itemprop="description">';echo bloginfo ('description');'<h2>';
    echo '<h1 class="site-title" itemprop="headline"><a href="#">';echo bloginfo ('title');'</a><h1>';
    }
    add_action( 'genesis_site_title', 'custom_site_title' );
    September 12, 2014 at 3:37 am #124084
    malcomiles
    Member

    Even easier x_D

    // Inverse title and site description order

    remove_action( 'genesis_site_title', 'genesis_seo_site_title' );
    remove_action( 'genesis_site_description', 'genesis_seo_site_description' );
    add_action( 'genesis_site_title', 'genesis_seo_site_description' );
    add_action( 'genesis_site_description', 'genesis_seo_site_title' );
  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 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

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