AI助手支持GPT4.0
Replaces a shortcode such as [cformstable form='nameofyourform'] with a table of data or a count of information collected via the excellent CForms II.
[cformstable form='nameofyourform']
plugins / cforms2 /“> CForms II 。 p>
Examples would be:
示例为: p>
[cformstable form ='nameofyourform'] code>以显示您的表单收集了多少条目 li>[cformstable form='nameofyourform' display='table' vars='Name,Date,Comment'] to display a table of entries collected by your form [cformstable form ='nameofyourform'display ='table'vars ='Name,Date,Comment'] code>以显示表格收集的条目表 li>
[cformstable form='nameofyourform' display='table' vars='Name,Date,Comment']
[cformstable form ='nameofyourform'display ='table'vars ='Name,Date,Comment'] code>以显示表格收集的条目表 li>
ul>
Possible variables for your shortcode include:
您的简码可能的变量包括: p>
display = 'number'
'table'
'number'
display ='number' code>或'table' code> –(默认值为'number' code>) li>form = 'the name of your form' – if you don't know the names of possible forms, just use [cformstable] to get a list of options form ='表单名称' code> –如果您不知道可能的表单名称,只需使用 [cformstable] code>即可获得选项列表 li>from = DATETIME string (format: Y-m-d H:i:s). from = code> DATETIME字符串(格式: Y-m-d H:i:s code>)。Date & time defining the start of a target period, e.g.定义目标时间段开始的日期和时间,例如2008-09-17 15:00:00 (optional) 2008-09-17 15:00:00 code> (可选) em> li>to =DATETIME string (format:Y-m-d H:i:s). to code> = DATETIME字符串(格式: code> Y-m-d H:i:s )。Date & time defining the end of a target period, e.g.2014-09-17 15:00:00` (optional)定义目标时间段结束的日期和时间,例如 code> 2014-09-17 15:00:00` (可选) em> li>limit = ‘the maximum lines to show in the table or count’ (optional) limit = code>“表或计数中显示的最大行数” (可选) em> li>
'table' code> –(默认值为'number' code>) li>form = 'the name of your form' – if you don't know the names of possible forms, just use [cformstable] to get a list of options form ='表单名称' code> –如果您不知道可能的表单名称,只需使用 [cformstable] code>即可获得选项列表 li>from = DATETIME string (format: Y-m-d H:i:s). from = code> DATETIME字符串(格式: Y-m-d H:i:s code>)。Date & time defining the start of a target period, e.g.定义目标时间段开始的日期和时间,例如2008-09-17 15:00:00 (optional) 2008-09-17 15:00:00 code> (可选) em> li>to =DATETIME string (format:Y-m-d H:i:s). to code> = DATETIME字符串(格式: code> Y-m-d H:i:s )。Date & time defining the end of a target period, e.g.2014-09-17 15:00:00` (optional)定义目标时间段结束的日期和时间,例如 code> 2014-09-17 15:00:00` (可选) em> li>limit = ‘the maximum lines to show in the table or count’ (optional) limit = code>“表或计数中显示的最大行数” (可选) em> li>
'number' code>) li>form = 'the name of your form' – if you don't know the names of possible forms, just use [cformstable] to get a list of options form ='表单名称' code> –如果您不知道可能的表单名称,只需使用 [cformstable] code>即可获得选项列表 li>from = DATETIME string (format: Y-m-d H:i:s). from = code> DATETIME字符串(格式: Y-m-d H:i:s code>)。Date & time defining the start of a target period, e.g.定义目标时间段开始的日期和时间,例如2008-09-17 15:00:00 (optional) 2008-09-17 15:00:00 code> (可选) em> li>to =DATETIME string (format:Y-m-d H:i:s). to code> = DATETIME字符串(格式: code> Y-m-d H:i:s )。Date & time defining the end of a target period, e.g.2014-09-17 15:00:00` (optional)定义目标时间段结束的日期和时间,例如 code> 2014-09-17 15:00:00` (可选) em> li>limit = ‘the maximum lines to show in the table or count’ (optional) limit = code>“表或计数中显示的最大行数” (可选) em> li>
form = 'the name of your form'
[cformstable]
form ='表单名称' code> –如果您不知道可能的表单名称,只需使用 [cformstable] code>即可获得选项列表
[cformstable] code>即可获得选项列表
li>
from =
Y-m-d H:i:s
from = code> DATETIME字符串(格式: Y-m-d H:i:s code>)。Date & time defining the start of a target period, e.g.定义目标时间段开始的日期和时间,例如2008-09-17 15:00:00 (optional)
Y-m-d H:i:s code>)。Date & time defining the start of a target period, e.g.定义目标时间段开始的日期和时间,例如2008-09-17 15:00:00 (optional)
Date & time defining the start of a target period, e.g.
定义目标时间段开始的日期和时间,例如
2008-09-17 15:00:00 (optional)
2008-09-17 15:00:00
2008-09-17 15:00:00 code> (可选) em> li>to =DATETIME string (format:Y-m-d H:i:s). to code> = DATETIME字符串(格式: code> Y-m-d H:i:s )。Date & time defining the end of a target period, e.g.2014-09-17 15:00:00` (optional)定义目标时间段结束的日期和时间,例如 code> 2014-09-17 15:00:00` (可选) em> li>limit = ‘the maximum lines to show in the table or count’ (optional) limit = code>“表或计数中显示的最大行数” (可选) em> li>
to
DATETIME string (format:
). to code> = DATETIME字符串(格式: code> Y-m-d H:i:s )。Date & time defining the end of a target period, e.g.2014-09-17 15:00:00` (optional)定义目标时间段结束的日期和时间,例如 code> 2014-09-17 15:00:00` (可选) em> li>limit = ‘the maximum lines to show in the table or count’ (optional) limit = code>“表或计数中显示的最大行数” (可选) em> li>
to code> = DATETIME字符串(格式: code> Y-m-d H:i:s )。Date & time defining the end of a target period, e.g.2014-09-17 15:00:00` (optional)
DATETIME字符串(格式: code> Y-m-d H:i:s )。Date & time defining the end of a target period, e.g.2014-09-17 15:00:00` (optional)
)。Date & time defining the end of a target period, e.g.
Date & time defining the end of a target period, e.g.
定义目标时间段结束的日期和时间,例如 code> 2014-09-17 15:00:00` (可选) em> li>limit = ‘the maximum lines to show in the table or count’ (optional) limit = code>“表或计数中显示的最大行数” (可选) em> li>
limit =
limit = code>“表或计数中显示的最大行数” (可选) em> li>
Either
任一 em> p>vars = list of variable names to use as column headers separated by commas e.g. vars = code>变量名称列表,用作以逗号分隔的列标题,例如'Name,Date,Comment'.“名称,日期,注释” code>。To change the way the name is displayed, add your revised text after |, e.g.要更改名称的显示方式,请在 | code>之后添加修改后的文本,例如vars='Name|Your Name,Date,Comment' vars ='名称|您的姓名,日期,注释' code> li> ul>Or 或 em> p>cols = list of variable numbers to use as column headers separated by commas e.g. cols = code>变量编号列表,用作以逗号分隔的列标题,例如'1,2,3'.'1,2,3' code>。You can get variable numbers by posting [cformstable display='table' form='Name of your form'].您可以通过发布 [cformstable display ='table'form ='您的表单的名称'] code>获得变量号。As with the vars setting, to change the way the name is displayed, add your revised text after |, e.g.与vars设置一样,要更改名称的显示方式,请在 | code>之后添加修改后的文本,例如cols='1|Your Name,2,3'. cols ='1 |您的名字,2,3' code>。 li> ul>Optional Variables 可选变量 em> p>limit = 'the maximum lines to show in the table' (optional) limit ='表中显示的最大行数' code> (可选) em> li>sortdir = 'asc' or 'desc' (optional) sortdir ='asc' code>或'desc' code> (可选) em> li>sort = 'form', 'id', 'date', 'ip' or 'email' or any other form input field, e.g. sort ='form','id','date','ip' code>或'email' code>或任何其他表单输入字段,例如'Your Name' (optional)“您的姓名” code> (可选) em> li> ul>Count Variables计数变量 h4>deduped = TRUE or FALSE – remove duplicate IP/email addresses from count (optional) deduped = TRUE code>或 FALSE code> –从计数(可选) em> li>中删除重复的IP /电子邮件地址adjust = 'n' where n is a numerical value (+10, -20 etc.) to adjust the count displayed up or down (optional adjust ='n' code>,其中 n code>是一个数值(+ 10,-20等),用于向上或向下调整显示的计数(可选)) em> li> ul>
vars =
vars = code>变量名称列表,用作以逗号分隔的列标题,例如'Name,Date,Comment'.“名称,日期,注释” code>。To change the way the name is displayed, add your revised text after |, e.g.要更改名称的显示方式,请在 | code>之后添加修改后的文本,例如vars='Name|Your Name,Date,Comment'
'Name,Date,Comment'.
'Name,Date,Comment'
“名称,日期,注释” code>。To change the way the name is displayed, add your revised text after |, e.g.要更改名称的显示方式,请在 | code>之后添加修改后的文本,例如vars='Name|Your Name,Date,Comment'
To change the way the name is displayed, add your revised text after |, e.g.
|
要更改名称的显示方式,请在 | code>之后添加修改后的文本,例如vars='Name|Your Name,Date,Comment'
| code>之后添加修改后的文本,例如vars='Name|Your Name,Date,Comment'
vars='Name|Your Name,Date,Comment'
vars ='名称|您的姓名,日期,注释' code> li>
Or
或 em> p>cols = list of variable numbers to use as column headers separated by commas e.g. cols = code>变量编号列表,用作以逗号分隔的列标题,例如'1,2,3'.'1,2,3' code>。You can get variable numbers by posting [cformstable display='table' form='Name of your form'].您可以通过发布 [cformstable display ='table'form ='您的表单的名称'] code>获得变量号。As with the vars setting, to change the way the name is displayed, add your revised text after |, e.g.与vars设置一样,要更改名称的显示方式,请在 | code>之后添加修改后的文本,例如cols='1|Your Name,2,3'. cols ='1 |您的名字,2,3' code>。 li> ul>Optional Variables 可选变量 em> p>limit = 'the maximum lines to show in the table' (optional) limit ='表中显示的最大行数' code> (可选) em> li>sortdir = 'asc' or 'desc' (optional) sortdir ='asc' code>或'desc' code> (可选) em> li>sort = 'form', 'id', 'date', 'ip' or 'email' or any other form input field, e.g. sort ='form','id','date','ip' code>或'email' code>或任何其他表单输入字段,例如'Your Name' (optional)“您的姓名” code> (可选) em> li> ul>Count Variables计数变量 h4>deduped = TRUE or FALSE – remove duplicate IP/email addresses from count (optional) deduped = TRUE code>或 FALSE code> –从计数(可选) em> li>中删除重复的IP /电子邮件地址adjust = 'n' where n is a numerical value (+10, -20 etc.) to adjust the count displayed up or down (optional adjust ='n' code>,其中 n code>是一个数值(+ 10,-20等),用于向上或向下调整显示的计数(可选)) em> li> ul>
cols =
cols = code>变量编号列表,用作以逗号分隔的列标题,例如'1,2,3'.'1,2,3' code>。You can get variable numbers by posting [cformstable display='table' form='Name of your form'].您可以通过发布 [cformstable display ='table'form ='您的表单的名称'] code>获得变量号。As with the vars setting, to change the way the name is displayed, add your revised text after |, e.g.与vars设置一样,要更改名称的显示方式,请在 | code>之后添加修改后的文本,例如cols='1|Your Name,2,3'.
'1,2,3'.
'1,2,3'
'1,2,3' code>。You can get variable numbers by posting [cformstable display='table' form='Name of your form'].您可以通过发布 [cformstable display ='table'form ='您的表单的名称'] code>获得变量号。As with the vars setting, to change the way the name is displayed, add your revised text after |, e.g.与vars设置一样,要更改名称的显示方式,请在 | code>之后添加修改后的文本,例如cols='1|Your Name,2,3'.
You can get variable numbers by posting [cformstable display='table' form='Name of your form'].
[cformstable display='table' form='Name of your form']
您可以通过发布 [cformstable display ='table'form ='您的表单的名称'] code>获得变量号。As with the vars setting, to change the way the name is displayed, add your revised text after |, e.g.与vars设置一样,要更改名称的显示方式,请在 | code>之后添加修改后的文本,例如cols='1|Your Name,2,3'.
[cformstable display ='table'form ='您的表单的名称'] code>获得变量号。As with the vars setting, to change the way the name is displayed, add your revised text after |, e.g.与vars设置一样,要更改名称的显示方式,请在 | code>之后添加修改后的文本,例如cols='1|Your Name,2,3'.
As with the vars setting, to change the way the name is displayed, add your revised text after |, e.g.
与vars设置一样,要更改名称的显示方式,请在 | code>之后添加修改后的文本,例如cols='1|Your Name,2,3'.
| code>之后添加修改后的文本,例如cols='1|Your Name,2,3'.
cols='1|Your Name,2,3'.
cols='1|Your Name,2,3'
cols ='1 |您的名字,2,3' code>。 li>
Optional Variables
可选变量 em> p>limit = 'the maximum lines to show in the table' (optional) limit ='表中显示的最大行数' code> (可选) em> li>sortdir = 'asc' or 'desc' (optional) sortdir ='asc' code>或'desc' code> (可选) em> li>sort = 'form', 'id', 'date', 'ip' or 'email' or any other form input field, e.g. sort ='form','id','date','ip' code>或'email' code>或任何其他表单输入字段,例如'Your Name' (optional)“您的姓名” code> (可选) em> li> ul>Count Variables计数变量 h4>deduped = TRUE or FALSE – remove duplicate IP/email addresses from count (optional) deduped = TRUE code>或 FALSE code> –从计数(可选) em> li>中删除重复的IP /电子邮件地址adjust = 'n' where n is a numerical value (+10, -20 etc.) to adjust the count displayed up or down (optional adjust ='n' code>,其中 n code>是一个数值(+ 10,-20等),用于向上或向下调整显示的计数(可选)) em> li> ul>
limit = 'the maximum lines to show in the table'
limit ='表中显示的最大行数' code> (可选) em> li>sortdir = 'asc' or 'desc' (optional) sortdir ='asc' code>或'desc' code> (可选) em> li>sort = 'form', 'id', 'date', 'ip' or 'email' or any other form input field, e.g. sort ='form','id','date','ip' code>或'email' code>或任何其他表单输入字段,例如'Your Name' (optional)“您的姓名” code> (可选) em> li>
sortdir = 'asc'
'desc'
sortdir ='asc' code>或'desc' code> (可选) em> li>sort = 'form', 'id', 'date', 'ip' or 'email' or any other form input field, e.g. sort ='form','id','date','ip' code>或'email' code>或任何其他表单输入字段,例如'Your Name' (optional)“您的姓名” code> (可选) em> li>
'desc' code> (可选) em> li>sort = 'form', 'id', 'date', 'ip' or 'email' or any other form input field, e.g. sort ='form','id','date','ip' code>或'email' code>或任何其他表单输入字段,例如'Your Name' (optional)“您的姓名” code> (可选) em> li>
sort = 'form', 'id', 'date', 'ip'
'email'
sort ='form','id','date','ip' code>或'email' code>或任何其他表单输入字段,例如'Your Name' (optional)
'email' code>或任何其他表单输入字段,例如'Your Name' (optional)
'Your Name' (optional)
'Your Name'
“您的姓名” code> (可选) em> li>
deduped = TRUE
FALSE
deduped = TRUE code>或 FALSE code> –从计数(可选) em> li>中删除重复的IP /电子邮件地址adjust = 'n' where n is a numerical value (+10, -20 etc.) to adjust the count displayed up or down (optional adjust ='n' code>,其中 n code>是一个数值(+ 10,-20等),用于向上或向下调整显示的计数(可选)) em> li>
FALSE code> –从计数(可选) em> li>中删除重复的IP /电子邮件地址adjust = 'n' where n is a numerical value (+10, -20 etc.) to adjust the count displayed up or down (optional adjust ='n' code>,其中 n code>是一个数值(+ 10,-20等),用于向上或向下调整显示的计数(可选)) em> li>
adjust = 'n'
n
adjust ='n' code>,其中 n code>是一个数值(+ 10,-20等),用于向上或向下调整显示的计数(可选)
n code>是一个数值(+ 10,-20等),用于向上或向下调整显示的计数(可选)
)
) em> li>
cformstable.php
/wp-content/plugins/
cformstable.php code>上载到 / wp-content / plugins / code>目录 li>Activate the plugin through the ‘Plugins’ menu in WordPress通过WordPress中的“插件”菜单激活插件 li>Place a shortcode such [cformstable display='table'] in your post or page在您的帖子或页面中放置一个简短代码,例如 [cformstable display ='table'] code> li>
/ wp-content / plugins / code>目录 li>Activate the plugin through the ‘Plugins’ menu in WordPress通过WordPress中的“插件”菜单激活插件 li>Place a shortcode such [cformstable display='table'] in your post or page在您的帖子或页面中放置一个简短代码,例如 [cformstable display ='table'] code> li>
[cformstable display='table']
[cformstable display ='table'] code> li>
ol>
原文出处:http://www.sanshu.cn/a/6962.html
群主管理都是支付大佬