Title: WP Direction Detector
Author: .fay
Published: <strong>2009 年 9 月 29 日</strong>
Last modified: 2016 年 5 月 24 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/wp-direction-detector.svg)

# WP Direction Detector

 作者：[.fay](https://profiles.wordpress.org/fay-1/)

[下载](https://downloads.wordpress.org/plugin/wp-direction-detector.zip)

 * [详情](https://cn.wordpress.org/plugins/wp-direction-detector/#description)
 * [评价](https://cn.wordpress.org/plugins/wp-direction-detector/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/wp-direction-detector/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/wp-direction-detector/#developers)

 [支持](https://wordpress.org/support/plugin/wp-direction-detector/)

## 描述

This plugin auto detects and apply the right direction (RTL or LTR) on post’s titles,
bodies and comments.

According to WordPress, adding support for language written in a Right To Left (
RTL) direction is just a matter of overwriting all the horizontal positioning attributes
of your CSS stylesheet in a separate stylesheet file named rtl.css.
 But this solution
is working only when you have just an RTL blog (or just an LTR blog using the classical
style.css). One of solutions: We will let WordPress applying the same style.css 
to both of RTL/LTR posts and this plugin will automatically detect the post language
to correct its direction.

It’s just a beta version that I tested with the WordPress default theme, please 
let me know your feedback with your own complexed css.

## 屏幕截图

 * [[
 * This plugin will apply the right direction when mixing RTL and LTR posts
 * [[
 * Settings

## 安装

 1. Upload `wp-direction-detector` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Activate for titles, bodies and comments Settings

## 评价

此插件暂无评价。

## 贡献者及开发者

「WP Direction Detector」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ .fay ](https://profiles.wordpress.org/fay-1/)

[帮助将「WP Direction Detector」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/wp-direction-detector)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/wp-direction-detector/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/wp-direction-detector/)，或通过[RSS](https://plugins.trac.wordpress.org/log/wp-direction-detector/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/wp-direction-detector/)。

## 更新日志

= 1.2 beta=

 * The plugin is not working when the theme is using the_title() and get_the_title()
   inside HTML attributes ((eg: <img alt=”<php? the_title(); ?> …)). you can now
   disable the plugin for titles and instead use get_directed_title() and get_the_directed_title()

= 1.1 beta=

 * First release tested on the default WordPress theme

## 额外信息

 *  版本 **1.2.1 beta**
 *  最后更新：**10 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 2.0 或更高版本 **
 *  已测试的最高版本为 **4.5.33**
 *  语言
 * [English (US)](https://wordpress.org/plugins/wp-direction-detector/)
 * 标签
 * [direction](https://cn.wordpress.org/plugins/tags/direction/)[language](https://cn.wordpress.org/plugins/tags/language/)
   [ltr](https://cn.wordpress.org/plugins/tags/ltr/)[rtl](https://cn.wordpress.org/plugins/tags/rtl/)
 *  [高级视图](https://cn.wordpress.org/plugins/wp-direction-detector/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/wp-direction-detector/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/wp-direction-detector/reviews/)

## 贡献者

 *   [ .fay ](https://profiles.wordpress.org/fay-1/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/wp-direction-detector/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=GEUJA8MV256VE)