• 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

Eleven40 – How to limit the wide text header to Homepage

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 › Eleven40 – How to limit the wide text header to Homepage

This topic is: resolved

Tagged: controls, Eleven40, text headers

  • This topic has 2 replies, 3 voices, and was last updated 13 years, 1 month ago by SoZo.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • January 28, 2013 at 2:37 pm #15682
    MM
    Member

    I'm trying to limit the wide text header... eg: 'a mobile responsive theme built for the genesis framework'

    only to display on the homepage. Right now, it displays everywhere.

    I tried the code suggestion by Jon Buscall on http://www.briangardner.com/welcome-text-widget/#comment-24626

    But didn't work for me.  Any simple instructions out there? Thanks!

     

    January 28, 2013 at 3:14 pm #15710
    Brad Dalton
    Participant

    Add a conditional tag to the code so the widget only displays on the home page

    is_home

    Tutorials for StudioPress Themes.

    January 28, 2013 at 3:15 pm #15712
    SoZo
    Member

    Go into functions.php and change this

    /** Add the page title section */
    add_action( 'genesis_before_content_sidebar_wrap', 'eleven40_page_title' );
    function eleven40_page_title() {
       genesis_widget_area( 'page-title', array(
           'before' => '<div class="page-title widget-area">',
       ) );
    }

    to this

    /** Add the page title section */
    add_action( 'genesis_before_content_sidebar_wrap', 'eleven40_page_title' );
    function eleven40_page_title() {
    if( is_home() ) {
       genesis_widget_area( 'page-title', array(
           'before' => '<div class="page-title widget-area">',
       ) );
    }}

    John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Eleven40 – How to limit the wide text header to Homepage’ 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

© 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