Select one or more tags, then press “Search Plugins”

Find Plugin with any / all of the selected criteria
Search Plugin

Persian Locale LTR Fix Wordpress Plugin - Rating, Reviews, Demo & Download

Persian Locale LTR Fix Wordpress Plugin - Rating, Reviews, Demo & Download
No ratings yet
Free
Follow for free plugins, new theme releases and theme news

Plugin Description

Many Jalali (Shamsi) calendar plugins only work when the WordPress site language is set to Persian (fa_IR). The moment you switch to Persian, WordPress reports the site as RTL, and themes, Elementor, and JetEngine load their RTL styles, which flips a design that was built as LTR.

Persian Locale LTR Fix keeps the site language Persian and locks the layout direction to LTR, so date fields become Jalali and your design stays as you built it.

What it does

  • Keeps the site language as Persian (fa_IR).
  • Forces is_rtl() to return false so RTL stylesheets are not loaded.
  • Removes the rtl class from <body>.
  • Re-applies LTR at several points in the load cycle, because calendar plugins and locale switching can reset direction.
  • Lets you choose where it applies: front-end (default on), Elementor editor (default on), WordPress dashboard (default off).

Designed to work with

  • Elementor and Elementor Pro
  • JetEngine, JetFormBuilder, JetSmartFilters and other Crocoblock plugins
  • Persian/Jalali calendar plugins that depend on the site language
  • Themes and page builders that decide direction with is_rtl()

Limitations

  • Themes or plugins that hard-code direction in their own CSS or JavaScript (not through is_rtl()) are not affected.
  • Persian text inside an LTR design will not be right-aligned automatically. Add a little custom CSS for text blocks if you need it.

توضیحات فارسی

بسیاری از افزونه‌های تقویم شمسی (جلالی) فقط وقتی کار می‌کنند که زبان سایت روی فارسی باشد. اما با فارسی شدن زبان، وردپرس سایت را راست‌به‌چپ (RTL) می‌کند و قالب، المنتور و جت‌انجین استایل‌های RTL را بارگذاری می‌کنند؛ نتیجه، چیدمان برعکس در سایتی است که با LTR طراحی شده.

این افزونه زبان سایت را فارسی نگه می‌دارد (تا تقویم شمسی کار کند) و جهت چیدمان را روی چپ‌به‌راست قفل می‌کند تا دیزاین دست‌نخورده بماند.

قابلیت‌ها: حفظ زبان فارسی، جلوگیری از بارگذاری استایل‌های RTL، حذف کلاس rtl از body، اعمال مجدد LTR در چند مرحله از بارگذاری صفحه، و انتخاب محل اعمال (سایت، ویرایشگر المنتور، پیشخوان).

نصب: افزونه را فعال کنید، زبان سایت را در تنظیمات عمومی روی فارسی بگذارید، از تنظیمات Persian LTR Fix محل اعمال را انتخاب کنید، سپس کش را پاک کنید و در المنتور گزینه Regenerate CSS & Data را بزنید.

Screenshots

No screenshots provided


Reviews & Comments