Site logo

[Support request] 2 types of Schema – Blog & Article (+ developer code)

Home Forums Support [Support request] 2 types of Schema – Blog & Article (+ developer code)

Home Forums Support 2 types of Schema – Blog & Article (+ developer code)

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2535839
    Jo

    Hi, I changed theme to Generate Press and my Google ranking dramatically dropped. I waited over a week for Google to re-crawl the new theme but the ranking didn’t improve, and continued to fall.

    I asked my developer to help. They told me GP had a different schema to my old theme (though I’m sot sure what my old schema was). They then added this code:

    function foundry_custom_itemtype( $type ) {
    return ‘BlogPosting’;
    }
    add_filter( ‘generate_article_itemtype’, ‘foundry_custom_itemtype’ );

    However, I now have two two schema showing and the old developer company has closed down so I can’t ask them to help.

    https://search.google.com/test/rich-results/result/r%2Farticles?id=CczLlI-aEKh_8bUOX80ZPg

    How do I get rid of the duplicate schema (without having a massive impact on my Google ranking)? I read this https://generatepress.com/forums/topic/about-schema-type/ but I’m not sure how this will work with the developer code (or do I need to remove that first?)

    I use Yoast and my schema is set to Article (Default), which is the correct schema I want. Hope you can help!

    #2536659
    David
    Staff
    Customer Support

    Hi there,

    if you want you can disable the GP Schema, using the PHP Snippet found here:

    https://docs.generatepress.com/article/generate_schema_type/

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.