「続きを読む」のところに出てくる#moreを消す
カテゴリー:WordPressタイトル通り「#more-id」を消しちゃおうとおもいます
最近のwordpressって便利だね
テーマの中にあるfunction.phpに以下のコードを張り付けるだけ!
function remove_more_jump_link($link) { $offset = strpos($link, '#more-'); if ($offset) { $end = strpos($link, '"',$offset); } if ($end) { $link = substr_replace($link, '', $offset, $end-$offset); } return $link; } add_filter('the_content_more_link', 'remove_more_jump_link');
これだけ!