Support » Plugin: WordPress Instant Articles by » Erroneous “Unsupported Class” issues

  • Hello,

    I really love this plugin as it seems to be much better organized and clutter free compared to the official plugin. Moreover, I feel the option to provide multiple placement IDs for audience network is an added plus.

    However, off late, I have been facing the following issues with the plugin. I wasn’t very confident about posting about these on the forum, as I haven’t seen prompt responses from the developers (I empathize with them as they would be busy developing the plugin for better functionalities). In any case, since there are multiple issues that I am facing, I have finally put them all together over here.

    Hope I will get a prompt response 🙂

    (Issue – 1)
    Following error comes up in IA production feed when I add FB analytics code along with Google Analytics code

    “Unsupported Class: The <figure> element has an unsupported class value in the class=op- tag. For more information on the class values supported in <figure> element you’re using, refer to the Format Reference of the Instant Articles documentation.”

    For Google, I just specified the Google Tracking ID in the provided box.
    For FB Analytics, I pasted the following tracking code in the “Tracking code” box

    window.fbAsyncInit = function() {
    appId : ‘xxxxxxxxxx’,
    cookie : true,
    xfbml : true,
    version : ‘v2.8’

    (function(d, s, id){
    var js, fjs = d.getElementsByTagName(s)[0];
    if (d.getElementById(id)) {return;}
    js = d.createElement(s); = id;
    js.src = “//”;
    fjs.parentNode.insertBefore(js, fjs);
    }(document, ‘script’, ‘facebook-jssdk’));

    I have replaced my Page ID with “xxxxxxxxxx”.

    Is it that I can place only one of the two tracking codes? Or there is some error in the way I am placing the tracking code for FB?


    (Issue – 2)
    While using the plugin on another site, and submitting the production feed for review, I got the following response from the reviewer –

    Additional Detail from your Reviewer:
    Please format the Instant Article paragraphs similarly to those found in the web article. Make sure spacing is the same as web. You can use <p> tags for paragraphs.

    I have also attached a screenshot sent to me by reviewer. It clearly shows that the IA is rendering my recipe article differently from the way it is being displayed on my website. And this is happening for all the recipe articles.

    Previously, it was also showing similar error of unsupported class –> Unsupported Class: The <figure> element has an unsupported class value.
    However, when I checked again today, I wasn’t able to reproduce that error.

    Any help on this??

    (Issue – 3) While publishing an article that has images as well as an embedded video, the FB post containing link to IA automatically uses the thumbnail of the video, and doesn’t give an option to choose from any of the article images (as it does for all other IA). Can this issue be fixed? As it plays an important role for the audience whether to click on the link to read further, or just to avoid the article altogether as the video thumbnail might not be as appealing.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Erroneous “Unsupported Class” issues’ is closed to new replies.