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

    (@danishmuneer)

    Can anyone help in this one?

    Thread Starter danishmuneer

    (@danishmuneer)

    Btw the WordPress version is now 4.4.2

    A month has passed and I am still stuck at this. Can you anyone care go through this thread?

    Thread Starter danishmuneer

    (@danishmuneer)

    Is the following piece of code going to work?

    add_filter( 'wpseo_json_ld_output', 'swp_remove_jsonld_yoast', 10, 2 );
    
    function swp_remove_jsonld_yoast($data, $context){
    
        if($data['@type'] == 'WebSite'){
            $data = false;
        }
    
        return $data;
    }
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove microdata from post type "products"’ is closed to new replies.