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

  • Advanced Options for WP Tag Cloud

    If you are wordpress blogger, you must be using tag cloud on your sidebar right now, don't you? Tag Cloud is wordpress default widget. It is simple but useful. You can access your tag cloud on your widgets settings. Unfortunately, you don't have any options about this useful widget. Usually, people
  • How to Make CAPTCHA

    CAPTCHA comes from words : Completely Automated Public Turing-test to tell Computers And Humans apart. As the meaning of that sentence, it is being used over hundreds pages to avoid automated requests from any scripts, (especially on registration forms). Captcha codes were restored in current page'
  • Hide Alexa Widget

    Believe it or not Alexa has become vital comparation tool to determine the crowd of a site. The most important way is placing the Alexa Widget on the site to send records of unique IP per day to Alexa I have proven that Alexa Widget is important. One of my blog Alexa was 2.500.000 but after i put A
  • MyBlogLog Avatar on Wordpress

    Have you ever imagine to put the Yahoo avatars on comments. I recently created wordpress plugin called MBLavatar (comes from mybloglog's avatar) to do it so. Check it out. You don't have to put any PHP codes, it will automatically replace all gravatars on your pages into mybloglog's or Yahoo's avat
  • Post Excerpt for Blogger

    Home page excerpts gives your audience a brief view about a bunch of your posts at once and if they are interested in any of them, they’ll click on that post link to read the full entry. Note that excerpts will only show when visitors view the home page or archived page. Now to do this you have

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