コンサデコンサにTwentyFourteen 1.2を導入する際の設定項目

TwentyForteenがアップデートした。

コンサデコンサに、TwentyFourteen 1.2を導入する際の設定項目の覚え書き。

使用テーマ:TwentyFourteen 1.2


【抜粋表示の設定】

メインインデクス、カテゴリー、アーカイブ、検索結果を表示するページは全て抜粋表示にした。


【サムネイルの表示方法を変更する】
既存のCSSに追記ではなく、変更するので、子テーマのStyle.cssではなく、Twenty Fourteenのstyle.cssを書き直す。


【Featured表示項目の縦の長さの調節】
既存のCSSに追記ではなく、変更するので、子テーマのStyle.cssではなく、Twenty Fourteenのstyle.cssを書き直す。


【コンテンツ部分の横幅を拡げる】
コンテンツ部分の横幅の変更はやめた。
デフォルトの474pxで運用することにした。


【カスタム投稿にタクソノミータグを表示】

今回の変更内容
content.phpを修正

[php]
‘, ”, ‘

‘ );
?>
[/php]

↓↓↓
[php]
タグ:‘, ”, ‘

‘ ); ?>
ID, ‘biography’, ‘

人名タグ:‘, ”, ‘

‘ ); ?>
ID, ‘terminology’, ‘

名称タグ:‘, ”, ‘

‘ ); ?>
ID, ‘guidebook-cat’, ‘

コンサガイド:‘, ”, ‘

‘ ); ?>
ID, ‘annual-yealy’, ‘

CSアニュアル:‘, ”, ‘

‘ ); ?>
ID, ‘players-cat’, ‘

CSプレイヤーズ:‘, ”, ‘

‘ ); ?>
ID, ‘lexicon-cat’, ‘

CSレキシコン:‘, ”, ‘

‘ ); ?>
ID, ‘syllabary’, ‘

五十音順:‘, ”, ‘

‘ ); ?>
ID, ‘knowledgebase-cat’, ‘

Q&A:‘, ”, ‘

‘ ); ?>
[/php]


【カスタム投稿を、アーカイブページに表示】

function.phpを書き直す。


【フッタ部分】
footer.phpを修正。

Proudly powered by WordPressの制御文の後ろに

| Copyright © 1996-2014 CONSA DE CONSA

を書き足す。


【子テーマ】

CSSの変更箇所は、子テーマ内のCSSに。

full-widthのテンプレートも子テーマ内なので、特にいじらず。

widgetのCSSも子テーマ内のCSSに。

以上、現時点での子テーマCSSでの設定項目

Hタグのタイトルデザイン
fullwidthtemplateのCSS
breadcrumbのCSS
List Style WidgetsのCSS

[php]
/* title css改造分追加改変*/
.subtitle01 {
border-left: 15px solid ;
padding: .6em .8em;
}

.subtitle02 {
border-left: 15px solid ;
border-bottom: 1px solid ;
padding: .6em .8em;
}

.subtitle02b {
display: block;
padding-top: .2em;
font-size: .8em;
color: ;
}

.subtitle03 {
border-left: 15px solid ;
border-bottom: 1px solid ;
border-top: 1px solid ;
padding: .6em .8em;
}

.subtitle04 {
border-left: 15px solid ;
padding: .6em .8em;
}

.cssaijiki {
border-left: 20px solid ;
border-right: 20px solid ;
border-top: 1px dotted ;
border-bottom: 1px dotted ;
padding: .6em .8em;
}

.cssaijikititle {
border-left: 15px solid ;
padding: .6em .8em;
}

.csclonicle {
border-left: 20px solid ;
border-right: 20px solid ;
border-top: 1px dotted ;
border-bottom: 1px dotted ;
padding: .6em .8em;
}

.csclonicletitle {
border-left: 15px solid ;
padding: .6em .8em;
}

.categorylist {
border-left: 20px solid ;
border-right: 20px solid ;
border-top: 1px dotted ;
border-bottom: 1px dotted ;
padding: .6em .8em;
}

.categorylisttitle {
border-left: 15px solid ;
padding: .6em .8em;
}

.lexicon-eyecatch {
float: right;
margin-right: 15px;
margin-left: 15px;
margin-bottom: 10px;
}

/*
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)
*/

.widget_gce_widget li,
.widget_oldpost_widget 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 {
border-top: 0;
}

.content-sidebar .widget_gce_widget li,
.content-sidebar .widget_oldpost_widget li {
border-color: rgba(0, 0, 0, 0.1);
}

[/php]


【404ページ】

404ページは、子テーマ内にあるので、特に変更しない。

「コンサデコンサにTwentyFourteen 1.2を導入する際の設定項目」への1件のフィードバック

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です