• 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

How to replace the with

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 › How to replace the with

This topic is: resolved

Tagged: Archive heading

  • This topic has 2 replies, 2 voices, and was last updated 8 years ago by NonTechie.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • October 21, 2018 at 10:53 am #223897
    NonTechie
    Member

    Hi guys

    Can anyone please help me understand how to replace the <h1 class="archive-title"> with <h1 class="entry-title main_title"> ?

    It's the heading of my archive pages.

    How it looks like now: <h1 class="archive-title">Top Rowing Machine Reviews for 2018 – Best Rowers Buying Guide</h1>

    How I am trying to make it look like: <h1 class="entry-title main_title">Top Rowing Machine Reviews for 2018 – Best Rowers Buying Guide</h1>

    Thanks a lot

    https://bestellipticalmachinehut.com/rowing-machine-reviews/
    October 22, 2018 at 5:03 am #223906
    andytc
    Participant

    You can try this added to functions.php -

    add_filter( 'genesis_attr_archive-title', 'non_tech_modify_archive_title_class' );
    function non_tech_modify_archive_title_class( $attributes ) {
    	$attributes['class'] = 'entry-title main_title';
    	return $attributes;
    }

    October 23, 2018 at 1:50 pm #223930
    NonTechie
    Member

    Hi Andytc
    It worked like a charm.
    Thanks a lot.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘How to replace the with’ is closed to new 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