开发者

Get list of all posts (not pages)

开发者 https://www.devze.com 2023-01-14 23:54 出处:网络
I\'d like to create a drop down menu with all posts currently on my site using Wordpress 3.0.How can I fetch this data from the da开发者_开发技巧tabase using the wordpress API?Just get query_posts to

I'd like to create a drop down menu with all posts currently on my site using Wordpress 3.0. How can I fetch this data from the da开发者_开发技巧tabase using the wordpress API?


Just get query_posts to fetch the posts you want, then add them to the ddl in the loop.

0

精彩评论

暂无评论...
验证码 换一张
取 消