Not working in RTL - Possible solution provided (2 posts)

  1. Nabil Kadimi
    Posted 3 years ago #

    The page number order is still LTR on my RTL website.

    When using firebug, I can fix it by adding spacing after page numbers (of course the space is added before or after any wrapping html):

    Assuming this is the html:

    The ordering is fixed if I add spaces:
    [1] [2] [3]

    The reason is that whenever the direction is, 123 will always be 123, it is not reverted if you are using an RTL language.


  2. Nabil Kadimi
    Posted 3 years ago #

    If I add a space after and before the link in core.php::232

    return "<a>get_url( $page ) ) . "' class='$class'>$text</a> ";

    and wrap any span in spaces, I get the right output.

    Sorry, this is not sane but it was hard to resist

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic