AI助手支持GPT4.0
Displays archives in a month grid with post counts for each month, with yearly and grand totals, and shows titles and comment counts for all posts.
在一个月的网格中显示存档,其中每个月的帖子数以及年度和总计,并显示所有帖子的标题和评论数。 p>
I used some years ago The French Archives but it wasn’t mantained anymore so I decided to update it and to base it in shortcode.
几年前,我曾经使用过法国档案馆,但现在已经不再使用了,因此我决定对其进行更新,并以简码为基础。 p>
Shows monthly post counts, year totals, and a grand total in a grid/table format, with links to month and year archives.
以表格/表格格式显示每月的帖子数,年份总数和总计,以及指向月份和年份档案的链接。
Like this (see also the screenshot!):
像这样(另请参见屏幕截图!): p>
Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec 一月二月三月四月五月五月六月七月八月九月十月十一月十二月2010 2 4 2 21 4 2 3 382010 2 4 2 21 4 2 3 382009 2 7 5 5 3 1 9 3 5 5 7 5 57 2009 2 7 5 5 3 1 9 3 5 5 7 5 57 9595 code> pre>If posts all fall within one calendar year, the grand total won’t be shown.如果所有帖子均属于一个日历年,则不会显示总计。 (The trailing table row will remain.)(尾随行将保留。) p>Call from content with the shortcode [DeMomentSomTres-Grid-Archive]使用短代码[DeMomentSomTres-Grid-Archive]从内容中调用 p>Two optional parameters:两个可选参数: p>$style = 'abbr' $ style ='abbr' code> li>$first_header = 'Monthly' $ first_header ='Monthly' code> li> ul>By default for $style, will show month abbreviations (abbr) in the header row, e.g.默认情况下, $ style code>会在标题行中显示月份缩写( abbr code>),例如“Jan” and “Feb”.“ Jan”和“ Feb”。Can also show first 'initial', e.g.也可以显示第一个'initial' code>,例如“J” and “F”, and 'numeric'.“ J”和“ F”,以及“数字” code>。 (abbr and initial use `wp-config.php locale.)( abbr code>和 initial code>使用`wp-config.php语言环境。) p>You can change the first header row from the default of “Monthly”, or remove it altogether by passing in an empty string.您可以将默认的“每月”更改为第一行标题,也可以通过传入空字符串将其完全删除。 p>It is based on Rob Marsh's “Compact Monthly Archive” (which was based on <它基于罗布·马什(Rob Marsh)的“紧凑型月度档案” (基于< a href="http://justinblanton.com/projects/smartarchives/" rel="nofollow">Justin Blanton's “Smart Archive”), and display a list of all posts, based on template code by Wessley Roche.http://wpguy.com/articles/an-archives-page-with-all-the-posts-in-cronologic-order/“ rel =” nofollow“> Wessley Roche的模板代码。 p >>
一月二月三月四月五月五月六月七月八月九月十月十一月十二月2010 2 4 2 21 4 2 3 382010 2 4 2 21 4 2 3 382009 2 7 5 5 3 1 9 3 5 5 7 5 57 2009 2 7 5 5 3 1 9 3 5 5 7 5 57 9595
2010 2 4 2 21 4 2 3 38
2009 2 7 5 5 3 1 9 3 5 5 7 5 57
95
code> pre>
If posts all fall within one calendar year, the grand total won’t be shown.
如果所有帖子均属于一个日历年,则不会显示总计。
(The trailing table row will remain.)
(尾随行将保留。) p>
Call from content with the shortcode [DeMomentSomTres-Grid-Archive]
使用短代码[DeMomentSomTres-Grid-Archive]从内容中调用 p>
Two optional parameters:
两个可选参数: p>
$style = 'abbr'
$ style ='abbr' code> li>$first_header = 'Monthly' $ first_header ='Monthly' code> li>
$first_header = 'Monthly'
$ first_header ='Monthly' code> li>
ul>
By default for $style, will show month abbreviations (abbr) in the header row, e.g.
$style
abbr
默认情况下, $ style code>会在标题行中显示月份缩写( abbr code>),例如“Jan” and “Feb”.“ Jan”和“ Feb”。Can also show first 'initial', e.g.也可以显示第一个'initial' code>,例如“J” and “F”, and 'numeric'.“ J”和“ F”,以及“数字” code>。 (abbr and initial use `wp-config.php locale.)( abbr code>和 initial code>使用`wp-config.php语言环境。) p>You can change the first header row from the default of “Monthly”, or remove it altogether by passing in an empty string.您可以将默认的“每月”更改为第一行标题,也可以通过传入空字符串将其完全删除。 p>It is based on Rob Marsh's “Compact Monthly Archive” (which was based on <它基于罗布·马什(Rob Marsh)的“紧凑型月度档案” (基于< a href="http://justinblanton.com/projects/smartarchives/" rel="nofollow">Justin Blanton's “Smart Archive”), and display a list of all posts, based on template code by Wessley Roche.http://wpguy.com/articles/an-archives-page-with-all-the-posts-in-cronologic-order/“ rel =” nofollow“> Wessley Roche的模板代码。 p >>
$ style code>会在标题行中显示月份缩写( abbr code>),例如“Jan” and “Feb”.“ Jan”和“ Feb”。Can also show first 'initial', e.g.也可以显示第一个'initial' code>,例如“J” and “F”, and 'numeric'.“ J”和“ F”,以及“数字” code>。 (abbr and initial use `wp-config.php locale.)( abbr code>和 initial code>使用`wp-config.php语言环境。) p>You can change the first header row from the default of “Monthly”, or remove it altogether by passing in an empty string.您可以将默认的“每月”更改为第一行标题,也可以通过传入空字符串将其完全删除。 p>It is based on Rob Marsh's “Compact Monthly Archive” (which was based on <它基于罗布·马什(Rob Marsh)的“紧凑型月度档案” (基于< a href="http://justinblanton.com/projects/smartarchives/" rel="nofollow">Justin Blanton's “Smart Archive”), and display a list of all posts, based on template code by Wessley Roche.http://wpguy.com/articles/an-archives-page-with-all-the-posts-in-cronologic-order/“ rel =” nofollow“> Wessley Roche的模板代码。 p >>
abbr code>),例如“Jan” and “Feb”.“ Jan”和“ Feb”。Can also show first 'initial', e.g.也可以显示第一个'initial' code>,例如“J” and “F”, and 'numeric'.“ J”和“ F”,以及“数字” code>。 (abbr and initial use `wp-config.php locale.)( abbr code>和 initial code>使用`wp-config.php语言环境。) p>You can change the first header row from the default of “Monthly”, or remove it altogether by passing in an empty string.您可以将默认的“每月”更改为第一行标题,也可以通过传入空字符串将其完全删除。 p>It is based on Rob Marsh's “Compact Monthly Archive” (which was based on <它基于罗布·马什(Rob Marsh)的“紧凑型月度档案” (基于< a href="http://justinblanton.com/projects/smartarchives/" rel="nofollow">Justin Blanton's “Smart Archive”), and display a list of all posts, based on template code by Wessley Roche.http://wpguy.com/articles/an-archives-page-with-all-the-posts-in-cronologic-order/“ rel =” nofollow“> Wessley Roche的模板代码。 p >>
“Jan” and “Feb”.
“ Jan”和“ Feb”。
Can also show first 'initial', e.g.
'initial'
也可以显示第一个'initial' code>,例如“J” and “F”, and 'numeric'.“ J”和“ F”,以及“数字” code>。 (abbr and initial use `wp-config.php locale.)( abbr code>和 initial code>使用`wp-config.php语言环境。) p>You can change the first header row from the default of “Monthly”, or remove it altogether by passing in an empty string.您可以将默认的“每月”更改为第一行标题,也可以通过传入空字符串将其完全删除。 p>It is based on Rob Marsh's “Compact Monthly Archive” (which was based on <它基于罗布·马什(Rob Marsh)的“紧凑型月度档案” (基于< a href="http://justinblanton.com/projects/smartarchives/" rel="nofollow">Justin Blanton's “Smart Archive”), and display a list of all posts, based on template code by Wessley Roche.http://wpguy.com/articles/an-archives-page-with-all-the-posts-in-cronologic-order/“ rel =” nofollow“> Wessley Roche的模板代码。 p >>
'initial' code>,例如“J” and “F”, and 'numeric'.“ J”和“ F”,以及“数字” code>。 (abbr and initial use `wp-config.php locale.)( abbr code>和 initial code>使用`wp-config.php语言环境。) p>You can change the first header row from the default of “Monthly”, or remove it altogether by passing in an empty string.您可以将默认的“每月”更改为第一行标题,也可以通过传入空字符串将其完全删除。 p>It is based on Rob Marsh's “Compact Monthly Archive” (which was based on <它基于罗布·马什(Rob Marsh)的“紧凑型月度档案” (基于< a href="http://justinblanton.com/projects/smartarchives/" rel="nofollow">Justin Blanton's “Smart Archive”), and display a list of all posts, based on template code by Wessley Roche.http://wpguy.com/articles/an-archives-page-with-all-the-posts-in-cronologic-order/“ rel =” nofollow“> Wessley Roche的模板代码。 p >>
“J” and “F”, and 'numeric'.
'numeric'
“ J”和“ F”,以及“数字” code>。 (abbr and initial use `wp-config.php locale.)( abbr code>和 initial code>使用`wp-config.php语言环境。) p>You can change the first header row from the default of “Monthly”, or remove it altogether by passing in an empty string.您可以将默认的“每月”更改为第一行标题,也可以通过传入空字符串将其完全删除。 p>It is based on Rob Marsh's “Compact Monthly Archive” (which was based on <它基于罗布·马什(Rob Marsh)的“紧凑型月度档案” (基于< a href="http://justinblanton.com/projects/smartarchives/" rel="nofollow">Justin Blanton's “Smart Archive”), and display a list of all posts, based on template code by Wessley Roche.http://wpguy.com/articles/an-archives-page-with-all-the-posts-in-cronologic-order/“ rel =” nofollow“> Wessley Roche的模板代码。 p >>
“数字” code>。 (abbr and initial use `wp-config.php locale.)( abbr code>和 initial code>使用`wp-config.php语言环境。) p>You can change the first header row from the default of “Monthly”, or remove it altogether by passing in an empty string.您可以将默认的“每月”更改为第一行标题,也可以通过传入空字符串将其完全删除。 p>It is based on Rob Marsh's “Compact Monthly Archive” (which was based on <它基于罗布·马什(Rob Marsh)的“紧凑型月度档案” (基于< a href="http://justinblanton.com/projects/smartarchives/" rel="nofollow">Justin Blanton's “Smart Archive”), and display a list of all posts, based on template code by Wessley Roche.http://wpguy.com/articles/an-archives-page-with-all-the-posts-in-cronologic-order/“ rel =” nofollow“> Wessley Roche的模板代码。 p >>
(abbr and initial use `wp-config.php locale.)
initial
( abbr code>和 initial code>使用`wp-config.php语言环境。) p>You can change the first header row from the default of “Monthly”, or remove it altogether by passing in an empty string.您可以将默认的“每月”更改为第一行标题,也可以通过传入空字符串将其完全删除。 p>It is based on Rob Marsh's “Compact Monthly Archive” (which was based on <它基于罗布·马什(Rob Marsh)的“紧凑型月度档案” (基于< a href="http://justinblanton.com/projects/smartarchives/" rel="nofollow">Justin Blanton's “Smart Archive”), and display a list of all posts, based on template code by Wessley Roche.http://wpguy.com/articles/an-archives-page-with-all-the-posts-in-cronologic-order/“ rel =” nofollow“> Wessley Roche的模板代码。 p >>
abbr code>和 initial code>使用`wp-config.php语言环境。) p>You can change the first header row from the default of “Monthly”, or remove it altogether by passing in an empty string.您可以将默认的“每月”更改为第一行标题,也可以通过传入空字符串将其完全删除。 p>It is based on Rob Marsh's “Compact Monthly Archive” (which was based on <它基于罗布·马什(Rob Marsh)的“紧凑型月度档案” (基于< a href="http://justinblanton.com/projects/smartarchives/" rel="nofollow">Justin Blanton's “Smart Archive”), and display a list of all posts, based on template code by Wessley Roche.http://wpguy.com/articles/an-archives-page-with-all-the-posts-in-cronologic-order/“ rel =” nofollow“> Wessley Roche的模板代码。 p >>
initial code>使用`wp-config.php语言环境。) p>You can change the first header row from the default of “Monthly”, or remove it altogether by passing in an empty string.您可以将默认的“每月”更改为第一行标题,也可以通过传入空字符串将其完全删除。 p>It is based on Rob Marsh's “Compact Monthly Archive” (which was based on <它基于罗布·马什(Rob Marsh)的“紧凑型月度档案” (基于< a href="http://justinblanton.com/projects/smartarchives/" rel="nofollow">Justin Blanton's “Smart Archive”), and display a list of all posts, based on template code by Wessley Roche.http://wpguy.com/articles/an-archives-page-with-all-the-posts-in-cronologic-order/“ rel =” nofollow“> Wessley Roche的模板代码。 p >>
You can change the first header row from the default of “Monthly”, or remove it altogether by passing in an empty string.
您可以将默认的“每月”更改为第一行标题,也可以通过传入空字符串将其完全删除。 p>
It is based on Rob Marsh's “Compact Monthly Archive” (which was based on <
它基于罗布·马什(Rob Marsh)的“紧凑型月度档案” (基于<
a href="http://justinblanton.com/projects/smartarchives/" rel="nofollow">Justin Blanton's “Smart Archive”), and display a list of all posts, based on template code by Wessley Roche.
http://wpguy.com/articles/an-archives-page-with-all-the-posts-in-cronologic-order/“ rel =” nofollow“> Wessley Roche的模板代码。 p
>
ol>
原文出处:http://www.sanshu.cn/a/10584.html
群主管理都是支付大佬