• Resolved Light Edge

    (@fernandosalvato)


    Hi, thanks for this great plugin!

    I want to disable Schema plugin for the homepage, because I want to work with a custom schema. That is posible?

    Thanks!

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

    (@fernandosalvato)

    Hi!

    Someone who has the same query and knows how to do it?

    Thanks!

    Thread Starter Light Edge

    (@fernandosalvato)

    Hi,

    Sorry i forget to put the website, so you can check it, that does not validate the schema: https://bles.com/

    That’s why I want to manually build it on the homepage.

    The rest the plugin works great!!!

    Thanks

    Plugin Author Hesham Zebida

    (@hishaman)

    You can use something like this in your Theme’s functions.php file to remove Blog markup on home page:

    add_filter( 'schema_blog_output', 'schema_blog_output_remove_8987716235' );
    /**
     * Remove Schema Plugin markup for Blog on home page
     *
     * @param array $schema
     * @return array 
     */
    function schema_blog_output_remove_8987716235( $schema ) {
        
    	// Simply return an empty array
    	return array(); 
    }
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Bypass for homepage’ is closed to new replies.