Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/289.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/wordpress/12.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 如何在wordpress中生成自定义存档_Php_Wordpress_Wordpress Theming - Fatal编程技术网

Php 如何在wordpress中生成自定义存档

Php 如何在wordpress中生成自定义存档,php,wordpress,wordpress-theming,Php,Wordpress,Wordpress Theming,大家好,我只是想问一下,如何生成wordpress中的归档列表项目 我是模板制作新手。我试过这个: http://wpguy.com/articles/an-archives-page-with-all-the-posts-in-cronological-order/ 但这一个返回所有的邮件 我想要的是,每个月都有一个链接,链接到每月创建的项目列表页面 我如何在wordpress中通过适当的php、mysql查询实现这一点。Middle,@Sheikheera:感谢您的即时回复和链接。你可以检查

大家好,我只是想问一下,如何生成wordpress中的归档列表项目

我是模板制作新手。我试过这个:

http://wpguy.com/articles/an-archives-page-with-all-the-posts-in-cronological-order/

但这一个返回所有的邮件

我想要的是,每个月都有一个链接,链接到每月创建的项目列表页面


我如何在wordpress中通过适当的php、mysql查询实现这一点。

Middle,@Sheikheera:感谢您的即时回复和链接。你可以检查这个,正如你在左边的边栏中看到的,列表是以年为单位显示的,我想要的是,年的链接被删除了,但是标签仍然保留。在每年的下方,每月存档会列出指向所选月份存档的链接。如果仅获取每年可变的月份,我可以使用
将月份链接指向当月文章的博客页面