该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Show More for P2

描述

Automatically turn all posts into excerpts of 300 characters and add a “Show More” link that will load directly in the page. If your post includes a picture, it will also obtain a thumbnail and place that at the beginning of the excerpt. Supports Infinite Scroll, too (assuming you manually enabled it on your P2 site)!

  • Shorter posts will be left alone, unless they have a picture
  • Posts with a picture will always be turned into a thumbnail/excerpt
  • Expanding or contracting a post will scroll to the top of the post

Planned:

  • Long posts with embedded video and no image include the video in the excerpt
  • Change the character length from the admin screen

屏幕截图

  • Example of a P2 blog with plugin enabled.
  • Sample post excerpt.
  • Expanded full post.
  • Sample of thumbnail.
  • Expanded post with picture.

安装

  1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress

常见问题

Infinite Scrolling isn’t working on my P2 site

You’ll need to enable it manually. This plugin won’t do that for you.

评价

阅读所有1条评价

贡献者及开发者

「Show More for P2」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「Show More for P2」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.3.3

  • Clicking on thumbnails will expand posts
  • Clicking on blog post titles will expand posts

1.3.2

  • Fix excerpts on archive/category/search pages
  • Preserve the title on blog posts when making an excerpt

1.3.1

  • Fix cache busting of jQuery file

1.3

  • Bug fixes

1.2

  • Fix thumbnail generation for externally hosted images
  • Fix thumbnail generation for various sizes (Large, Medium) and alignments

1.1

  • Fix thumbnail generation for all images

1.0

  • Plugin release