0

Whenever I try out a new theme, I select it depending upon preview, which shows latest posts on Home Page, having only trimmed content with featured image and not all long post content.

However, when I install the theme on my test system, the preview shows full length content, instead of the preview.

How can I solve this problem?

1 Answer 1

1

On your theme folder, open the index.php (or, home.php, or, front-page.php), and find, if there is a function named:

the_content()

Just change it to:

the_excerpt()

P.S.: If you can't find the_content() in the mentioned file, try searching content.php, and in this case, change it with caution. Because in theme TwentyTwelve, it's used with conditional tags for different pages.

1
  • thanx! will try accordingly :) Commented Aug 21, 2013 at 6:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.