ページあるいは投稿において、以下のショートコードを使うことで動的にサイトマップを表示させることができます
- よくあるサイトマップを表示する
- ページを表示する
- To display the pages sorted by menu order. Possible values are: ‘post_title’, ‘menu_order’, ‘post_date’, ‘post_modified’, ‘ID’, ‘post_author’, ‘post_name’.
- 投稿をカテゴリーごとに表示する
- To display the posts by category. Categories sorted by number of posts. Possible values are: ‘id’, ‘name’, ‘slug’, ‘count’, ‘term_group’
- To display the posts by category. Posts sorted by name with ascendent order. Possible values for “order” attribute are: ‘ASC’, ‘DESC’
- To hide the word “category” on the title of each category
- カテゴリーを表示する
- To display the categories sorted by number of posts. Possible values are: ‘id’, ‘name’, ‘slug’, ‘count’, ‘term_group’
- タグを表示する
- アーカイブを表示する
- 著者を表示する
- To display the authors, sorted by number of posts by author. Possible values are: ‘name’, ‘email’, ‘url’, ‘registered’, ‘id’, ‘user_login’, ‘post_count’.
- タイトルなしのサイトマップを表示する
- プライベート記事のみ表示する