I want the "read more" button to appear to truncate the blog posts. I tried using the button insert shortcode < !--more-->", but it's not showing up.
I've tried everything I know how...
Can anyone help me?
I want the "read more" button to appear to truncate the blog posts. I tried using the button insert shortcode < !--more-->", but it's not showing up.
I've tried everything I know how...
Can anyone help me?
Share Improve this question edited Dec 28, 2013 at 20:27 fuxia♦ 107k39 gold badges255 silver badges459 bronze badges asked Dec 24, 2013 at 16:07 JCKnoellJCKnoell 211 bronze badge1 Answer
Reset to default 3From the Codex:
Excerpts (teasers) can be shown on WordPress through two methods:
- The first, keeping the
the_content()
template tag and inserting a quicktag called more at your desired "cut-off" point when editing the post.- The second, by replacing the
the_content()
template tag withthe_excerpt()
.
If one of those conditions is met, and you are not getting the <!--more-->
functionality then it is likely that your theme is doing something to bypass the the filters that make it work. Perhaps the theme is printing content via something like echo $post->post_content
or the theme or a plugin has removed filters or added filters that break the <!--more-->
tag. It is hard to say which without seeing the relevant code.