外掛說明
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.
安裝方式
- Upload the
display-post.zip
file to the/wp-content/plugins/
directory - Activate the plugin through the Plugins Manager in the WordPress dashboard.
使用者評論
這個外掛目前沒有任何使用者評論。
參與者及開發者
變更記錄
Version 1.1
Fixed full post output!
Version 1.0
Initial plugin release.