• 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

Remove h1 title on Showcase Pro 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 › Remove h1 title on Showcase Pro blog page

This topic is: not resolved

Tagged: blog page, genesis_do_posts_page_heading, get_the_title(), page_blog.php, Showcase Pro

  • This topic has 4 replies, 2 voices, and was last updated 3 years, 9 months ago by Brad Dalton.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • May 28, 2019 at 5:44 am #491372
    bushrang
    Participant

    Hi Genesis specialists,

    I dedicated about 6 hours of my life to removing the title of my Showcase Pro installation's blog page. Without any effect 🙁

    I have a normal Genesis/Showcase Pro installation where a dedicated page (called hub in my example) is presenting the newest blog posts. My categories are tags, so that category pages are a tag based archive.

    However, I wasn't able to remove the page titles from either the blog page nor the tag based archives.

    I already tried

    remove_action( 'genesis_before_loop', 'genesis_do_blog_template_heading' );
    

    and
    remove_action( 'genesis_before_loop', 'genesis_do_taxonomy_title_description', 15 );

    with absolutely no effect.

    Could anybody help me out with this? Any help would be highly appreciated!

    Thanks in advance and greetings from Germany

    https://www.lykeup.de/hub
    May 28, 2019 at 6:32 am #491373
    Brad Dalton
    Participant

    The blog page in your theme uses this code in the page_blog.php file.

     
    $output .= '<div class="header-content"><h1>' . $title . '</h1></div>';
    

    Remove this and see if that works.


    Tutorials for StudioPress Themes.

    May 28, 2019 at 8:07 am #491375
    bushrang
    Participant

    Hi braddalton,

    thanks for the fast reply. Glad to see that one of the top devs is by my side 😉

    Unfortunately it didn't work. Removed this line and the title is still there.

    Any other ideas? 🙁

    May 28, 2019 at 2:53 pm #491386
    bushrang
    Participant

    I've tested a few things more. The h1 tag has a class “archive-title“. This class is not part of the page_blog.php in my child theme.

    Instead the title comes from archive.php of the Genesis main theme. Of course it wouldn't be wise to edit this file. Just tested it by removing the line from archive.php and the title disappeared.

    My next attempt was to remove it with

    remove_action( 'genesis_archive_title_descriptions', 'genesis_do_archive_headings_headline', 10);
    

    Didn't work as well. Any help is appreciated. This title thing is driving me mad.

    May 28, 2019 at 3:40 pm #491387
    Brad Dalton
    Participant

    Works when i tested it.

    showcase

    Removes the blog page template title.


    Tutorials for StudioPress Themes.

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