Black Friday Sale! Get $20 off GP Premium, $40 off our new Lifetime license, and 45% off license renewals/extensions! Learn more

[Support request] Disable H1Heading Title for Custom Taxonomy Archive Pages

Home Forums Support Disable H1Heading Title for Custom Taxonomy Archive Pages

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #464984
    Thomas

    I’m trying to restyle my archive page however i need to disable the default heading title. Is this possible without creating a child template?

    GeneratePress 2.0.1
    GP Premium 1.5.6
    #465176
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    You can add this function:

    add_action( 'after_setup_theme', 'tu_remove_archive_title' );
    function tu_remove_archive_title() {
        remove_action( 'generate_archive_title', 'generate_archive_title' );
    }

    Hope this helps 🙂

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.