TwentyForteenがアップデートした。
コンサデコンサに、TwentyFourteen 1.9を導入する際の設定項目の覚え書き。
使用テーマ:TwentyFourteen 1.9
TwentyFourteen 1.9本体
【抜粋表示の設定】
メインインデクス、カテゴリー、アーカイブ、検索結果を表示するページは全て抜粋表示にした。
【タイトルのアルファベットが自動で大文字表示になるのを停止する】
【サムネイルの表示方法を変更する】
既存のCSSに追記ではなく、変更するので、子テーマのStyle.cssではなく、Twenty Fourteenのstyle.cssを書き直す。
- TwentyFourteen のサムネイルを中央に表示する
- TwentyFourteen のサムネイルの背景色を変更する
- TwentyFourteen のサムネイルを透過表示させる
- TwentyFourteen のサムネイルの高さを指定する
【Featured表示項目の縦の長さの調節】
既存のCSSに追記ではなく、変更するので、子テーマのStyle.cssではなく、Twenty Fourteenのstyle.cssを書き直す。
【ポスト投稿やカスタム投稿にタクソノミータグを表示】
今回の変更内容:content.phpを修正
カスタム投稿のpost typeとTaxonomyが増えたので現時点での修正内容を下記に記述する。
1 2 3 |
<?php the_tags( '<footer class="entry-meta"><span class="tag-links">', '', '</span></footer>' ); ?> |
↓↓↓
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
<?php the_tags( '<footer class="entry-meta">タグ:<span class="tag-links">', '', '</span></footer>' ); ?> <?php echo get_the_term_list( $post->ID, 'appellation', '<footer class="entry-meta">項目タグ:<span class="tag-links">', '', '</span></footer>' ); ?> <?php echo get_the_term_list( $post->ID, 'biography', '<footer class="entry-meta">人名タグ:<span class="tag-links">', '', '</span></footer>' ); ?> <?php echo get_the_term_list( $post->ID, 'terminology', '<footer class="entry-meta">名称タグ:<span class="tag-links">', '', '</span></footer>' ); ?> <?php echo get_the_term_list( $post->ID, 'geography', '<footer class="entry-meta">場所タグ:<span class="tag-links">', '', '</span></footer>' ); ?> <?php echo get_the_term_list( $post->ID, 'sportsevents', '<footer class="entry-meta">大会タグ:<span class="tag-links">', '', '</span></footer>' ); ?> <?php echo get_the_term_list( $post->ID, 'clubname', '<footer class="entry-meta">クラブタグ:<span class="tag-links">', '', '</span></footer>' ); ?> <?php echo get_the_term_list( $post->ID, 'stadiumname', '<footer class="entry-meta">競技場タグ:<span class="tag-links">', '', '</span></footer>' ); ?> <?php echo get_the_term_list( $post->ID, 'guidebook-cat', '<footer class="entry-meta">コンサガイド分類:<span class="tag-links">', '', '</span></footer>' ); ?> <?php echo get_the_term_list( $post->ID, 'annual-cat', '<footer class="entry-meta">CSアニュアル分類:<span class="tag-links">', '', '</span></footer>' ); ?> <?php echo get_the_term_list( $post->ID, 'scorebook-cat', '<footer class="entry-meta">CSスコアブック分類:<span class="tag-links">', '', '</span></footer>' ); ?> <?php echo get_the_term_list( $post->ID, 'players-cat', '<footer class="entry-meta">CSプレイヤーズ分類:<span class="tag-links">', '', '</span></footer>' ); ?> <?php echo get_the_term_list( $post->ID, 'lexicon-cat', '<footer class="entry-meta">CSレキシコン分類:<span class="tag-links">', '', '</span></footer>' ); ?> <?php echo get_the_term_list( $post->ID, 'links-cat', '<footer class="entry-meta">CSリンクス分類:<span class="tag-links">', '', '</span></footer>' ); ?> <?php echo get_the_term_list( $post->ID, 'catalogue-cat', '<footer class="entry-meta">コンサシェルジュ分類:<span class="tag-links">', '', '</span></footer>' ); ?> <?php echo get_the_term_list( $post->ID, 'syllabary', '<footer class="entry-meta">五十音順:<span class="tag-links">', '', '</span></footer>' ); ?> |
【フッタ部分】
footer.phpを修正。
Proudly powered by WordPressの制御文の後ろに
| Copyright © 1996-2017 CONSA DE CONSA
を書き足す。
【コンサペディア】
(CSリンクス)
【INDEX】
(最近のコメント)
WordPressのディレクトリ内の テーマ>Twentyfourteen のディレクトリに、mycomments.phpファイルをアップする。
【子テーマ】
子テーマの内容は、アップデートには影響ないので、特にいじらず。
【パンくずリスト】
加工するのは、Full-widthテンプレートで、子テーマ内にあるので、修正せず。
通常ページのパンくずリストは、サイドバーにウイジッドを用いて表示。
Full-widthテンプレートのパンくずリストはテンプレートを書き換える。
ともにBreadcrumb NavXT を使う。
【カスタム投稿を、アーカイブページに表示】
子テーマのfunction.phpに追記。
ホームのアーカイブページにだけ、カスタム投稿を表示しないため、三つの例文のうち、一つは使わない。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
/* * Add custom post archive */ add_action( 'pre_get_posts', 'category_any_posts' ); function category_any_posts( $query ) { if ( $query->is_category && $query->is_main_query() ) $query->set( 'post_type', 'any' ); } add_action( 'pre_get_posts', 'add_post_tag_archive' ); function add_post_tag_archive( $wp_query ) { if ($wp_query->is_main_query() && $wp_query->is_tag()) { $wp_query->set( 'post_type', 'any' ); } } |
表示を左端固定表示から中央揃えに変更
CSSの変更箇所は、子テーマ内のCSSに。
いくつかのウイジッドのCSSも子テーマ内に記述
full-widthのテンプレートも子テーマ内なので、特にいじらず。
widgetのCSSも子テーマ内のCSSに。
以上、現時点での子テーマCSSでの設定項目
Hタグのタイトルデザイン
fullwidthtemplateのCSS
bladcrambのCSS
List Styleの WidgetsのCSS
(試験中の横線(hrタグ)用のCSS)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 |
/* Theme Name: Child24 Template: twentyfourteen */ @import url('../twentyfourteen/style.css'); /* title css改造分追加改変*/ .subtitle01 { border-left: 15px solid #b22222; padding: .6em .8em; font-weight: bold; } .subtitle02 { border-left: 30px solid #b22222; border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; padding: .6em .8em; } .subtitle02b { display: block; padding-top: .2em; font-size: .8em; color: #ccc; } .subtitle03 { border-left: 15px solid #b22222; border-bottom: 1px solid #ccc; border-top: 1px solid #ccc; padding: .6em .8em; } .subtitle04 { border-left: 15px solid #99c; padding: .6em .8em; } .cssaijiki { margin: 0 0 1.5em; padding: 0.8em; border: 2px solid #000; font-size: 1.143em; border-radius: 10px; -webkit-border-radius: 10px; -moz-border-radius: 10px; } .cssaijikititle2 { margin: 0 0 1.5em; padding: 0.8em; border: 2px solid #333; background: #333; color: #fff; font-size: 1.143em; border-radius: 10px; -webkit-border-radius: 10px; -moz-border-radius: 10px; } .cssaijikititle3 { margin: 0 0 1.5em; padding: 0.8em; border: 2px solid #99c; font-size: 1.143em; font-weight: bold; border-radius: 10px; -webkit-border-radius: 10px; -moz-border-radius: 10px; } .cssaijikititle { margin: 0 0 1.5em; padding: 0.8em; border: 2px solid #99c; font-size: 1.143em; font-weight: bold; border-radius: 10px; -webkit-border-radius: 10px; -moz-border-radius: 10px; } .csclonicle { margin: 0 0 1.5em; padding: 0.8em; border: 2px solid #000; font-size: 1.143em; border-radius: 10px; -webkit-border-radius: 10px; -moz-border-radius: 10px; } .csclonicletitle { margin: 0 0 1.5em; padding: 0.8em; border: 2px solid #B92A2C; font-size: 1.143em; font-weight: bold; border-radius: 10px; -webkit-border-radius: 10px; -moz-border-radius: 10px; } .syllabarytitle2 { margin: 0 0 1.5em; padding: 0.8em; border: 2px solid #333; background: #333; color: #fff; font-size: 1.143em; border-radius: 10px; -webkit-border-radius: 10px; -moz-border-radius: 10px; } .syllabarytitle3 { margin: 0 0 1.5em; padding: 0.8em; border: 2px solid #B92A2C; font-size: 1.143em; font-weight: bold; border-radius: 10px; -webkit-border-radius: 10px; -moz-border-radius: 10px; } .categorylist { border-left: 20px solid #b22222; border-right: 20px solid #b22222; border-top: 1px dotted #ccc; border-bottom: 1px dotted #ccc; padding: .6em .8em; } .categorylisttitle { border-left: 15px solid #b22222; padding: .6em .8em; } .lexicon-eyecatch { float: right; margin-right: 15px; margin-left: 15px; margin-bottom: 10px; } .players-subtitle2 { margin: 0 0 1.5em; padding: 0.8em; border: 2px solid #B92A2C; font-size: 1.143em; font-weight: bold; border-radius: 10px; -webkit-border-radius: 10px; -moz-border-radius: 10px; } .players-subtitle3 { border-left: 15px solid #b22222; padding: .6em .8em; } .annual-subtitle2 { position: relative; margin: 0 0 1.5em; padding: 0.8em; border: 2px solid #333; background: #333; color: #fff; font-size: 1.143em; font-weight: bold; border-radius: 10px; -webkit-border-radius: 10px; -moz-border-radius: 10px; } .annual-subtitle3 { margin: 0 0 1.5em; padding: 0.8em; border: 2px solid #333; font-size: 1.143em; font-weight: bold; border-radius: 10px; -webkit-border-radius: 10px; -moz-border-radius: 10px; } .lexicon-subtitle2 { margin: 0 0 1.5em; padding: 0.4em; border-bottom: 1px solid #999; font-size: 1.143em; font-weight: bold; } .lexicon-subtitle3 { margin: 0 0 1.5em; padding: 0.4em; border-bottom: 1px dotted #999; font-size: 1.143em; font-weight: bold; } /* fullwidthtemplate */ .page-template-page-templatesreal-full-width-php .site { width: 100%; } .page-template-page-templatesreal-full-width-php .hentry { margin: 0 auto 48px; max-width: 90%; } .page-template-page-templatesreal-full-width-php .site-content .entry-header, .page-template-page-templatesreal-full-width-php .site-content .entry-content, .page-template-page-templatesreal-full-width-php .site-content .entry-summary, .page-template-page-templatesreal-full-width-php .site-content .entry-meta, .page-template-page-templatesreal-full-width-php .page-content { margin: 0 auto; max-width: 90%; } .page-template-page-templatesreal-full-width-php .main-content, .page-template-page-templatesreal-full-width-php .content-area { float: left; width: 100%; } .page-template-page-templatesreal-full-width-php .site-content, .page-template-page-templatesreal-full-width-php .site-main .widecolumn { margin-left: 0; } .page-template-page-templatesreal-full-width-php .site:before { width: 0; } .page-template-page-templatesreal-full-width-php .site-content { margin-left: 0; margin-right: 0; } /* bladcramb */ div.breadcrumbs { margin-left: 48px; padding:5px 0 0 10px; } /* List Style Widgets (GCE and Oldpost and WPP) */ .widget_gce_widget li, .widget_oldpost_widget li, .popular-posts li { border-top: 1px solid rgba(255, 255, 255, 0.2); padding: 8px 0 9px; } .widget_gce_widget li:first-child, .widget_oldpost_widget li:first-child, .popular-posts li:first-child { border-top: 0; } .content-sidebar .widget_gce_widget li, .content-sidebar .widget_oldpost_widget li, .content-sidebar .popular-posts li { border-color: rgba(0, 0, 0, 0.1); } @media screen and (min-width: 1008px) { .primary-sidebar .widget_gce_widget li, .primary-sidebar .widget_oldpost_widget li, .primary-sidebar .popular-posts li { border-top: 0; padding: 0 0 6px; } .primary-sidebar .widget_gce_widget li:last-child, .primary-sidebar .widget_oldpost_widget li:last-child, .primary-sidebar .popular-posts li:last-child { padding: 0; } } /* Hr tag */ hr.style-players { border-top: 5px double #fff; text-align: right; margin : 100px 0px 30px 0px ; } hr.style-players:after { content: "CSプレイヤーズ|CONSA DE CONSA"; display: inline-block; position: relative; top: -1.2em; right: 2.2em; font-size: 0.8em; padding: 0 0.5em; background: white; } hr.style-annual { border-top: 5px double #fff; text-align: right; margin : 100px 0px 30px 0px ; } hr.style-annual:after { content: "CSアニュアル|CONSA DE CONSA"; display: inline-block; position: relative; top: -1.2em; right: 2.2em; font-size: 0.8em; padding: 0 0.5em; background: white; } hr.style-lexicon { border-top: 5px double #fff; text-align: right; margin : 100px 0px 30px 0px ; } hr.style-lexicon:after { content: "CSレキシコン|CONSA DE CONSA"; display: inline-block; position: relative; top: -1.2em; right: 2.2em; font-size: 0.8em; padding: 0 0.5em; background: white; } hr.style-links { border-top: 5px double #fff; text-align: right; margin : 100px 0px 30px 0px ; } hr.style-links:after { content: "CSリンクス|CONSA DE CONSA"; display: inline-block; position: relative; top: -1.2em; right: 2.2em; font-size: 0.8em; padding: 0 0.5em; background: white; } hr.style-knowledgebase { border-top: 5px double #fff; text-align: right; margin : 15px 0px 30px 0px ; } hr.style-knowledgebase:after { content: "コンサQ and A|CONSA DE CONSA"; display: inline-block; position: relative; top: -1.2em; right: 2.2em; font-size: 0.8em; padding: 0 0.5em; background: white; } hr.style-consaguide { border-top: 5px double #fff; text-align: right; margin : 100px 0px 30px 0px ; } hr.style-consaguide:after { content: "コンサガイド|CONSA DE CONSA"; display: inline-block; position: relative; top: -1.2em; right: 2.2em; font-size: 0.8em; padding: 0 0.5em; background: white; } hr.style-consapedia { border-top: 5px double #fff; text-align: right; margin : 100px 0px 30px 0px ; } hr.style-consapedia:after { content: "コンサペディア|CONSA DE CONSA"; display: inline-block; position: relative; top: -1.2em; right: 2.2em; font-size: 0.8em; padding: 0 0.5em; background: white; } hr.style-cschronicle { border-top: 5px double #fff; text-align: right; margin : 100px 0px 30px 0px ; } hr.style-cschronicle:after { content: "CSクロニクル|CONSA DE CONSA"; display: inline-block; position: relative; top: -1.2em; right: 2.2em; font-size: 0.8em; padding: 0 0.5em; background: white; } hr.style-csalmanac { border-top: 5px double #fff; text-align: right; margin : 100px 0px 30px 0px ; } hr.style-csalmanac:after { content: "CSアルマナック|CONSA DE CONSA"; display: inline-block; position: relative; top: -1.2em; right: 2.2em; font-size: 0.8em; padding: 0 0.5em; background: white; } hr.style-csconcierge { border-top: 5px double #fff; text-align: right; margin : 100px 0px 30px 0px ; } hr.style-csconcierge:after { content: "コンサシェルジュ|CONSA DE CONSA"; display: inline-block; position: relative; top: -1.2em; right: 2.2em; font-size: 0.8em; padding: 0 0.5em; background: white; } hr.style-consanote { border-top: 5px double #fff; text-align: right; margin : 100px 0px 30px 0px ; } hr.style-consanote:after { content: "コンサノート|CONSA DE CONSA"; display: inline-block; position: relative; top: -1.2em; right: 2.2em; font-size: 0.8em; padding: 0 0.5em; background: white; } /* 中央揃え */ .site { margin: 0 auto; } |
アーカイブページにカスタムタクソノミーやカスタム投稿の説明文を表示する。子テーマ内に記述しているので、特にいじらず。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 |
<header class="archive-header"> <h1 class="archive-title"> <?php if ( is_tax( 'annual-cat' ) ) : printf( __( 'CSアニュアルアーカイブ: %s', 'twentyfourteen' ), get_term_by( 'slug', get_query_var( 'term' ), 'annual-cat' )->name ); elseif ( is_tax( 'players-cat' ) ) : printf( __( 'CSプレイヤーズアーカイブ: %s', 'twentyfourteen' ), get_term_by( 'slug', get_query_var( 'term' ), 'players-cat' )->name ); elseif ( is_tax( 'lexicon-cat' ) ) : printf( __( 'CSレキシコンアーカイブ: %s', 'twentyfourteen' ), get_term_by( 'slug', get_query_var( 'term' ), 'lexicon-cat' )->name ); elseif ( is_tax( 'syllabary' ) ) : printf( __( '五十音順アーカイブ: %s', 'twentyfourteen' ), get_term_by( 'slug', get_query_var( 'term' ), 'syllabary' )->name ); elseif ( is_tax( 'guidebook-cat' ) ) : printf( __( 'コンサガイドアーカイブ: %s', 'twentyfourteen' ), get_term_by( 'slug', get_query_var( 'term' ), 'guidebook-cat' )->name ); elseif ( is_tax( 'cdc-contents' ) ) : printf( __( 'コンテンツ分類アーカイブ: %s', 'twentyfourteen' ), get_term_by( 'slug', get_query_var( 'term' ), 'cdc-contents' )->name ); elseif ( is_tax( 'biography' ) ) : printf( __( '人名別アーカイブ: %s', 'twentyfourteen' ), get_term_by( 'slug', get_query_var( 'term' ), 'biography' )->name ); elseif ( is_tax( 'appellation' ) ) : printf( __( '項目別アーカイブ: %s', 'twentyfourteen' ), get_term_by( 'slug', get_query_var( 'term' ), 'appellation' )->name ); elseif ( is_tax( 'terminology' ) ) : printf( __( '名称別アーカイブ: %s', 'twentyfourteen' ), get_term_by( 'slug', get_query_var( 'term' ), 'terminology' )->name ); elseif ( is_tax( 'geography' ) ) : printf( __( '場所別アーカイブ: %s', 'twentyfourteen' ), get_term_by( 'slug', get_query_var( 'term' ), 'geography' )->name ); elseif ( is_tax( 'sportsevents' ) ) : printf( __( '大会別アーカイブ: %s', 'twentyfourteen' ), get_term_by( 'slug', get_query_var( 'term' ), 'sportsevents' )->name ); elseif ( is_tax( 'clubname' ) ) : printf( __( 'クラブ別アーカイブ: %s', 'twentyfourteen' ), get_term_by( 'slug', get_query_var( 'term' ), 'clubname' )->name ); elseif ( is_tax( 'stadiumname' ) ) : printf( __( '競技場別アーカイブ: %s', 'twentyfourteen' ), get_term_by( 'slug', get_query_var( 'term' ), 'stadiumname' )->name ); elseif ( is_tax( 'knowledgebase-cat' ) ) : printf( __( 'Q&Aアーカイブ: %s', 'twentyfourteen' ), get_term_by( 'slug', get_query_var( 'term' ), 'knowledgebase-cat' )->name ); elseif ( is_tax( 'links-cat' ) ) : printf( __( 'リンクスアーカイブ: %s', 'twentyfourteen' ), get_term_by( 'slug', get_query_var( 'term' ), 'links-cat' )->name ); elseif ( is_tax( 'catalogue-cat' ) ) : printf( __( 'カタログアーカイブ: %s', 'twentyfourteen' ), get_term_by( 'slug', get_query_var( 'term' ), 'catalogue-cat' )->name ); else : _e( 'Archives', 'twentyfourteen' ); endif; ?> </h1> <div class="taxonomy-description"> <?php if ( is_tax( 'annual-cat' ) ) : printf( __( '%s', 'twentyfourteen' ), term_description( '' ) ); elseif ( is_tax( 'players-cat' ) ) : printf( __( '%s', 'twentyfourteen' ), term_description( '' ) ); elseif ( is_tax( 'lexicon-cat' ) ) : printf( __( '%s', 'twentyfourteen' ), term_description( '' ) ); elseif ( is_tax( 'guidebook-cat' ) ) : printf( __( '%s', 'twentyfourteen' ), term_description( '' ) ); elseif ( is_tax( 'cdc-contents' ) ) : printf( __( '%s', 'twentyfourteen' ), term_description( '' ) ); elseif ( is_tax( 'appellation' ) ) : printf( __( '%s', 'twentyfourteen' ), term_description( '' ) ); elseif ( is_tax( 'biography' ) ) : printf( __( '%s', 'twentyfourteen' ), term_description( '' ) ); elseif ( is_tax( 'terminology' ) ) : printf( __( '%s', 'twentyfourteen' ), term_description( '' ) ); elseif ( is_tax( 'geography' ) ) : printf( __( '%s', 'twentyfourteen' ), term_description( '' ) ); elseif ( is_tax( 'sportsevents' ) ) : printf( __( '%s', 'twentyfourteen' ), term_description( '' ) ); elseif ( is_tax( 'clubname' ) ) : printf( __( '%s', 'twentyfourteen' ), term_description( '' ) ); elseif ( is_tax( 'stadiumname' ) ) : printf( __( '%s', 'twentyfourteen' ), term_description( '' ) ); elseif ( is_tax( 'knowledgebase-cat' ) ) : printf( __( '%s', 'twentyfourteen' ), term_description( '' ) ); elseif ( is_tax( 'links-cat' ) ) : printf( __( '%s', 'twentyfourteen' ), term_description( '' ) ); elseif ( is_tax( 'catalogue-cat' ) ) : printf( __( '%s', 'twentyfourteen' ), term_description( '' ) ); elseif ( is_tax( 'syllabary' ) ) : printf( __( '%s', 'twentyfourteen' ), term_description( '' ) ); else : endif; ?> </div> </header><!-- .archive-header --> |
【404ページ】
404ページは、子テーマ内にあるので、特に変更しない。