{"id":6846,"date":"2009-09-29T15:39:08","date_gmt":"2009-09-29T15:39:08","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-direction-detector\/"},"modified":"2016-05-24T19:30:41","modified_gmt":"2016-05-24T19:30:41","slug":"wp-direction-detector","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/wp-direction-detector\/","author":3401820,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.2.1 beta","stable_tag":"trunk","tested":"4.5.33","requires":"2.0","requires_php":"","requires_plugins":"","header_name":"WP Direction Detector","header_author":"Fay\u00e7al Tirich","header_description":"","assets_banners_color":"","last_updated":"2016-05-24 19:30:41","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&hosted_button_id=GEUJA8MV256VE","header_plugin_uri":"http:\/\/faycaltirich.blogspot.com\/1979\/01\/wp-direction-detector.html","header_author_uri":"http:\/\/faycaltirich.blogspot.com","rating":0,"author_block_rating":0,"active_installs":10,"downloads":3266,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1539231","resolution":"2","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1539231","resolution":"1","location":"plugin"}},"screenshots":{"1":"<p>This plugin will apply the right direction when mixing RTL and LTR posts<\/p>","2":"<p>Settings<\/p>"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[23735,1385,29191,68491,5811],"plugin_category":[48],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-6846","plugin","type-plugin","status-publish","hentry","plugin_tags-direction","plugin_tags-language","plugin_tags-ltr","plugin_tags-right-to-left-support","plugin_tags-rtl","plugin_category-language-tools","plugin_committers-fay-1"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wp-direction-detector.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/wp-direction-detector\/trunk\/screenshot-1.png?rev=1539231","caption":"<p>This plugin will apply the right direction when mixing RTL and LTR posts<\/p>"},{"src":"https:\/\/ps.w.org\/wp-direction-detector\/trunk\/screenshot-2.png?rev=1539231","caption":"<p>Settings<\/p>"}],"raw_content":"<!--section=description-->\n<p>This plugin auto detects and apply the right direction (RTL or LTR) on post's titles, bodies and comments.<\/p>\n\n<p>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.\nBut this solution is working only when you have just an RTL blog (or just an LTR blog using the classical style.css).\nOne 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.<\/p>\n\n<p>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.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>wp-direction-detector<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Activate for titles, bodies and comments Settings<\/li>\n<\/ol>\n\n<!--section=faq-->\n\n\n<!--section=changelog-->\n<p>= 1.2 beta=<\/p>\n\n<ul>\n<li>The plugin is not working when the theme is using the_title() and get_the_title() inside HTML attributes ((eg: &lt;img alt=\"&lt;php? the_title(); ?&gt; ...)). you can now disable the plugin for titles and instead use get_directed_title() and get_the_directed_title()<\/li>\n<\/ul>\n\n<p>= 1.1 beta=<\/p>\n\n<ul>\n<li>First release tested on the default WordPress theme<\/li>\n<\/ul>","raw_excerpt":"This plugin auto dectects and apply the right direction (RTL or LTR) on post&#039;s titles, bodies and comments.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/6846","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=6846"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/fay-1"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=6846"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=6846"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=6846"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=6846"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=6846"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=6846"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}