[wordpress插件] Current Date for Posts, Pages, or Template帖子,页面或模板的当前日期

wordpress 插件 文章 2020-04-06 22:51 565 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

SHOW CURRENT TIME AND DATE

显示当前时间和日期

Have you ever wanted to show the date of today in your website and keep it automatically updated for Search Engines and visitors?

您是否曾经想在您的网站上显示今天的日期并自动为搜索引擎和访问者更新?

This plugin gives you maximum flexibility to choose the format and timezone for current timestamp.

此插件为您提供了最大的灵活性,可以为当前时间戳选择格式和时区。

SEO-friendly and lightweight code

SEO友好且轻量级代码

This plugin contains lightweight code to be very fast to load, SEO-friendly, and it is developed to have full compatibility with WordPress 3.1 (2011) up to WordPress 5+ (2019), from

此插件包含轻量级代码,加载速度非常快,对SEO友好,并且已开发为与WordPress 3.1(2011)以及WordPress 5+(2019)完全兼容。

PHP 5.6 up to PHP 7.3.

PHP 5.6到PHP 7.3。

FEATURES:

功能:

    • Select your timezone from a list of dozens of options.
    • 从数十个选项列表中选择您的时区。

    • Choose your favourite format to show the date
    • 选择您喜欢的格式以显示日期

    • Lightweight code to quickly load the page and keep a good pagespeed score
    • 轻巧的代码可快速加载页面并保持良好的页面速度得分

    • No cookies are set by this plugin to visitors
    • 此插件未为访问者设置cookie

    • Compatible with all resolutions: desktop, tablet, and smartphones
    • 与所有分辨率兼容:台式机,平板电脑和智能手机

    HOW TO USE:

    使用方法:

    In order to display current timestamp in your content using this plugin, you have 2 easy options to have maximum flexibility.

    为了使用此插件在您的内容中显示当前时间戳,您有2个简单的选项可提供最大的灵活性。

    OPTION 1: Use a shortcode

    选项1:使用简码

    In order to display the output in your specific posts or pages use this code:

    要在您的特定帖子或页面中显示输出,请使用以下代码:

    [Current_Date title="custom-title"]

      [当前日期标题=“自定义标题”]

    or

    [Current_Date]

      [当前日期]

    In order to display the output in your WordPress template use this code:
        

    要在WordPress模板中显示输出,请使用以下代码:
        

    <?php echo do_shortcode('[Current_Date title =“ custom-title”]');

    ?>

    ?>

    OPTION 2: Use a widget

    选项2:使用小部件

    Go to Appearance > Widgets and add Current_Date widget where you want to show it.

    转到外观> 小部件,然后在要显示它的位置添加 Current_Date 小部件。

安装步骤

In order to activate the plugin, just go to Plugins > Add New > Upload Plugin and select the .zip file of this plugin.

要激活该插件,只需转到插件>添加新>上载插件,然后选择此插件的.zip文件。

Then click on activate and the plugin has been installed correctly.

然后单击激活,表明插件已正确安装。

INSTALL FROM WITHIN WORDPRESS

从WORDPRESS中安装

    1. Visit the plugins page within your dashboard and select ‘Add New’;
    2. 访问信息中心内的插件页面,然后选择“添加新内容”;

    3. Search for ‘Current Date for Posts, Pages, or Template’;
    4. 搜索“帖子,页面或模板的当前日期”;

下载地址
https://downloads.wordpress.org/plugin/current-date-for-posts-pages-or-template.zip
-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
[wordpress插件] BSF ChangelogBSF变更日志
[wordpress插件] BP default user noificationsBP默认用户提名
[wordpress插件] AutoClaimerAutoClaimer
[wordpress插件] Debug Bar &#8211; Sidebars &amp; Widgets调试栏–侧栏和小部件
[wordpress插件] Livemesh Addons for Elementor Page Builder用于Elementor Page Builder的Livemesh插件
随便看看
教育科技公司申请微信支付被拒绝? 3932
微信公众号免300认证教程 5040
小程序已经上线,作为管理员无法在小程序数据助手查看数据? 4258
小程序广告组件通过审核,但是小程序内没有显示广告? 4333
企业微信通讯录账号被管理员误/恶意删除,怎么办? 8239
问题? 7463
如何快速搭建抽奖助手小程序(无需代码知识) 5141
许涛 大哥在吗, 要解冻小程序的时候提示信息主体不一致, 能帮忙看下吗? 6100
小程序搜一搜全称搜索不显示 麻烦解决一下!谢谢 5707
我的小程序广告收款主体是个体工商户,每个月邮寄两次发票很是麻烦,我年底的时候打包邮寄一次可以么? 5289