WordPressで投稿ページ毎にdescriptionを設定する
カテゴリ: WP関連メモ![WordPress 管理画面 表示オプション 抜粋](https://blog.mechanicalman.jp/wp-content/uploads/wordpress-add-description-600x300.jpg)
投稿の編集ページ、表示オプションの中にある 抜粋
チェックボックスにチェックを入れた後、1投稿毎に 抜粋 のテキストエリアに100文字程度追加して更新。
functions.php の description を出力する箇所に
the_excerpt(); か echo get_the_excerpt();
投稿の編集ページ、表示オプションの中にある 抜粋
チェックボックスにチェックを入れた後、1投稿毎に 抜粋 のテキストエリアに100文字程度追加して更新。
functions.php の description を出力する箇所に
the_excerpt(); か echo get_the_excerpt();