This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Arabic-Indic Numerals for Arabic WordPress

Description

هذه الاضافة تستبدل الأرقام العربية بأرقام هندية في تواريخ ووردبريس المعرّب.

This simple code replaces Arabic numerals (a.k.a. Hindu-Arabic numerals or Indo-Arabic numerals) with Eastern Arabic numerals (a.k.a. Arabic–Indic numerals or Arabic Eastern numerals) in the date of posts or comments on WordPress. The Arabic version of WordPress changes the month names but leaves the numbers unchanged.

For the sake of simplicity I’m calling them “English” numbers and “Arabic” numbers.

Screenshots

  • The date in j F Y format in Arabic.
  • Example of date on Twenty Fourteen theme without the plugin.
  • Example of date on Twenty Fourteen theme with the plugin.

Installation

  1. Upload plugin files to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. You can either set the date format in WordPress settings to j F Y to change every date, or specify the format in specific places in your theme by placing <?php echo get_the_time('j F Y'); ?> in your templates.

FAQ

Does this plugin translate the names of months into Arabic?

No, you will need to install the Arabic version of WordPress.

Will all the dates be written in Arabic-Indic numbers?

No, the dates will only be modified on parts of your site where the blog language is set to Arabic.

Contributors & Developers

“Arabic-Indic Numerals for Arabic WordPress” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

0.16

  • Added filter to get_the_date in addition to the get_the_time filter.

0.15

  • Initial public release.