• Resolved Cecily

    (@cecilywiggins)


    Hi again,

    Having trouble getting the product cards to validate.The data is showing up on the page but not being picked up by the validator…there is a slight difference in the code out on the twitter card, I wonder if this is an issue?

    For instance the tool displays:
    <meta name=”twitter:data:1″ content=”$70″>

    and twitter prefers: <meta name=”twitter:data1″ content=””>

    Is this the problem?

    My product card data I am testing here is located here:
    whospromotingyou.com/shop/custom-actor-postcard/

    and twitter is claiming not see any data for these fields:

    <meta name=”twitter:data1″ content=””>
    <meta name=”twitter:data2″ content=””>
    <meta name=”twitter:label1″ content=””>
    <meta name=”twitter:label2″ content=””>

    https://www.ads-software.com/extend/plugins/jm-twitter-cards/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Cecily

    (@cecilywiggins)

    I guess I could have just asked if you think the colon in between the “data” or “label” and the number 1 & 2 are the issue.

    Thread Starter Cecily

    (@cecilywiggins)

    Ok, I removed the colons in the code and the product card verified beautifully. Nice I see the SEO comes before the twitter code too.

    Anonymous User 10765487

    (@anonymized-10765487)

    Hi Cecily, this feature is quite experimental even if I made it according to the documentation. Any report is much appreciated, thanks ??

    Thread Starter Cecily

    (@cecilywiggins)

    No problem! Saw something else on line 260

    $cardLabel1 = get_post_meta(get_the_ID(),'cardLabel2',true);

    …which resulted in a duplicate of cardLabel2 for both labels. I caught something else as well. But I fixed it and kept it moving. I will message you back when I find that error, but GREAT plugin I amglad I found it.

    Anonymous User 10765487

    (@anonymized-10765487)

    thanks !!! Missed that

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Product Card Not Validating Properly’ is closed to new replies.