• Resolved emmbenn

    (@emmbenn)


    Hello

    Is there any way of getting the plugin to remove CollectionPage schema from category and tag pages?

    I’m having some issues with it and I’d rather just remove it from those pages altogether

    Thanks

    Emma

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Hesham Zebida

    (@hishaman)

    Yes, this is possible through simple filters that you can place in Theme’s functions.php file:

    // Disable CollectionPage schema output on Categories
    add_filter( 'schema_wp_output_category_enabled', '__return_false' );
    
    // Disable CollectionPage schema output on Tags
    add_filter( 'schema_wp_output_tag_enabled', '__return_false' );

    Here is a link to the docs page: Remove CollectionPage Schema

    Plugin Author Hesham Zebida

    (@hishaman)

    This is just a duplicate reply, I’ve removed it!

    • This reply was modified 7 years, 10 months ago by Hesham Zebida. Reason: Duplicate
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Removing CollectionPage Schema’ is closed to new replies.