The meat of any blog is the posts, which this bit of code handles:

<div class="entry">

<?php the_content('Read the rest of this entry &raquo;'); ?> </div>

The tag titled the_content displays the content (imagine that) of a given post. Notice that this tag takes an argument as well. If you've read Chapter 6, you may recall that you can split a post into two segments by using the <!--more--> quicktag. The text you provide in this tag is the text that WordPress uses for the link to the rest of the post. If you want the link to say Keep reading... , change this code as follows:

Figure 12.7 shows the result.

Was this article helpful?

0 0

Post a comment