Making a Read More in Wordpress
« Analysis: Economic stimulus package will increase federal debt« »Get Revenue from Selling link with Ask2link »
Read more is use to cut the content of post so the content is more short. To create read more, we can use many technique, with evermore plugin, or by modify script. If you have set your WordPress site to display post excerpts on the front or home page, you will want visitors to click on the title or a link to encourage them to continue reading your post or article, right? WordPress makes this technique easy, and customizable.
Excerpts show up on WordPress through two methods. One, by replacing the template tag the_content() with the_excerpt(). Then the explicit excerpt you have entered in the Administration > Write > Post SubPanel will appear, or the first 55 words of the post’s content. Users can then click on the title to continue reading more as you have enticed them with your summary introduction.
The most commonly used method is to keep the_content() template tag and insert a quicktag called more into your post at your desired “cut-off” point.
The quicktags are the little buttons found above the editing window in your Administration > Write > Post SubPanel. They include bold, italic, links, and others, and the famous more. Put your cursor where you want to end the excerpted content of your post and click the more quicktag button. It will insert a code at that point that looks like this:
and I told him that he should get moving or I’d be
on him like a limpet. He looked at me with shock on
his face and said
<!--more-->
Read More Techniques
The parameters within the template tag the_content() are as follows:
<?php the_content('more_link_text', strip_teaser, 'more_file'); ?>
The more_link_text sets the link text like “Read More”. The second one, strip_teaser, sets whether or not the “more” link should be hidden (TRUE) or displayed (FALSE). The default is FALSE, which shows the link text. The last one, more_file, sets the link to the file that the “Read More” should link to, if you want it to be different. By default, it links to the current post file.
Tags: code, read more, script, tutorial, wordpress
posted on
on Wednesday, February 4th, 2009 at 5:25 pm
under Wordpress Tutorial
RSS 2.0 feed.
You can leave a response, or trackback from your own site.



March 26th, 2009 at 1:56 am
I keep listening to the news speak about pay per click so I have been looking around for the best site to get info on