• dbodnariuc

    (@dbodnariuc)


    I have this message on the Instant Article section of posts:

    “No rules defined for <div class=”float-row”> in the context of InstantArticle”

    In my Publishing Settings section at wp-admin/admin.php?page=instant-articles-wizard I have created the rule

    {
      "class": "PassThroughRule",
      "selector": "div.float-row"
    }

    Can someone help me with this?
    I am trying to pass the content within the div tags into the article. All the content is contained in a few div sections. Most of my content is structured like that.

    Thanks,

    Dorian

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter dbodnariuc

    (@dbodnariuc)

    The transformer rules in the wizard page don’t work. I had to manually edit rules-configuration.json and add my rules at the end.

    Has not worked for me either; did what dbodnariuc suggested above and edited the rules-configuration.json file directly.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom Transformation rule Does Not Work’ is closed to new replies.