AI助手支持GPT4.0
The WordPress plug-in Conditions for Texts allows bloggers to use IF- & IF-ELSE conditions in their posts and pages.
WordPress插件文本条件 strong>允许博主在其帖子和页面中使用IF-和IF-ELSE条件。With this amazing plug-in specific content and texts can be published in accordance with certain conditions, for example date or time.有了这个惊人的插件,可以根据某些条件(例如日期或时间)发布特定的内容和文本。 p>The plug-in comes in a standard- and extended version – this is the standard version! Please read the documentation to get information about the differences between the two versions and how to get the extended version.-for-texts / english /“ rel =” nofollow“>文档以获得有关两个版本之间的差异以及如何获取扩展版本的信息。 p>Do you have any ideas, or wishes for more variables in the plug-in included or did you find a bug – please contact us!nofollow“>与我们联系! strong> p>How to use this plug-in:如何使用此插件: h3>// In Standard Version: //在标准版本中:[IF $month == 12]It's christmas time[/IF][IF $ month == 12]现在是圣诞节[/ IF][IF $month != 12]It's not christmas time[/IF][IF $ month!= 12]现在不是圣诞节时间[/ IF][IF $hour <= 12]Before lunch[/IF][IF $hour > 12]After lunch[/IF][如果$ hour <= 12]在午餐前[/ IF] [如果$ hour> 12]在午餐后[/ IF][IF $month == 12]It's christmas time[ELSE]It's not christmas time[/IF][IF $ month == 12]现在是圣诞节[ELSE]现在不是圣诞节[/ IF]// In Extended Version://在扩展版本中:[IF $month == 12 AND $day==6]It's Saint Nicholas[ELSE]I's not Saint Nicholas[/IF][IF $ month == 12 AND $ day == 6]这是圣尼古拉斯[ELSE]我不是圣尼古拉斯[/ IF] code> pre>We recommend the use of the syntax in the plain text editing location. 我们建议在纯文本编辑位置使用该语法。 em> p>The following comparison operators are supported:支持以下比较运算符: h3>!= , == , >= , <= , < , >!=,==,> =,<=,<,> p>The following variables for the conditions are available:可以使用以下条件变量: h3>In Standard- & Extended Version:在标准版和扩展版中: h4>$day – Day (1…31) $ day strong> –天(1…31) li>$month – Month (1..12) $ month strong> –月(1..12) li>$year – Year (2018) $ year strong> –年(2018年) li>$hour – Hour (1..24) $ hour strong> –小时(1..24) li>$minute – Minute (1..59) $ minute strong>-分钟(1..59) li>$date – Date (2018-12-24) $ date strong> –日期(2018-12-24) li> ul>Only included in the Extended Version:仅包含在扩展版本中: h4>$remoteIP – IP-Address of the visitor (123.123.123.123) $ remoteIP strong> –访问者的IP地址(123.123.123.123) li>$userAgent – User-Agent of the visitor (String) $ userAgent strong> –访问者的用户代理(字符串) li>$httpReferer – Referer-URL of the visitor (String) $ httpReferer strong> –访问者的参照URL(字符串) li>$browserLanguage – Language of the Browser (e.g. de,en,…) $ browserLanguage strong> –浏览器的语言(例如de,en,…) li>$permaLink – Permanent url of the current page or post (https://…/category/title) $ permaLink strong> –当前页面或帖子的永久网址(https://…/ category / title) li>$dayOfWeek– Day of the week (0=Sonntag, 6=Samstag) $ dayOfWeek strong> –星期几(0 = Sonntag,6 = Samstag) li>$dayOfYear – Day of the year (1…365) $ dayOfYear strong> –一年中的某一天(1…365) li>$leapYear – Leap year (true, false) $ leapYear strong> – Le年(对,错) li>$amORpm – Morning or Afternoon (am, pm) $ amORpm strong> –上午或下午(上午,下午) li>$pageId– ID of the current page (int) $ pageId strong> –当前页面的ID(整数) li>$postId – ID of the current post (int) $ postId strong> –当前帖子的ID(int) li>$categoryName – Name of the category (String) $ categoryName strong> –类别的名称(字符串) li>$authorId – ID of the author (int) $ authorId strong> –作者的ID(int) li> ul>Do you have any ideas or wishes for more variables, please use our contact form! 您对更多变量有任何想法或希望,请使用我们的联系表! p>Where can i use the condition statements and which third party plugins are supported?:我在哪里可以使用条件语句以及支持哪些第三方插件? h3>You can use the conditions in the following sections: 您可以使用以下部分中的条件: strong> p>Content text of a page or post (the_content)页面或帖子的内容文本(the_content) li>Title of a page or post (the_title, pre_get_document_title)页面或帖子的标题(the_title,pre_get_document_title) li>Meta-Title and Meta-Description (wpseo_title, wpseo_metadesc)元标题和元描述(wpseo_title,wpseo_metadesc) li>Text in the header (wp_head)标题(wp_head)中的文本 li>Text in the footer (wp_footer)页脚中的文本(wp_footer) li>Text in widgets (widget_text)小部件中的文本(widget_text) li> ul>The following third party plugins are supported: 支持以下第三方插件: strong> p>Shortcode-Plugins like Shortcoder (Useful: Check if parameters in the shortcode content are set!) Shortcode插件,例如 Shortcoder (有用:检查是否设置了shortcode内容中的参数!) li>Tablepress Tablepress li> ul>If you want another plugin-support, please use our contact form! 如果您需要其他插件支持,请使用我们的联系表! p>
With this amazing plug-in specific content and texts can be published in accordance with certain conditions, for example date or time.
有了这个惊人的插件,可以根据某些条件(例如日期或时间)发布特定的内容和文本。 p>
The plug-in comes in a standard- and extended version – this is the standard version! Please read the documentation to get information about the differences between the two versions and how to get the extended version.
-for-texts / english /“ rel =” nofollow“>文档以获得有关两个版本之间的差异以及如何获取扩展版本的信息。 p>
Do you have any ideas, or wishes for more variables in the plug-in included or did you find a bug – please contact us!
nofollow“>与我们联系! strong> p>
// In Standard Version: //在标准版本中:[IF $month == 12]It's christmas time[/IF][IF $ month == 12]现在是圣诞节[/ IF][IF $month != 12]It's not christmas time[/IF][IF $ month!= 12]现在不是圣诞节时间[/ IF][IF $hour <= 12]Before lunch[/IF][IF $hour > 12]After lunch[/IF][如果$ hour <= 12]在午餐前[/ IF] [如果$ hour> 12]在午餐后[/ IF][IF $month == 12]It's christmas time[ELSE]It's not christmas time[/IF][IF $ month == 12]现在是圣诞节[ELSE]现在不是圣诞节[/ IF]// In Extended Version://在扩展版本中:[IF $month == 12 AND $day==6]It's Saint Nicholas[ELSE]I's not Saint Nicholas[/IF][IF $ month == 12 AND $ day == 6]这是圣尼古拉斯[ELSE]我不是圣尼古拉斯[/ IF] code> pre>We recommend the use of the syntax in the plain text editing location. 我们建议在纯文本编辑位置使用该语法。 em> p>The following comparison operators are supported:支持以下比较运算符: h3>!= , == , >= , <= , < , >!=,==,> =,<=,<,> p>The following variables for the conditions are available:可以使用以下条件变量: h3>In Standard- & Extended Version:在标准版和扩展版中: h4>$day – Day (1…31) $ day strong> –天(1…31) li>$month – Month (1..12) $ month strong> –月(1..12) li>$year – Year (2018) $ year strong> –年(2018年) li>$hour – Hour (1..24) $ hour strong> –小时(1..24) li>$minute – Minute (1..59) $ minute strong>-分钟(1..59) li>$date – Date (2018-12-24) $ date strong> –日期(2018-12-24) li> ul>Only included in the Extended Version:仅包含在扩展版本中: h4>$remoteIP – IP-Address of the visitor (123.123.123.123) $ remoteIP strong> –访问者的IP地址(123.123.123.123) li>$userAgent – User-Agent of the visitor (String) $ userAgent strong> –访问者的用户代理(字符串) li>$httpReferer – Referer-URL of the visitor (String) $ httpReferer strong> –访问者的参照URL(字符串) li>$browserLanguage – Language of the Browser (e.g. de,en,…) $ browserLanguage strong> –浏览器的语言(例如de,en,…) li>$permaLink – Permanent url of the current page or post (https://…/category/title) $ permaLink strong> –当前页面或帖子的永久网址(https://…/ category / title) li>$dayOfWeek– Day of the week (0=Sonntag, 6=Samstag) $ dayOfWeek strong> –星期几(0 = Sonntag,6 = Samstag) li>$dayOfYear – Day of the year (1…365) $ dayOfYear strong> –一年中的某一天(1…365) li>$leapYear – Leap year (true, false) $ leapYear strong> – Le年(对,错) li>$amORpm – Morning or Afternoon (am, pm) $ amORpm strong> –上午或下午(上午,下午) li>$pageId– ID of the current page (int) $ pageId strong> –当前页面的ID(整数) li>$postId – ID of the current post (int) $ postId strong> –当前帖子的ID(int) li>$categoryName – Name of the category (String) $ categoryName strong> –类别的名称(字符串) li>$authorId – ID of the author (int) $ authorId strong> –作者的ID(int) li> ul>Do you have any ideas or wishes for more variables, please use our contact form! 您对更多变量有任何想法或希望,请使用我们的联系表! p>Where can i use the condition statements and which third party plugins are supported?:我在哪里可以使用条件语句以及支持哪些第三方插件? h3>You can use the conditions in the following sections: 您可以使用以下部分中的条件: strong> p>Content text of a page or post (the_content)页面或帖子的内容文本(the_content) li>Title of a page or post (the_title, pre_get_document_title)页面或帖子的标题(the_title,pre_get_document_title) li>Meta-Title and Meta-Description (wpseo_title, wpseo_metadesc)元标题和元描述(wpseo_title,wpseo_metadesc) li>Text in the header (wp_head)标题(wp_head)中的文本 li>Text in the footer (wp_footer)页脚中的文本(wp_footer) li>Text in widgets (widget_text)小部件中的文本(widget_text) li> ul>The following third party plugins are supported: 支持以下第三方插件: strong> p>Shortcode-Plugins like Shortcoder (Useful: Check if parameters in the shortcode content are set!) Shortcode插件,例如 Shortcoder (有用:检查是否设置了shortcode内容中的参数!) li>Tablepress Tablepress li> ul>If you want another plugin-support, please use our contact form! 如果您需要其他插件支持,请使用我们的联系表! p>
//在标准版本中:[IF $month == 12]It's christmas time[/IF][IF $ month == 12]现在是圣诞节[/ IF][IF $month != 12]It's not christmas time[/IF][IF $ month!= 12]现在不是圣诞节时间[/ IF][IF $hour <= 12]Before lunch[/IF][IF $hour > 12]After lunch[/IF][如果$ hour <= 12]在午餐前[/ IF] [如果$ hour> 12]在午餐后[/ IF][IF $month == 12]It's christmas time[ELSE]It's not christmas time[/IF][IF $ month == 12]现在是圣诞节[ELSE]现在不是圣诞节[/ IF]// In Extended Version://在扩展版本中:[IF $month == 12 AND $day==6]It's Saint Nicholas[ELSE]I's not Saint Nicholas[/IF][IF $ month == 12 AND $ day == 6]这是圣尼古拉斯[ELSE]我不是圣尼古拉斯[/ IF]
[IF $month == 12]It's christmas time[/IF]
[IF $ month == 12]现在是圣诞节[/ IF]
[IF $month != 12]It's not christmas time[/IF]
[IF $ month!= 12]现在不是圣诞节时间[/ IF]
[IF $hour <= 12]Before lunch[/IF][IF $hour > 12]After lunch[/IF]
[如果$ hour <= 12]在午餐前[/ IF] [如果$ hour> 12]在午餐后[/ IF]
[IF $month == 12]It's christmas time[ELSE]It's not christmas time[/IF]
[IF $ month == 12]现在是圣诞节[ELSE]现在不是圣诞节[/ IF]
// In Extended Version:
//在扩展版本中:
[IF $month == 12 AND $day==6]It's Saint Nicholas[ELSE]I's not Saint Nicholas[/IF]
[IF $ month == 12 AND $ day == 6]这是圣尼古拉斯[ELSE]我不是圣尼古拉斯[/ IF]
code> pre>
We recommend the use of the syntax in the plain text editing location.
我们建议在纯文本编辑位置使用该语法。 em> p>The following comparison operators are supported:支持以下比较运算符: h3>!= , == , >= , <= , < , >!=,==,> =,<=,<,> p>The following variables for the conditions are available:可以使用以下条件变量: h3>In Standard- & Extended Version:在标准版和扩展版中: h4>$day – Day (1…31) $ day strong> –天(1…31) li>$month – Month (1..12) $ month strong> –月(1..12) li>$year – Year (2018) $ year strong> –年(2018年) li>$hour – Hour (1..24) $ hour strong> –小时(1..24) li>$minute – Minute (1..59) $ minute strong>-分钟(1..59) li>$date – Date (2018-12-24) $ date strong> –日期(2018-12-24) li> ul>Only included in the Extended Version:仅包含在扩展版本中: h4>$remoteIP – IP-Address of the visitor (123.123.123.123) $ remoteIP strong> –访问者的IP地址(123.123.123.123) li>$userAgent – User-Agent of the visitor (String) $ userAgent strong> –访问者的用户代理(字符串) li>$httpReferer – Referer-URL of the visitor (String) $ httpReferer strong> –访问者的参照URL(字符串) li>$browserLanguage – Language of the Browser (e.g. de,en,…) $ browserLanguage strong> –浏览器的语言(例如de,en,…) li>$permaLink – Permanent url of the current page or post (https://…/category/title) $ permaLink strong> –当前页面或帖子的永久网址(https://…/ category / title) li>$dayOfWeek– Day of the week (0=Sonntag, 6=Samstag) $ dayOfWeek strong> –星期几(0 = Sonntag,6 = Samstag) li>$dayOfYear – Day of the year (1…365) $ dayOfYear strong> –一年中的某一天(1…365) li>$leapYear – Leap year (true, false) $ leapYear strong> – Le年(对,错) li>$amORpm – Morning or Afternoon (am, pm) $ amORpm strong> –上午或下午(上午,下午) li>$pageId– ID of the current page (int) $ pageId strong> –当前页面的ID(整数) li>$postId – ID of the current post (int) $ postId strong> –当前帖子的ID(int) li>$categoryName – Name of the category (String) $ categoryName strong> –类别的名称(字符串) li>$authorId – ID of the author (int) $ authorId strong> –作者的ID(int) li> ul>Do you have any ideas or wishes for more variables, please use our contact form! 您对更多变量有任何想法或希望,请使用我们的联系表! p>Where can i use the condition statements and which third party plugins are supported?:我在哪里可以使用条件语句以及支持哪些第三方插件? h3>You can use the conditions in the following sections: 您可以使用以下部分中的条件: strong> p>Content text of a page or post (the_content)页面或帖子的内容文本(the_content) li>Title of a page or post (the_title, pre_get_document_title)页面或帖子的标题(the_title,pre_get_document_title) li>Meta-Title and Meta-Description (wpseo_title, wpseo_metadesc)元标题和元描述(wpseo_title,wpseo_metadesc) li>Text in the header (wp_head)标题(wp_head)中的文本 li>Text in the footer (wp_footer)页脚中的文本(wp_footer) li>Text in widgets (widget_text)小部件中的文本(widget_text) li> ul>The following third party plugins are supported: 支持以下第三方插件: strong> p>Shortcode-Plugins like Shortcoder (Useful: Check if parameters in the shortcode content are set!) Shortcode插件,例如 Shortcoder (有用:检查是否设置了shortcode内容中的参数!) li>Tablepress Tablepress li> ul>If you want another plugin-support, please use our contact form! 如果您需要其他插件支持,请使用我们的联系表! p>
!= , == , >= , <= , < , >
!=,==,> =,<=,<,> p>
ul>
Do you have any ideas or wishes for more variables, please use our contact form!
您对更多变量有任何想法或希望,请使用我们的联系表! p>
You can use the conditions in the following sections:
您可以使用以下部分中的条件: strong> p>Content text of a page or post (the_content)页面或帖子的内容文本(the_content) li>Title of a page or post (the_title, pre_get_document_title)页面或帖子的标题(the_title,pre_get_document_title) li>Meta-Title and Meta-Description (wpseo_title, wpseo_metadesc)元标题和元描述(wpseo_title,wpseo_metadesc) li>Text in the header (wp_head)标题(wp_head)中的文本 li>Text in the footer (wp_footer)页脚中的文本(wp_footer) li>Text in widgets (widget_text)小部件中的文本(widget_text) li> ul>The following third party plugins are supported: 支持以下第三方插件: strong> p>Shortcode-Plugins like Shortcoder (Useful: Check if parameters in the shortcode content are set!) Shortcode插件,例如 Shortcoder (有用:检查是否设置了shortcode内容中的参数!) li>Tablepress Tablepress li> ul>If you want another plugin-support, please use our contact form! 如果您需要其他插件支持,请使用我们的联系表! p>
The following third party plugins are supported:
支持以下第三方插件: strong> p>Shortcode-Plugins like Shortcoder (Useful: Check if parameters in the shortcode content are set!) Shortcode插件,例如 Shortcoder (有用:检查是否设置了shortcode内容中的参数!) li>Tablepress Tablepress li> ul>If you want another plugin-support, please use our contact form! 如果您需要其他插件支持,请使用我们的联系表! p>
If you want another plugin-support, please use our contact form!
如果您需要其他插件支持,请使用我们的联系表! p>
You can install this plugin directly from your WordPress dashboard:
您可以直接从WordPress仪表板安装此插件: p>
Standard-Version:
标准版: strong> p>Go to the Plugins menu and click Add New.转到插件 em>菜单,然后单击添加新 em>。 li>Search for Conditions for Texts or click on “Upload plugin” and choose the downloaded zip-file conditions-for-texts-standard.zip搜索文本条件 em>或单击“上传插件”,然后选择下载的zip文件 conditions-for-texts-standard.zip em> li>Click Install Now.点击立即安装 em>。 li>Activate the plug-in.激活插件。 li>Have fun!玩得开心! li> ol>Extended-Version: 扩展版本: strong> p>Download the Extended Version from here 从此处下载扩展版本 li>Go to the Plugins menu and click Add New.转到插件 em>菜单,然后单击添加新 em>。 li>Click on “Upload plugin” and choose the downloaded zip-file conditions-for-texts-extended.zip点击“上传插件”,然后选择下载的zip文件 conditions-for-texts-extended.zip em> li>Click Install Now.点击立即安装 em>。 li>Activate the plug-in.激活插件。 li>Have fun!玩得开心! li> ol>
ol>
Extended-Version:
扩展版本: strong> p>Download the Extended Version from here 从此处下载扩展版本 li>Go to the Plugins menu and click Add New.转到插件 em>菜单,然后单击添加新 em>。 li>Click on “Upload plugin” and choose the downloaded zip-file conditions-for-texts-extended.zip点击“上传插件”,然后选择下载的zip文件 conditions-for-texts-extended.zip em> li>Click Install Now.点击立即安装 em>。 li>Activate the plug-in.激活插件。 li>Have fun!玩得开心! li> ol>
原文出处:http://www.sanshu.cn/a/8261.html
群主管理都是支付大佬