Using The More Tag On WordPress Pages
I want to use the <!-- more --> tag on pages as well as posts.
To use the <!-- more --> tag in WordPress Pages you have to specifically set $more as a global variable within your theme’s page template.
- Edit
page.phpwithin your theme. - Immediately after the opening <?php, add
global $more;. - Move down to where you call
the_content(). Just before this add$more = 0; - You should now have something like
<?php $more = 0;the_content(); ?> - Save your amended template
The More tag should now function within your Pages as well as your Posts.
You might also be interested in
ZenLite 2.1