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

  • Create Your Gravatar Widget

    You must be ever heard about MyBlogLog. It is a yahoo's social bookmarking site. They have nice widget which show the latest visitor's avatar on your blog. I was inspired by that widget and I made Recent Gravatar wordpress plugin. Maybe it's quite different with myBlogLog's. It will display your re
  • Submit URL to Bing

    As new and fresh Search Engine yet, Bing must be still running and updating their databases periodically. As Microsoft's project you must be interested to be listed on their database. So when someone search keywords, your site will be shown in SERP. Bing is still new so don't hesitate to submit y
  • Where to Sell WordPress Theme

    Are you interested in creating wordpress Themes? You want to be a freelancer of WordPress themes? Then i think you should take a look on ThemeForest. ThemeForest is a catalog of premium wordpress themes. You can join them with no requirement instead of ability of creating WordPress themes of cour
  • Introduction to PHP Image Generator

    Hello everyone, this is my new post after 2 weeks of nothing :-) By the way, i used to have an idea about automatic image or thumbnail generator. What is automatic image generator? Image generator is a generator for image:-) Here is the demo. When you call the URL like http://img.hokya.com/ca
  • How to Get Incoming Links

    Incoming links are links which anchor to your site. It is very useful for improving your ranks and make your content more popular among the others. These kind of links can be obtained by put your URL when leaving response or comments. It is an old way to manually drive visitor and links to your sit

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