Smart RTL Post
·
Apply RTL styling to selected posts, pages, and custom post types with Gutenberg support.
Beoordelingen
Versie
1.5.1
Actieve installaties
20
Laatst bijgewerkt
Apr 9, 2026
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_typesfilter 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
