ეს პლაგინი არ დატესტილა WordPress-ის 3 ძირითად ვერსიაზე. როგორც ჩანს, ის უკვე აღარ არის მხარდაჭერილი და შესაძლოა არ იყოს თავსებადი WordPress-ის მიმდინარე ვერსიასთან.

Today's Date Inserter

აღწერა

Simply and quickly add the current date and or time to your wordpress posts by using a simple shortcode in the text of your page or post. Simply use the short code [todaysdate] in your text and when the post or page is displayed, [todaysdate] will be replaced by the current date and/or time that you defined on the settings screen.

You can also override the default format by including the format string in the shortcode.

For example, if you placed the following text in your post and your format string was set to l, F jS Y
-> Thank you for visiting my site today [todaysdate].

The date would be displayed as
-> Thank you for visiting my site today Wednesday, April 23rd 2014.

Here how to override he default setting by including the format string in the shortcode

[todaysdate format=”F Y”] would display April 2014 no matter what the default was set to.

This plugin also includes a Today’s date widget. This widget has it’s own default format, but can be overridden by and valid php date format string

The plugin also uses the timezone settings from wordpress to display the time and date.

დაყენება

  1. Upload lfo-todays-date-inserter folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

ხდკ

How do I add the date/time to my post?

Simply insert the following code into your post to display the current date/time.

[todaysdate]

How to I control the way the date or time is displayed?

In the wordpress dashboard, go to Settings->Todays date and in the box labeled “Enter the format string here” enter the format string you would like to use.
For a complete list of options visit http://www.php.net/manual/en/function.date.php

Do I have to use the same format for every post?

No. You can override the saved format by including the format string in the shortcode. For example using the shortcode [todaysdate format=”F Y”] will display April 2014

მიმოხილვები

03.09.2016
Plugin worked as expected, but it broke WP-Statistic’s time, instead of being on the timezone i set on the forum it was 5 hours behind.
03.09.2016
Needed something to easily show the current month on a WordPress page. Without the ability to directly edit the template, this plugin came in very handy.
6 რევიუს წაკითხვა

მონაწილეები & დეველოპერები

“Today's Date Inserter” ღია პროგრამული უზრუნველყოფაა. შემდეგმა ადამიანებმა წვილი შეიტანეს მის განვითარებაში.

მონაწილეები

გადათარგმნეთ Today's Date Inserter თქვენს ენაზე.

დაინტერესებული ხართ დეველოპმენტით?

დაათვალიერეთ კოდი, შეამოწმეთ SVN რეპო, ან გამოიწერეთ შექმნის ჟურნალი : RSS.

ცვლილებები

2014-08-19 version 1.2.1
Corrected a Typo in the default date string. The default will now display as Tuesday, August 19th 2014 instead of Tuesday, August, 19,th 2014
Thank you hannah!

2014-04-29 version 1.2.0
Added a Date widget

2014-04-25 version 1.1.1
corrected minor typos in readme.txt file

2014-04-24 version 1.1
added the ability to override the stroed format by including the format string in the shortcode

2014-04-22 version 1.0