[Resolved] Hide Page Title on Category Archive Page

Home Forums Support [Resolved] Hide Page Title on Category Archive Page

Home Forums Support Hide Page Title on Category Archive Page

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1510827
    Donna

    Hi,

    I would like to hide the Page Title on Category Archive Pages.

    I’ve tried using Elements to Disable Content Title and then I select Post Category Archives, All Locations for the Display Rules but the page title still displays.

    Any suggestions?

    Many thanks!

    Donna

    #1511371
    Leo
    Staff
    Customer Support

    Hi there,

    Are you using the latest versions of the theme and GP Premium?
    https://docs.generatepress.com/article/generatepress-and-gp-premium/

    #1511510
    Donna

    Hi Leo,

    Yes…both the theme and the plugin are up to date!

    Here’s an example of one of the pages that is still showing the title:

    http://modinteriorsonline.com/category/bath-design/

    Donna

    #1511518
    Leo
    Staff
    Customer Support

    Ahh you are referring to the archive title.

    Try this PHP instead:

    add_action( 'wp', 'lh_remove_archive_title' );
    function lh_remove_archive_title() {
            remove_action( 'generate_archive_title', 'generate_archive_title' );
    }
    #1511541
    Donna

    Leo

    Brilliant! That worked! Many thanks!

    Donna

    #1511542
    Leo
    Staff
    Customer Support

    No problem 🙂

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