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

Display A Post

描述

This is a super simple plugin that displays a specific post by post name (slug) or id. This plugin is very light weight and easy to use in pages, posts, sidebars, or anywhere shortcodes are processed.

Usage

[get-post id="23"]

Parameters

  • id = post id
  • name = post’s slug (do not use id and name together)
  • color = color of post (e.g. #aaa) : default none
  • tcolor = color of post’s title (e.g. #aaa) : default none
  • title = display post’s title : default no (yes/no)
  • full = display full post (yes/no) : default no, which displays the post’s excerpt

Lang

Currently this plugin is only in English, however, if anyone would like to translate it into another language please contact me at info@joshuawieczorek.com. The contribution would be greatly appreciated.

安装

  1. Upload the display-post.zip file to the /wp-content/plugins/ directory
  2. Activate the plugin through the Plugins Manager in the WordPress dashboard.

评价

此插件暂无评价。

贡献者及开发者

“Display A Post” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Display A Post”翻译成您的语言。

对开发感兴趣吗?

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

更新日志

Version 1.1

Fixed full post output!

Version 1.0

Initial plugin release.