• 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

phill.jasmith

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
  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • September 3, 2013 at 9:36 am in reply to: Only Display Title-Page Area (Slider) on Home Page or Front Page #60438
    phill.jasmith
    Member

    Awesome Sridhar, it worked!

    Thanks man!

    Sridhar, as a point of interest, why did this work and not when I did them individually?

    I used if(is_home()) and I used if(is_front_page())individually with not luck.

    Here are my if statements that did not work.

    if(is_home()){
    /** 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">',
    	) );
    }
    }

    and here's the other one:

    if(is_front_page()){
    /** 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">',
    	) );
    }
    }

    Both of these did not work individually, does it matter that you put the if statement inside the function itself?

    Thank for the help Sridhar,

    Cheers!
    Phill

    September 3, 2013 at 12:10 am in reply to: Only Display Title-Page Area (Slider) on Home Page or Front Page #60362
    phill.jasmith
    Member

    Hi Sridhar,

    Thank you, no I don't add this sidebar, I think you may have download the newer eleven40Pro theme, I think that one doesn't have the "page title" widget area. I'm using the original eleven40 theme which I believe is still available for download. I did customize the theme through css but I did not add any sidebar widget areas myself.

    The slider I'm using is the genesis-responsive-slider.

    Thanks Sridhar, any help is much appreciated!

    Phill

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

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

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