lumierece
フォーラムへの返信
-
フォーラム: テーマ
返信が含まれるトピック: TwentyFourteenのトップページのグリッドを12つにするには?@ishitaka
https://wpdocs.osdn.jp/Twenty_Fourteenできました!ありがとうございました!!!
フォーラム: テーマ
返信が含まれるトピック: TwentyFourteenのトップページのグリッドを12つにするには?ご検証までいただきありがとうございました。
既存投稿をブログのトップに固定という設定をしてグリッドに表示させようとしていますが、いまだにグリッド数が増えません・・・。キャッシュの問題と思い、スーパーリロードもしましたができませんでした。lumierece
フォーラム: テーマ
返信が含まれるトピック: TwentyFourteenのトップページのグリッドを12つにするには?フォーラム: テーマ
返信が含まれるトピック: TwentyFourteenのトップページのグリッドを12つにするには?@ishitaka-sama,
大変お世話になっております。
featured-content.phpというのがありますが、関係ありますか??下記コピペしました。<?php
/**
* The template for displaying featured content
*
* @package WordPress
* @subpackage Twenty_Fourteen
* @since Twenty Fourteen 1.0
*/
?><div id=”featured-content” class=”featured-content”>
<div class=”featured-content-inner”>
<?php
/**
* Fires before the Twenty Fourteen featured content.
*
* @since Twenty Fourteen 1.0
*/
do_action( ‘twentyfourteen_featured_posts_before’ );$featured_posts = twentyfourteen_get_featured_posts();
foreach ( (array) $featured_posts as $order => $post ) :
setup_postdata( $post );// Include the featured content template.
get_template_part( ‘content’, ‘featured-post’ );
endforeach;/**
* Fires after the Twenty Fourteen featured content.
*
* @since Twenty Fourteen 1.0
*/
do_action( ‘twentyfourteen_featured_posts_after’ );wp_reset_postdata();
?>
</div><!– .featured-content-inner –>
</div><!– #featured-content .featured-content –>フォーラム: テーマ
返信が含まれるトピック: TwentyFourteenのトップページのグリッドを12つにするには?@ishitaka-sama,
このような記載がありました。functions.phpファイルの子テーマは、親テーマファイルの前に含まれていますので、子テーマファンクションが使用されます。ヒントになればと思い下にコピペいたしました。大変お手数おかけしておりますが、何卒よろしくお願いいたします。
*
* When using a child theme you can override certain functions (those wrapped
* in a function_exists() call) by defining them first in your child theme’s
* functions.php file. The child theme’s functions.php file is included before
* the parent theme’s file, so the child theme functions would be used.lumierece
フォーラム: テーマ
返信が含まれるトピック: TwentyFourteenのトップページのグリッドを12つにするには?@ishitaka-sama,
昨晩は夜分遅くにご回答いただきありがとうございました。
私は、wordpress.comのtwentyfourteenのテーマをテーマエディターで追記したのですが、functions.phpの子テーマに追記するのは、単にfuntions.phpをテーマエディターで開いて、最後の行にご説明通りにコピペすればよかったのでしょうか?いまいち子テーマと親テーマの意味が分かっていません。ご教示お願いいたします。サイトはいまだに6グリッドになっています。12にしたいです。何卒宜しくお願いいたします。
lumiereceフォーラム: テーマ
返信が含まれるトピック: TwentyFourteenのトップページのグリッドを12つにするには?