• 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

Add title to blog page in Ambience Pro

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 › Add title to blog page in Ambience Pro

This topic is: resolved

Tagged: add title, Ambience Pro, blog page

  • This topic has 8 replies, 3 voices, and was last updated 11 years, 4 months ago by nubloggie.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • December 16, 2014 at 4:21 am #134656
    nubloggie
    Member

    I've set my homepage to display a static page called Home and my "Posts" page is set to a page called blog.

    I'm trying to figure out how to add the page title "BLOG" to the posts page.... can anyone help?

    Many thanks.

    December 16, 2014 at 5:24 am #134659
    Brad Dalton
    Participant

    Try this http://wpsites.net/wordpress-tips/how-to-add-a-entry-title-to-your-blog-page-or-posts-page/


    Tutorials for StudioPress Themes.

    December 16, 2014 at 6:56 am #134664
    nubloggie
    Member

    thanks @braddalton. I can't view the response you linked to however...seems to suggest that I need to become a member to view the content...?

    December 16, 2014 at 7:23 am #134665
    Genesis Developer
    Member

    Add this in your functions.php file

    add_action('get_header', 'gd_blog_page_title');
    function gd_blog_page_title(){
      if( is_page_template('page_blog.php') ){
        add_action('genesis_loop', 'genesis_standard_loop', 5);
      }
    }

    hope that this will help you


    Download Genesis Featured Posts Combo Widget | Simple Grid Layouts Plugin for Posts, CPTs and terms
    You can request new tips/help.

    December 16, 2014 at 12:24 pm #134683
    nubloggie
    Member

    Thanks @genwrock, but unfourtunately that didn't work. I'm not sure if it's recognizing my "posts" page as the page_blog.php template or not. Either way, the page ID is 5. I tried changing if( is_page_template('page_blog.php') ) to if( is_page (5))`
    but that still didn't work....
    Any other ideas?
    Many thanks again!

    December 16, 2014 at 12:31 pm #134686
    Genesis Developer
    Member

    what is your site URL?


    Download Genesis Featured Posts Combo Widget | Simple Grid Layouts Plugin for Posts, CPTs and terms
    You can request new tips/help.

    December 16, 2014 at 12:34 pm #134687
    Genesis Developer
    Member

    try this once

    add_action('genesis_before_loop', 'gd_blog_page_title');
    function gd_blog_page_title(){
      if( is_page(5) ){
       echo '<h1 class="pagetitle title">' . get_the_title() . '</h1>';
      }
    }

    Download Genesis Featured Posts Combo Widget | Simple Grid Layouts Plugin for Posts, CPTs and terms
    You can request new tips/help.

    December 16, 2014 at 12:55 pm #134689
    nubloggie
    Member

    the URL is: http://bit.ly/1sAHwaZ

    your second snippet is not working either 🙁
    thanks so much for your help. 🙂

    December 16, 2014 at 1:30 pm #134691
    nubloggie
    Member

    sorry - the password is welcome

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