[wordpress插件] Current Age Plugin当前年龄插件

wordpress 插件 文章 2020-04-06 22:10 512 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

This plugin allows you to show current age using the shortcode [showcurrentage month=”1″ day=”1″ year=”2000″ template=”1″] in the content area and dynamically updates based on current date.

此插件可让您在内容区域中使用简码[showcurrentage month =” 1” day =” 1” year =” 2000” template =“ 1”]显示当前年龄,并根据当前日期动态更新。

Default template is number one if none is specified.

如果未指定,则默认模板为第一。

Templates:

模板:

Number 1: This template just outputs the number of years.

数字1:此模板仅输出年数。

Number 2: This template outputs the number of years with matching language.

数字2:此模板输出具有匹配语言的年数。

Number 3: This template outputs the number of months with matching language.

数字3:此模板输出具有匹配语言的月数。

Number 4: This template outputs the number of months and days with matching language.

数字4:此模板输出具有匹配语言的月数和天数。

Number 5: This template outputs the number of weeks and days with matching language.

数字5:此模板输出具有匹配语言的星期数和天数。

Number 6: This template outputs the number of years, weeks and days with matching language.

数字6:此模板输出具有匹配语言的年,周和天数。

Number 7: This template outputs the number of months and weeks with matching language

数字7:此模板输出具有匹配语言的月数和周数

Number 8: This template outputs the number of days with matching language

数字8:此模板输出具有匹配语言的天数

Number 9: This template outputs the number of years, months and days with matching language

数字9:此模板输出具有匹配语言的年,月和日的数量

安装步骤

This section describes how to install the plugin and get it working.

本节介绍如何安装插件并使其正常工作。

e.g.

例如

    1. Upload the CurrentAge directory to the /wp-content/plugins/ directory
    2. CurrentAge 目录上传到 / wp-content / plugins / 目录

    3. Activate the plugin through the ‘Plugins’ menu in WordPress
    4. 通过WordPress中的“插件”菜单激活插件

    5. Use [showcurrentage month=”1″ day=”1″ year=”2000″ tamplate=”1″] in content to show current age in number or by one of the templates.
    6. 在内容中使用[showcurrentage month =” 1” day =” 1” year =” 2000” tamplate =“””来显示当前年龄(按模板之一或数字)。

    7. If for some reason it is not working in the widgets area, you can then check the settings area for a fix.
    8. 如果由于某种原因它在小部件区域中不起作用,则可以检查设置区域以获取修复。

下载地址
https://downloads.wordpress.org/plugin/current-age.zip
-EOF-

AI助手支持GPT4.0