請觀看影片:
相關資源:
1. 影片中提到要插入的提取代碼:
// Modify the default loop, include custom post types global $wp_query; $args = array_merge( $wp_query->query, array( 'post_type' => 'any' ) ); query_posts( $args );
2. 主題分類檔案說明:
https://codex.wordpress.org/Category_Templates