[Resolved] GPP 2.0 feature request – Disable category title/desc from the content template

Home Forums Support [Resolved] GPP 2.0 feature request – Disable category title/desc from the content template

Home Forums Support GPP 2.0 feature request – Disable category title/desc from the content template

  • This topic has 3 replies, 2 voices, and was last updated 3 years ago by Tom.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1737424
    George

    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.

    #1738184
    Tom
    Lead Developer
    Lead Developer

    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.

    #1738421
    George

    That would be a cool addition. Thanks, Tom!

    #1739190
    Tom
    Lead Developer
    Lead Developer

    No problem – appreciate all the feedback!

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