WordPress.org

Support

Support » Plugins and Hacks » WP-PageNavi » Not working in RTL – Possible solution provided

Not working in RTL – Possible solution provided

  • 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:
    [1][2][3]

    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.

    http://wordpress.org/extend/plugins/wp-pagenavi/

Viewing 1 replies (of 1 total)
  • 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

Viewing 1 replies (of 1 total)
  • The topic ‘Not working in RTL – Possible solution provided’ is closed to new replies.
Skip to toolbar