WordPress.org

Support

Support » Plugins and Hacks » [Resolved] converting latin page numbers to persian numbers

[Resolved] converting latin page numbers to persian numbers

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author mani_monaj
    Member

    @mani_monaj

    The wp_link_pages function has a filter with the same name (look here).

    You can add a filters to your theme’s functions.php file to convert the numbers on the fly. Something like this:

    if (function_exists("farsi_num")) {
      add_filter("wp_link_pages","farsi_num",10);
    }

    I have not tested it myself.

    Great! It works like a charm.
    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] converting latin page numbers to persian numbers’ is closed to new replies.