This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Content and Image Teaser

Description

This plugin limits content on front or archive page after set number of words, add gettexted more link to the end of it , pull out only wordpress allowed html tags, check if any xhtml tag is unclosed and close it, take and resize first image from the post.

In your theme file find

<?php the_content('Read more...'); ?> 

And replace it with

<?php content(100, __('(more...)')); ?>

Installation

  1. Unzip the content-and-image-teaser.zip file.
  2. Upload the content-and-image-teaser folder to the /wp-content/plugins/ directory.
  3. Activate the plugin through the ‘Plugins’ menu isn WordPress.
  4. Place following code in your theme (index.php, archive.php) within the loop:
<?php content(100, __('(more...)')); ?>

FAQ

1) How do I change how many words are displayed displayed?

Change 100 to another number. Example:

<?php content(150, __('(more...)')); ?>

Contributors & Developers

“Content and Image Teaser” is open source software. The following people have contributed to this plugin.

Changelog

Initial Public Release