• techboomie

    (@techboomie)


    I dont see the Rich snippet options Structured data Schema Type “Webpage” or “Store” as a dropdown, how can I use it instead of blogposting. This is a coupon website.

    • This topic was modified 6 years ago by techboomie.
    • This topic was modified 6 years ago by techboomie.
    • This topic was modified 6 years ago by techboomie.
    • This topic was modified 6 years ago by techboomie.
Viewing 1 replies (of 1 total)
  • Plugin Contributor dudo

    (@dudo)

    Hello!

    YASR only supports the itemType that can show ratings in serps, you can find a list here https://developers.google.com/search/docs/data-types/review-snippet

    BlogPosting is still there for backward compatibility reasons; soon or later will be dropped out.

    Further, webPage is not a valid target for ratings; you can test this by yourself adding this lines in your child theme

    add_filter('yasr_filter_existing_schema', 'yasr_use_webpage');
    
    function yasr_use_webpage($rich_snippet){
        $rich_snippet['@type'] = 'WebPage';
        return $rich_snippet;
    }

    Best,
    Dario

Viewing 1 replies (of 1 total)

The topic ‘Rich snippet options Structured data Schema Type “Webpage” and “Store”’ is closed to new replies.