Linux 软件免费装

Content and Image Teaser

开发者 Divine Developer
更新时间 2009年10月4日 14:15
PHP版本: 2.0 及以上
WordPress版本: 2.8.4

标签

content excerpt word limit

下载

详情介绍:

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...)')); ?>

安装:

  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...)')); ?>

更新日志:

Initial Public Release