Directory
  • Welcome
  • Getting Started
    • Theme Features
    • Changelog
    • Purchase Code On Themeforest
    • Plugin Package
  • Supports
    • Support Service
    • How to Register the Support Forums
  • Getting Started
    • System Requirements
    • WordPress Knowledge base
    • Download Package
  • Setup and Configuration
    • Installation Process
    • Importing Demo Content (XML)
    • Updating the Directory Plugin
  • Directory Options
    • Directory Settings
      • General Settings
      • Label Settings
      • Permalink Settings
      • Archives
      • Skin Settings
      • Import
      • Login
      • Social Logins
      • Price
      • Location / Map
      • Claim
      • Ads
  • Listings
    • Directory Listings
      • Listing Options
    • Listing Category
    • Listing City
    • Neighborhoods
    • Listing County / State
    • Listing Contract Types
    • Listing Amenities
  • Directory Statistics
    • Statistics
  • Google Maps & Geolocation
    • Google Maps & Geolocation
  • Dashboard
    • Seller Dashboard
    • Agent Dashboard
    • Buyer Dashboard
  • User Dashboard
    • Enabling Frontend Listing Submissions
    • User Role Permissions
  • Customization & Page Builders
    • Customization & Page Builders
    • WPBakery Compatibility
  • RTL Support
    • Multi-Language & RTL Support
    • Enabling RTL Layouts
  • Troubleshooting & FAQs
    • Plugin Not Activating
    • Demo Content Not Importing
    • Slow Website Performance
    • Payment Gateway Integrations
    • Plugin Conflicts and Debugging
  • Help Videos
    • How to edit the directory listings with Custom template
    • How to edit the Portfolio listings with Custom template
Powered by GitBook
On this page
  1. RTL Support

Enabling RTL Layouts

PreviousMulti-Language & RTL SupportNextPlugin Not Activating

Last updated 6 months ago

CtrlK
  • Step 1: Enable RTL Support in WordPress
  • Step 2: RTL Support in the DT Directory Plugin
  • Step 3: Customizing RTL Layouts (Optional)

For languages that read from right to left (e.g., Arabic, Hebrew, Persian), the Directory WordPress Plugin supports RTL layouts to ensure proper alignment and styling.

Step 1: Enable RTL Support in WordPress

WordPress has built-in support for RTL languages. To enable RTL layouts:

  1. Go to Settings > General in your WordPress dashboard.

  2. Select a language that uses RTL (e.g., Arabic, Hebrew) as the site language.

  3. WordPress will automatically apply RTL styling to your website.

Step 2: RTL Support in the DT Directory Plugin

The Directory WordPress Plugin automatically detects the RTL language and adjusts the layout of directory listings, search filters, maps, and other elements to support right-to-left text flow.

  • Text alignment: All text will align to the right, and elements will adjust accordingly.

  • Navigation and buttons: Menus, buttons, and forms will adjust to ensure that they are user-friendly in RTL languages.

Step 3: Customizing RTL Layouts (Optional)

You may need to make additional adjustments for better RTL support. Use Custom CSS to fine-tune the design for RTL layouts:

body[dir="rtl"] .dt-directory-listing { text-align: right; }

This CSS rule ensures that listings are aligned correctly in RTL mode.

💡 Tip: Always check your site’s appearance in both RTL and LTR modes to ensure a consistent and professional look.