How to Show Excerpt on Homepage

For wordpress users, a post has two type of length. they are the_content and the_excerpt. You must be know that the content has full content of post, while excerpt only has the summary of it.
Most bloggers want only summary or only excerpt of each post on their homepage to meka their blog has more magazine [...]

For wordpress users, a post has two type of length. they are the_content and the_excerpt. You must be know that the content has full content of post, while excerpt only has the summary of it.

Most bloggers want only summary or only excerpt of each post on their homepage to meka their blog has more magazine and clean view. To do it, you can manually edit the PHP on Admin Page:Theme/Appearance > Theme Editor tab However, there is a simple way to do it.

I introduce my recent plugin, it is called Auto Excerpt. You can download it on WordPress Plugin Directory. With this plugin, you can automatically show only excerpt of each post which contains only 413 characters on your homepage, author page, tag page, category page, search page, and archives. Pretty simple isn’t it?

However, if you prefer using manual PHP and have more faith on that way, you can follow:

  1. Login to DashBoard
  2. Open Appereance/Theme > Editor tab
  3. Click index.php or home.php
  4. Find up the php code
    <?php the_content();?>
    or
    <?php the_content("read more content");?>;
  5. Edit and replace it with:
    <?php the_excerpt();?>
  6. Repeat the steps for other page type you want to show only the excerpt, for example: archives.php for the Archive page.
  7. Don’t change <?php the_content();?> on single.php and page.php , you don’t want to shorten your words on the post URL don’t you ?

Anyways, those method can automatically be done just by using Auto Excerpt plugin for sure! :-)

Posted on , , ,

Bookmark and Share

10 Responses to “How to Show Excerpt on Homepage”

  1. Great plugin. But, is it possible to take one single categorie out. I´ve got one post, that comes up with a picture and is fixed to the homepage of my blog. I would like to have the auto-excerpt effect with all posts, but that start-post.
    Thanks a lot,
    Christian

  2. admin says:

    ok, i will try it

  3. feakingivasse says:

    Hello! Depressing klooper for my english jer, buti very nice re say gJ$)Kd!!!.

  4. Cheeleanype says:

    Hello Depressing klooper repayment for the sake my english jer, buti explore agreeable re articulate .

  5. [...] Thanks to Hokya Development Site for this really great, lightweight plugin! [...]

  6. Keep up the good work!

  7. msnboy says:

    Hello, is it possible to show pictures, too? The excerps don’t show any pics. thanks!

  8. Hello, just today found this blog but I have to say that it seems great. I totally agree with your post. Have a nice day, keep up the nice work and I’ll definitely come back.

Leave a Reply


AJAX Random Post

  • Google is Giving $100 Free AdWords Coupon

    Do you believe it or not, Google have given free coupons for people all over the world. I can say that because i am one of them who receive a message containing free $100 AdWords Promotional Coupon. It happened on 18 August 2009, i received that email from Google WebMasters messages tab. So in my
  • How to Save More MySQL Space Using WordPress Plugin

    WordPress is a big and sophisticated blog platform. The feature are so many. While you are writting a new post, you may notice that the post is autosaved periodically per minutes. The autosave is a useful feature so you won't lose your current post if your computer is out of power. The autosaved po
  • How to Check Incoming Links

    Bloggers may wonder about their ranks, backlinks, number of visitor, who is online, feed reader, etc. That is why there are numerous of web tools or web service use this opportunity to create just free widgets for share or maybe paid services to improve the ranks theirselves. In this post, i will s
  • Auto Google Ad Section

    Auto Google Ad Section is my WordPress Plugin which will automatically put Google Section Targeting Ads indicator to your pages. It will place the snippet automatically when you activate the plugin. Google Section Targeting Ads is Google's program to help the crawler discovering the main section
  • Load Pages with AJAX

    Do you know that AJAX / Java Script can make an animation on your site during the page loading. It works just like when you make a presentation in Microsoft Power Point and create Page Slide animation every you are going to enter another page. It is AJAX Slide Wordpress plugin. This uses JQuery J

References

Who am I ?

My name is Julian Widya Perdana. I study at University of Gadjah Mada, Yogyakarta. I am a young developer addicted in JavaScript, Plugins, Themes, AJAX, and PHP developement. If you feel satisfy with my work, please support me to keep it developed