ھي پلگ ان WordPress جي جديد 3 وڏين رليزز سان آزمايو نه ويو آھي. اهو ٿي سگهي ٿو وڌيڪ برقرار يا سپورٽ نه ٿي سگهي ۽ ٿي سگهي ٿو مطابقت جا مسئلا جڏهن ورڈپریس جي وڌيڪ تازي ورزن سان استعمال ڪيو وڃي.

Simple Relative Date

وضاحت

This was based on Lester Chan’s Relative Date plugin.
It tries to simplify things a bit. This plugin can:

  • Replace the_date() in the post
  • Replace get_comment_date() or comment_date() in the comments

Note that if your theme is writing the date in a different form, it won’t work. You have to
replace its function call to one of the above (in the TwentyTen theme for example, replace twentyten_posted_on()
by the_date().

Also important to say that, comment replacement won’t work if you are using the default wp comment renderer because
it calls get_comment_time() as well. You have to do a customized callback function to use with
wp_list_comments( array( ‘callback’ => ‘your_customized_function_here’ ) ). (ok, maybe things were not
simplified that much :/)

There is a options page (under settings in the Admin) where you can choose which dates you
want to replace (posts/comments). Posts date are by default checked.

Portuguese translation included.

انسٽاليشن

  1. Upload wp-simplerelativedate.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. If necessary, change the plugin’s options in the options page under settings menu.

جائزا

ھن پلگ ان لاءِ ڪي به رايا ناھن.

تعاون ڪندڙ & ڊولپرز

“Simple Relative Date” اوپن سورس سافٽ ويئر آهي. ھيٺين ماڻھن ھن پلگ ان ۾ حصو ورتو آھي.

تعاون ڪندڙ

ترجمو ڪريو “Simple Relative Date” توهان جي ٻولي ۾.

ڊولپمينٽ ۾ دلچسپي؟

ڪوڊ براؤز ڪريو، چيڪ ڪريو SVN مخزن، يا رڪنيت حاصل ڪريو ڊولپمينٽ لاگ پاران RSS.