Arabic Comments Number

By Amer Melebari

10+ active installationsVersion 1.2

this plugin allow you to display the number of comments with Arabic grammar

Description

the idea of the plugin from this post

bascally the plugin generats two functions you can use them in your theme

the functions are:
1. comments_number_ar(‘لا توجد تعليقات’, ‘تعليق واحد’, ‘تعليقان’, ‘% تعليقات’, ‘% تعليق’ );
2. comments_popup_link_ar(‘لا توجد تعليقات’, ‘تعليق واحد’, ‘تعليقان’, ‘% تعليقات’, ‘% تعليق’ );

the functions are similar to functions comments_number () and comments_popup_link ()
I just edit them to be correct with Arabic grammare.

  • For more information http://6efy.com/blog/?page_id=2222

Installation

  1. Upload arabic_comments_number to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Place <?php comments_number_ar('لا توجد تعليقات', 'تعليق واحد', 'تعليقان', '% تعليقات', '% تعليق' ); ?> in your templates instad of
  4. Place <?php comments_popup_link_ar('لا توجد تعليقات', 'تعليق واحد', 'تعليقان', '% تعليقات', '% تعليق' ); ?> in your templates instad of
  • For more information http://6efy.com/blog/?page_id=2222

FAQ

if you have a question just write a commnet at http://6efy.com/blog/?page_id=2222

Screenshots

Changelog

1.0

  • الاصدار الاول من الإضافة.

1.1

*استخدام الدالة get_comments_number()