• Resolved workerteam

    (@workerteam)


    Good day,

    I have again a problem with the plugin: This phrase appears on the feedburner newsletter: Category: Product #: Regular price:$ (Sale ends !) Available from: Condition: Good ! Order now! . This code is present into the single post:

    <div itemtype=”https://data-vocabulary.org/Product&#8221; itemscope=””>

    <span style=”visibility: hidden;”>
    <span itemprop=”brand”>
    </span>
    <span itemprop=”name”>
    </span>
    <img src=” ” itemprop=”image” style=”width:75px;height:75px;”></img>
    <span itemprop=”description”>
    </span>
    <span itemprop=”price”>
    </span>

    Category:

    <span content=” ” itemprop=”category”>
    </span>

    Product #:

    <span content=” ” itemprop=”identifier”>
    </span>
    <span itemtype=”https://data-vocabulary.org/Offer&#8221; itemscope=”” itemprop=”offerDetails”>

    Regular price:$

    <meta content=”USD” itemprop=”priceCurrency”></meta>

    (Sale ends

    <time datetime=” ” itemprop=”priceValidUntil”></time>

    ) Available from:

    <span itemprop=” “>
    </span>

    Condition:

    <span content=”Good” itemprop=”condition”>

    Good

    </span>
    <span content=”in_stock” itemprop=”availability”>

    ! Order now!
    </span>
    </span>
    </span>
    </div>

    I haven’t generated a product code microdata, why is there this code in the post?

    https://www.ads-software.com/plugins/google-seo-author-snippets/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Same issue here.

    —– EDIT —–

    I have modified the file google-seo-author-snippets/schema/gsas_schema_for_product.php adding
    return ""
    and
    return;
    at the beginning of the two functions. Now instead of product informations the plugin is showing empty tickets informations in feeds. Please solve this issue!

    Temporary solution:

    In all schema/*.php change from

    if( $google_seo_org_name != '' && !is_home() ) {
    add_filter( "the_content", "google_seo_schema_organisation" );
    }

    to

    if( $google_seo_org_name != '' && !is_home() && !is_feed() ) {
    add_filter( "the_content", "google_seo_schema_organisation" );
    }

    Good luck

    Thread Starter workerteam

    (@workerteam)

    Thank very much!

    I have only a doubt about the return “”
    and
    return;

    must I putat the beginning of the funcions like this:

    function google_seo_schema_product($text)

    {

    return “”
    and
    return;

    global $post;
    $prefix = ‘google_snippets’;

    // Get the product values for schema

    Thank you again for help

    No! Don’t do it! Just follow the temporary solution I provided, it works fine for me.
    I don’t know why I can’t delete the older post with the return-solution that it’s not really a solution.
    The final solution, in my case, is the one I provided as temporary.

    Thread Starter workerteam

    (@workerteam)

    This Temporary solution works. Thank you

    Plugin Author smackcoders

    (@smackcoders)

    We will update the package soon. Thanks every one here

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Product microdata appears on feedburner’ is closed to new replies.