[Plugin: Posts 2 Posts] UI problems on RTL
-
UI get messy on RTL languages like Persian, Arabic and Hebrew.
screenshot on fa_IR : http://cl.ly/AGBJ
screenshot on en : http://cl.ly/AFdM
and great plugin, btw.
-
Thanks for reporting. I’ll see what I can do.
Should look a lot better in the development version (0.9.1-beta).
Please try it out.
Also see http://scribu.net/wordpress/translating-plugins.html
Sure looks fine : http://cl.ly/0F3o3x2O0n082i2C2J0b
and please consider :
– using number_format_i18n filter on the pagination numbers.
– full width post list on the tabs.
– center alignment of the pagination.also, I’ve sent the translation.
and thanks a lot!Thanks for the feedback.
Implemented all but centered pagination. When the box appears in the main column, you have to move your mouse quite a bit between the pagination and the post titles.
Turns out there was a problem with using number_format_i18n().
Will nail it in the next release: https://github.com/scribu/wp-posts-to-posts/issues/25
Thanks, and just:
– right padding of wp_spin on RTL (next to pagination)
– right margin of the new post inputs.and a wild suggestion:
– connecting post types across a wp network. like connecting news posts from news.domain.tld to events posts on events.domain.tld– right padding of wp_spin on RTL (next to pagination)
– right margin of the new post inputs.Fixed in development version (0.9.2-alpha).
– connecting post types across a wp network. like connecting news posts from news.domain.tld to events posts on events.domain.tld
I’m afraid that’s a different plugin entirely.
I have plans to adopt p2p for such plugin. something like adding the blog id to each side of connections and build the postdata remotely!
thanks anyways.
This is my last try, promise. just hear me out.
There is a core function named switch_to_blog() on /wp-includes/ms-blog.php
the comment says :This function is useful if you need to pull posts, or other information,
from other blogs. You can switch back afterwards using restore_current_blog().Things that aren’t switched:
– autoloaded options. See #14992
– plugins. See #14941It’s really useful to use on p2p, if I’m trying to connect a post_type from one blog to another, it does not have to be reciprocal and has new posts creation.
p2p can get the blog id and post type on p2p_register_connection_type() and save post_ID from one blog, and another from the other blog on the table for connections, maybe the link and title as connection fields to avoid overload and I think the rest is the same.
It’ll be very considerate of you to just look at this possibility, I’m really trying to not re-inventing this particular great wheel!You’re in luck:
https://github.com/scribu/wp-posts-to-posts/issues/57#issuecomment-2836699
For the next version I’m focusing on ‘posts-to-users’ connections, but with the new
p2p_typecolumn, it will be theoretically possible to connect posts from different blogs as well.The syntax would look like this:
p2p_register_connection_type( array( 'from' => array( 'object' => 'post', 'post_type' => 'whatever', 'blog_id' => 123 ), 'to' => 'page' ) );Great, cant wait to see it in action.
It will solve my big problems on wp network installs.
Thank you.
The topic ‘[Plugin: Posts 2 Posts] UI problems on RTL’ is closed to new replies.