Support » Plugin: wp-jalali » converting latin page numbers to persian numbers

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

    (@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 ‘converting latin page numbers to persian numbers’ is closed to new replies.