display brief(excerpt) instead of full content in homepage and archeive in wordpress site

0
11

Image

All wordpress installtions by default display post content in home page. it is good to have excerpt insted here for more posts placing with a read more button to read full

to do this we need a little code editing. and steps differ from theme to theme and i am narrating here steps in general and steps for wordpress 3.0 default theme twenty eleven

first lets look in to the general case.

1.login to admin

2.goto Appearance > Editor

3.select index.php(Main Index Template)

4.Replace the_content to the_excerpt

5.Update file

Changes made check site, if you are using wordpress 3.2 with Twenty Eleven follow these steps

1.login to admin

2.goto Appearance > Editor

3.Goto content.php

4.Replace the_content to the_excerpt

5.Update file

Changes made check site

LEAVE A REPLY

Please enter your comment!
Please enter your name here