原文: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()函數,該函數可 […]