• Resolved poopertropper

    (@poopertropper)


    We almost always have a no follow set up on our category pages which means using Schema on those pages doesn’t make a lot of sense. How can I disable schema completely on all category pages?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter poopertropper

    (@poopertropper)

    Anyone have any ideas?

    Plugin Author Hesham Zebida

    (@hishaman)

    Hi, I’ve added a new filter to allow disable schema.org output on categories. I’ve updated the plugin files here at ww.wp.xz.cn, you can simply delete the plugin on your site, then install a fresh copy (this update won’t show any notifications in your WordPress dashboard)

    After you reinstall a fresh copy of the plugin, try adding this simple line of code to your theme’s functions.php file:

    
    // This will disable Schema plugin output on categories
    // by adding a filter on <code>schema_wp_output_category_enabled</code> that returns false 
    add_filter( 'schema_wp_output_category_enabled', '__return_false' ); 

    I hope this helps.

    Thread Starter poopertropper

    (@poopertropper)

    Ill try now, thanks so much!!!!!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Remove Schema on Cat Pages’ is closed to new replies.