原文:https://developer.wordpress.org/themes/basics/templa […]
WordPress主题制作
如何使用get_post_type?
官网:https://developer.wordpress.org/reference/functions/ […]
wp_body_open
wp_body_open是WordPress 5.2 中最令人兴奋的新特性之一。 引入一个简单的动作钩子——& […]
the_posts_pagination()和 get_the_posts_pagination()
返回文章列表的分页式导航。
the_posts_navigation() 和 get_the_posts_navigation()
原文:https://developer.wordpress.org/reference/functions/ […]
WordPress函数:get_categories()获取所有分类信息函数
制作wordpress主题时,想要获取所有分类相关信息,可以通过get_categories()函数,该函数可 […]