Site logo

Archived topic

GPP 2.0 feature request - Disable category title/desc from the content template

3 replies · Started by George on April 16, 2021

Viewing posts 1–4 of 4

I am currently disabling category title and description from a category page, like this:

add_action( 'wp', function() {
    remove_action( 'generate_archive_title', 'generate_archive_title' );
} );

It would be good if there was a switch or switches in the new GPP 2.0 Content Template element type to be able to disable them from the UI.

Hey George,

We are talking about this, as right now the "Disable xx" options show up depending on your Block Element type. For example, the Disable page title option will do this, but that's only in the Page Hero type, as it directly affects that area.

The Content Template type doesn't really affect the page title, so we didn't include it. However, we are thinking of making all of the "Disable xx" options regardless of the type.

That would be a cool addition. Thanks, Tom!

No problem - appreciate all the feedback!

This archived topic is closed to new replies.