2017-07-31 sidebar.php 月別アーカイブ 表示 WordPRESS sidebar.php WordPress カスタムテーマ作成 WordPRESS テンプレ コピペ用 design single.php ------ <?php get_sidebar('archives'); ?> ------ sidebar-archives.php <ul> <?php $args = array( 'type' => 'monthly', // 月別を指定 'show_post_count' => true, // 投稿数を表示 ); wp_get_archives($args); ?> </ul>