Aquesta extensió no s'ha provat en les darreres 3 versions majors del WordPress. Segurament no està mantinguda o suportada, i pot tenir problemes de compatibilitat quan s'usa en versions recents del WordPress.

Arabic-Indic Numerals for Arabic WordPress

Descripció

This plugin simply 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. This is useful on sites using the Arabic version of WordPress, which translates month names but leaves the numbers unchanged.

Captures

  • Example of date on Twenty Fourteen theme without the plugin.
  • Example of date on Twenty Fourteen theme with the plugin.

Instal·lació

  1. Install via the plugin directory, or upload plugin files to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

PMF

How do I insert the Arabic date?

It is recommended to set the date format in the WordPress settings menu to j F Y in order to format every date in an Arabic-friendly order (day month year), or set the format in specific places in your theme by placing <?php echo get_the_time('j F Y'); ?> in your templates. Alternatively, you can use the shortcode [Arabic_Date] to insert the current post date in Arabic on any page or post.

Does this plugin translate the names of months into Arabic?

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

Will all dates on my site 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.

Ressenyes

28 de maig de 2023
A very impressive and indispensable addition.
Llegiu totes les 3 ressenyes

Col·laboradors i desenvolupadors

«Arabic-Indic Numerals for Arabic WordPress» és programari de codi obert. La següent gent ha col·laborat en aquesta extensió.

Col·laboradors

“Arabic-Indic Numerals for Arabic WordPress” s'ha traduït a 1 configuració regional. Gràcies als traductors per les seves aportacions.

Traduïu «Arabic-Indic Numerals for Arabic WordPress» a la vostra llengua.

Interessats en el desenvolupament?

Navegueu pel codi, baixeu-vos el repositori SVN, o subscriviu-vos al registre de desenvolupament per fisl de subscripció RSS.

Registre de canvis

1.0.3

  • Added Arabic-style comma substitution (kudos https://github.com/aitohamy)

1.0.2

  • Added POT file

1.0.0

  • Added shortcode to display the post date in Arabic
  • Load plugin textdomain
  • Checked compatibility with WordPress 5.0
  • Clearer documentation
  • Removed Arabic text from English readme so translation can be done via GlotPress

0.16

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

0.15

  • Initial public release.