Опис
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 [email protected]. The contribution would be greatly appreciated.
Встановлення
- Upload the
display-post.zipfile to the/wp-content/plugins/directory - 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.
