Eleven40 tagline just on home page

Community Forums Forums Design Tips and Tricks Eleven40 tagline just on home page

This topic is: not resolved

This topic contains 1 reply, has 1 voice, and was last updated by  pjwdesign 11 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #65192

    pjwdesign
    Participant
    Post count: 16

    At the top of Eleven40 there is the Tagline that appears on each page – I would like it only to appear on home page – I can see the relevant section in the functions page, can I add something here to make it happen. Many thanks

    //* Reposition the site description
    remove_action( ‘genesis_site_description’, ‘genesis_seo_site_description’ );
    add_action( ‘genesis_before_content_sidebar_wrap’, ‘genesis_seo_site_description’ );

    http://my.studiopress.com/themes/eleven40/#demo-full
    #65193

    pjwdesign
    Participant
    Post count: 16

    Update – whilst trying to customise it I found the solution for pages but not posts {if (!is_page()) { ……How can I make this work for posts as well..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()) {
    ?>
    <h2 class=”site-description” itemprop=”description”>Good communication persuades. Great communication convinces.<br /> Invest in the best.</h2>
    <?php
    }
    }

    • This reply was modified 11 months ago by  pjwdesign.
    • This reply was modified 11 months ago by  pjwdesign.
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.