1
我必須爲以下我如何顯示特定月份每週的帖子?
九月顯示帖子2010
週五2010年9月24日
post1
post2
.
.
.
週五2010年9月17日
post1
post2
.
.
.
週五2010年9月10日
post1
post2
.
.
.
週五2010年9月3日
post1
post2
.
.
.
任何一個可以告訴,如何才能做到這一點?或者我應該使用哪些功能?
我用下面的函數,我得到了在當月所有崗位
query_posts("year=$current_year&monthnum=$current_month")
我該怎麼讓每週的職位本月的?
是它的工作query_posts(""year=$current_year&monthnum=$current_month&post_date >$startDate&post_date <=$endDate")
或什麼是另一種好辦法?
您可能想要在wordpress.stackexchange.com上提問。 – CanSpice 2010-09-28 20:04:42
感謝您的評論 – 2010-09-28 20:20:08