Linux 软件免费装
Banner图

Shortcode for Current Date

开发者 imtiazrayhan
un_rick
wpcdplugin
ultimateblocks
wpleaders1
wptb
istiakrayhan
更新时间 2023年9月13日 11:52
PHP版本: 4.0 及以上
WordPress版本: 6.3
版权: GPLv2 or later
版权网址: 版权信息

标签

shortcode year month current date

下载

2.1.9 1.2.3 1.2 1.2.1 1.2.2 1.2.4 1.2.5 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.1.0 2.1.1 2.1.3 2.1.4 1.1 2.1.2 2.2.0 1.0 2.0.8 2.1.5 2.1.6 2.1.7

详情介绍:

Shortcode for Current Date enables you to put current date, current month or current year anywhere in your WordPress site with a simple shortcode. Just use the shortcode [current_date] and when the post or page is displayed, [current_date] will be replaced by the current date. And the date will be translated according to your site settings. By default it will show a date like this: 7th May 2017 But you can customize it to your needs. To do that, you'll need to pass the date format using an attribute with the shortcode. Here are some examples: [current_date format='d/m/Y'] will show the date like this: 07/05/2017 [current_date format='F d, Y'] will show the date like this: May 07, 2017 If you don't understand how this formatting works, that's totally okay. Gutenberg Block If you are using Gutenberg editor, there's a Current Date block you can use to insert the current date in your posts/pages. If you use the block, you will not have to use the shortcode. When you insert the block, on the right sidebar under block options you will see a field to put the format for the date. Styling You can use 'size' and 'color' attributes to style the date. For example, [current_date format='d/m/Y' size='20px' color='#FF0000'] What's Next If you like this plugin, then consider checking out our other plugins: Visit WPLeaders to learn more about WordPress, WordPress themes and plugins.

安装:

This is one way you can install the plugin:
  1. Download the plugin from WordPress plugin repository and upload the zip file in 'Add New' under 'Plugins'.
  2. Activate the plugin.
Another way :
  1. From WordPress dashboard, go to Add New under Plugins section.
  2. Search for 'Shortcode for Current Date'
  3. From search results, click on 'Shortcode for Current Date'.
  4. Click on Install button and activate the plugin.

更新日志:

2.2.0 2.1.9 2.1.8 2.1.7 2.1.5 2.1.4 2.1.3 2.1.2 2.1.1 2.1.0 2.0.8 2.0.7 2.0.6 2.0.5 2.0.4 2.0.3 2.0.1 2.0.0 1.2.5 1.2.4 1.2.3 1.2.2 1.2.1 1.2 1.1 1.0