Support » Plugin: Facebook Instant Articles for WordPress Plugin - WP Native Articles » The Plugin Did not detect the RTL text

  • Resolved Coptic-Treasures

    (@coptic-treasures)


    Hi,
    Most of my posts are RTL (Arabic), so I left the plugin settings to “Auto Detect” the RTL.

    however, the text in resultant instant articles were LTR (please see this screenshot: https://prnt.sc/hk4x70). so my articles were not accepted.
    I had to manually edit the articles to choose the rtl individually in every post.
    can you please check why is this happening?

    thanks

Viewing 1 replies (of 1 total)
  • Plugin Author OzTheGreat

    (@ozthegreat)

    Hi,

    Thanks for getting in touch. The Auto RTL detection uses the built in WordPress is_rtl() function which I believe goes off the default language you have your WordPress admin set to (is yours set to a LTR language?). It’s not perfect by any means which is why we’ve also added the option to override it and set it manually as well.

    I should also mention that the RTL setting in the Plugin only applies to the article Body. It’s hard to tell by your Screenshot but the Title, Subtitle, Featured Image etc all have to be set to RTL using the Facebook Instant Article Style Editor (from the Style section of your IA Settings pages on Facebook).

    Let me know if that all makes sense or if you have any other issues.

    All the best

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.