[wp-trac] [WordPress Trac] #42060: the_posts_pagination not displaying correctly with RTL languages
WordPress Trac
noreply at wordpress.org
Mon Oct 2 13:23:45 UTC 2017
#42060: the_posts_pagination not displaying correctly with RTL languages
--------------------------+------------------------------
Reporter: ahortin | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version: 4.8.2
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by d4z_c0nf):
Hi there,
for what I can see that's a "presentation" issue.
(The WP default prev and next texts don't have any arrow:
https://core.trac.wordpress.org/browser/tags/4.8.2/src/wp-includes/link-
template.php#L2534
You can also verify that the_posts_pagination works fine in
twentyseventeen.)
I tested generate press, and:
1) The produced html is consistent (the elements order doesn't change
whether you're in rtl or not)
2) I could see the "presentation" issue you're reporting:
What I see is that while the right arrow appears before "Previous" it's
actually part of the "Next" link (and vice versa for the left arrow).
E.g. you can "fix" it using the following CSS:
{{{
.nav-links .page-numbers {
display: inline-block;
}
}}}
(or apply a floating property to the prev and next links, ... )
So, imho, this is not a core issue.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42060#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list