• 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 the tagline from posts in eleven40

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 the tagline from posts in eleven40

This topic is: resolved
  • This topic has 10 replies, 3 voices, and was last updated 11 years, 8 months ago by Brad Dalton.
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • October 9, 2013 at 5:46 am #65944
    pjwdesign
    Member

    I have been able to remove the tagline that appears at the top of eleven 40 from pages but I cannot remove it from posts (I just want it on the ome page) . This was the code I used

    //* Reposition the site description
    remove_action( ‘genesis_site_description’, ‘genesis_seo_site_description’ );
    add_action( ‘genesis_before_content_sidebar_wrap’, ‘sp_custom_header’ );
    function sp_custom_header() {if (!is_page()) {
    ?>
    <h2 class=”site-description” itemprop=”description”>TAGLINE GOES HERE</h2>
    <?php
    }
    }

    Many thanks

    October 9, 2013 at 6:28 am #65947
    Brad Dalton
    Participant

    You can add these conditionals to the code:

    if ( !is_page() || !single() ) {
    

    Or you could use this:

    if ( is_front_page() ) {
    

    Tutorials for StudioPress Themes.

    October 9, 2013 at 6:49 am #65948
    pjwdesign
    Member

    Thank you Brad I tried the following..(below)....this caused the pages to be blank (tagline still in posts) am I doing something wrong with the code? Many thanks

    //* Reposition the site description
    remove_action( 'genesis_site_description', 'genesis_seo_site_description' );
    add_action( 'genesis_before_content_sidebar_wrap', 'sp_custom_header' );
    function sp_custom_header() {if (!is_page() || !single() ) {
    ?>
    <h2 class="site-description" itemprop="description">Header Here</h2>
    <?php
    }
    }

    October 9, 2013 at 6:58 am #65953
    Brad Dalton
    Participant

    Should be:

     !is_single() ) {
    

    WordPress Conditional tags


    Tutorials for StudioPress Themes.

    October 9, 2013 at 7:42 am #65962
    pjwdesign
    Member

    Many Thanks Brad getting nearer....Both !is_front_page() and !is_single() (used seperately) remove header from posts and pages which is great but also from the Home Page.....

    //* Reposition the site description
    remove_action( ‘genesis_site_description’, ‘genesis_seo_site_description’ );
    add_action( ‘genesis_before_content_sidebar_wrap’, ‘sp_custom_header’ );
    function sp_custom_header() {if ( !is_front_page() ) {
    ?>
    <h2 class="site-description" itemprop="description">Header Here</h2>
    <?php
    }
    }

    October 9, 2013 at 7:44 am #65963
    Brad Dalton
    Participant

    Did you try this:

    if ( is_front_page() ) {
    

    Tutorials for StudioPress Themes.

    October 9, 2013 at 8:04 am #65966
    pjwdesign
    Member

    I did (see below) this in place now....again not showing on home page as well as pages/posts
    //* Reposition the site description
    remove_action( ‘genesis_site_description’, ‘genesis_seo_site_description’ );
    add_action( ‘genesis_before_content_sidebar_wrap’, ‘sp_custom_header’ );
    function sp_custom_header() {if ( !is_front_page() ) {
    ?>
    <h2 class="site-description" itemprop="description">Header here</h2>
    <?php
    }
    }

    If it helps url of site is jrabutler.com. Many thanks

    October 9, 2013 at 8:33 am #65968
    Brad Dalton
    Participant

    Here's some information on conditional tags.

    Did you try:

     if ( is_front_page() ) {
    

    Without the !


    Tutorials for StudioPress Themes.

    October 9, 2013 at 10:37 am #65980
    pjwdesign
    Member

    Thanks for patience Brad- I did try without the ! - will take a look at the suggested link

    June 19, 2014 at 1:51 pm #110620
    socialspark
    Member

    I need to remove the tagline from all pages of my site, but I'm not having any luck using the code from the previous posts.

    Where does this code need to go exactly? Into the functions.php file?

    Here is a link to my site: http://postbankruptcy.flywheelsites.com/. You can't see the site description, but it is directly under the black header area...

    June 19, 2014 at 4:56 pm #110665
    Brad Dalton
    Participant

    Try this http://wpsites.net/web-design/eleven40-pro-replace-site-description-tagline-with-widget/

    If you only want to remove the tagline, only use the first line of code in the Gist. Untested for that specific solution.


    Tutorials for StudioPress Themes.

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