• 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

Adding Title to Category Blog Page

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 › Adding Title to Category Blog Page

This topic is: resolved

Tagged: category page, title

  • This topic has 3 replies, 2 voices, and was last updated 7 years, 2 months ago by pjwdesign.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • January 21, 2016 at 6:02 am #177071
    pjwdesign
    Member

    I have created a category blog page following this tutorial but just want a page title <h1> to show ie Blog

    http://my.studiopress.com/tutorials/category-blog-page/

    many thanks

    http://greenridge.co.uk/blog/
    January 21, 2016 at 7:22 am #177073
    Victor Font
    Moderator

    You should probably use the archive template rather than the blog template. The blog template displays excerpts, the archive template displays titles only. With the archive template, you'll have to filter the results to display the content you want. This article explains how: http://victorfont.com/genesis_sitemap_output-filter/


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    January 21, 2016 at 8:04 am #177076
    pjwdesign
    Member

    Thank you for this - I cant believe there isn't a solution to adding a Title to the category blog page...everything working fine apart from this. Grateful for any ideas.

    January 21, 2016 at 3:49 pm #177113
    pjwdesign
    Member

    In the end I created a widget area..someone may know a better way..but it worked.

    //* Register blog listing header widget area *******************************************************
    genesis_register_sidebar( array(
    	'id'            => 'add_header_before_content',
    	'name'          => __( 'Before Content Header', 'altitude' ),
    	'description'   => __( 'This is a widget area for th eheader on blog list page', 'altitude' ),
    ) );
    
    

    // Add Header to Blog Listing Page *******************************************************
    add_action( 'genesis_before_content', 'add_header_before_content', 5 );
    function add_header_before_content() {
    if ( is_page( 'blog' ) )
    genesis_widget_area( 'add_header_before_content', array(
    'before' => '<div class="blogt">',
    'after' => '</div>',
    ) );
    }

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

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