跳到内容

Smart RTL Post

v1.5.1

Luqman Safay · 2025年7月12日 上架

Apply RTL styling to selected posts, pages, and custom post types with Gutenberg support.

正在使用
70+
评分
5.0 / 5
累计下载
1,359
最近更新
2026年4月9日
2 条评价需要 WordPress 5.0+已测试到 7.0.9PHP 7.4+

贡献者

Smart RTL Post allows you to easily apply RTL styling to selected posts, pages, and custom post types.

Features

  • Enable RTL per post
  • Gutenberg editor support
  • Custom post types support
  • Lightweight plugin
  • Clean uninstall
  • No performance impact
  • Custom fonts support

  • Works on Posts and Pages (and any post type via filter hook)

  • Native Block Editor (Gutenberg) sidebar panel — no Classic Editor required
  • Settings page to choose default direction, font, font size, and line height
  • Shortcode [rtl]your text[/rtl] for inline RTL content inside any post
  • Google Fonts support: Noto Nastaliq Urdu, Scheherazade New, Amiri, Lateef
  • CSS only loaded when actually needed (performance friendly)
  • RTL styles scoped to content area only — navigation and header stay unaffected
  • Developer-friendly: smart_rtl_supported_post_types filter to add custom post types
  • Clean uninstall — removes all options and post meta when deleted

Shortcode Usage

Use inside any post or page:
[rtl]Your text here[/rtl]

Add Custom Post Type Support

Add this to your theme’s functions.php:

add_filter( 'smart_rtl_supported_post_types', function( $types ) {
    $types[] = 'product';
    return $types;
} );

`

License

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 or later.
For more details, visit: https://www.gnu.org/licenses/gpl-2.0.html

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums