![Wordpress […] を消す](https://i2.wp.com/kosaeru.net/wp-content/uploads/2016/03/wordpress-589121_1920.jpg?ssl=1)
▼functions.phpに以下のコードを追加
【出力】冒頭文
| function new_excerpt_more($more) { return ''; } add_filter('excerpt_more', 'new_excerpt_more'); |
【2行目】「’」シングルクォーテーションの間に任意の文字を書くこともでける。
【出力】冒頭文…続きを読む
| function new_excerpt_more($more) { return '…続きを読む'; } add_filter('excerpt_more', 'new_excerpt_more'); |



