WordPress More Tag Not Working on Custom Blog Template

Posted on Tuesday, June 21st, 2011

Many of the themes I create have a custom structure – I set up a template for the blog page, which allows separate sidebars, as well as a variety of other features to be available in the themes.

However, I recently had a request for the “Read More” link to be included in this template (rather than listing the whole post), and was a bit stumped.

So, a quick and easy way to correct this was to add the following to the php before the loop:

global $more; $more = 0;

While you can put it where you like (before the tag), just be sure it is inside php tags somewhere, such as:

<?php global $more; $more = 0; ?>

Leave a Reply

(required)

comment on this post »

No comments on this post yet.