Posts Tagged ‘Ticks’

WordPress – hyperlink with summary text for post

Wednesday, September 23rd, 2009

I wanted all the post on this blog to have summary’s with a read more link which ended up being simple. After a about 15 mins. or so I  figured it out. Just follow the steps below.

Step 1. Open your admin section of WordPress then go to Appearance .

Step 2. Open the Editor link. Now on the right hand side look for index.php and open that up.

Step 3. Now look for the_content(....); you want to replace the word content for excerpt so it should look like this below.

<?php the_excerpt(); ?>

So now all your post should in a summary. Now all thats left to do is add a link that say’s read more. So by following the same steps above you just need to add this right after the excerpt line. Example of mine below.

<?php the_excerpt(); ?><span><a href=”<?php the_permalink();?>”><?php the_title();?> – Read more</a></span>

Enjoy!