插件名

Tekserve Single Post Shortcode

评分

20

安装步骤:
  1. Upload the tekservesinglepostshortcode folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Use the shortcode anywhere you want a condesed preview of a single post, e.g. [single_post id="1" showimage="show"].
  4. To use the widget, go to Appearance->Widgets and drag the Tekserve Single Post Widget into whatever widget area you’d like. Enter the post id, check the box if you want to show the featured image, and hit save.
描述:

There are plenty of plugins to show lists of posts, but if you only want to display a condensed preview of a post on any wp page, this is the plugin for you! The shortcode accepts the numeric id of any post as an attribute, and will display a preview that links to that post. This preview is generated with easily styled html. To show or hide the featured image for your single post preview, pass the attribute showimage with either hide or show. It’s pretty easy!

For fun, I decided to also build a widget that does the same thing; it’s included and can be used like any other widget. Why not?!

下载地址:
点击下载