
內容簡介
總結:Smart RTL Post 外掛可讓你輕鬆將網誌版面方向改成從右到左,適用於巴士圖語、阿拉伯語和烏爾都語等語言,只需點擊一下即可完成。
問題與答案:
1. Smart RTL Post 外掛適合哪些語言使用?
- 答:適合使用巴士圖語、阿拉伯語和烏爾都語等需要從右至左排列的語言。
2. Smart RTL Post 外掛的許可證是什麼?
- 答:這個外掛是自由軟體,根據 GNU 通用公共授權條款第 2 版或更新版本進行重新分發和/或修改。詳情請參閱: https://www.gnu.org/licenses/gpl-2.0.html
<!DOCTYPE html>
<html>
<head>
<title>WordPress外掛介紹</title>
</head>
<body>
<h2>問題與答案:</h2>
<ul>
<li>
<h3>Smart RTL Post 外掛適合哪些語言使用?</h3>
<p>- 答:適合使用巴士圖語、阿拉伯語和烏爾都語等需要從右至左排列的語言。</p>
</li>
<li>
<h3>Smart RTL Post 外掛的許可證是什麼?</h3>
<p>- 答:這個外掛是自由軟體,根據 GNU 通用公共授權條款第 2 版或更新版本進行重新分發和/或修改。詳情請參閱: <a href="https://www.gnu.org/licenses/gpl-2.0.html">https://www.gnu.org/licenses/gpl-2.0.html</a></p>
</li>
</ul>
</body>
</html>
外掛標籤
開發者團隊
原文外掛簡介
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
