• 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

Full Width Entry Title on Pages Needs Wrap

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 › General Discussion › Full Width Entry Title on Pages Needs Wrap

This topic is: not resolved

Tagged: Full Width Entry Title

  • This topic has 2 replies, 2 voices, and was last updated 9 years, 4 months ago by pvanania.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • January 26, 2016 at 12:40 pm #177590
    pvanania
    Member

    I have found a way to put the page title above the content-sidebar solely on pages and not the blog after an exhaustive search. The problem is that the title does not have a container around it which is limiting what I can do. How do a put a site inner div around the title that has been placed about teh content sidebar?

    Here is where you can see the site title: http://maineicons.org/about/

    Below is the code I used to get it to this point:

    //Moves titles above content and sidebar
    remove_action( 'genesis_entry_header', 'genesis_do_post_title' );
    add_action( 'genesis_after_header', 'genesis_do_post_title', 20 );
    
    //this removes post titles from blog archive pages as well
    //Add titles back to home page, single posts, categeory archives and one specific page
    add_action('get_header', 'move_other_post_titles');
    function move_other_post_titles() {
        if (is_home() || is_single() || is_page('contact-me') || is_category()) { // added conditional 'or is_single' and 'or is_category'
            remove_action( 'genesis_after_header', 'genesis_do_post_title', 20 );
            add_action( 'genesis_entry_header', 'genesis_do_post_title' );
        }
    }
    January 26, 2016 at 2:07 pm #177607
    tatami
    Participant

    That's pretty impressive stuff and thank you for telling me about it. By the time I got to your suggestion, someone else had helped me solve my problem. I'll keep this in my back pocket though.

    Thanks again

    Philip

    February 4, 2016 at 12:33 pm #178324
    pvanania
    Member

    Phillip I am not sure what you are talking about.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘General Discussion’ 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

© 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