RTL – Loading alternate CSS for plugins
I’m working on the Hebrew translation. Almost done.
The problem is I need to load additional CSS for some plugins
For example in bp-core, I also need to load admin-bar-rtl.css
Can I expect something like this to be added to each of the plugins that is loading a custom css:
if (get_bloginfo('text_direction') == 'rtl')
echo '<link rel="stylesheet" type="text/css" href="'admin-bar-rtl.css" />'."nr";
The other solution is to add it manually, thus making any RTL translation much more troublesome to maintain and distribute…
- The topic ‘RTL – Loading alternate CSS for plugins’ is closed to new replies.