Описание
A very simple news plugin that output news.
(img, title, date, excerpt and link)
- News are order by pub date.
- A post type «NEWS» is added.
- Shortcodes
Shortcodes
All shortcodes can combines!
* [news]
Number:
* [news number=2]
Offset:
* [news offset=3]
Order:
* [news order=desc] — default
* [news order=asc]
Categories:
* [news cat=1]
* [news cat=1,2,4]
Columns / grid (CSS grid styling):
* [news col=2]
* [news col=3]
* [news col=4]
* Related (Print this shortcode on the single news sidebar, and it shows news in the same category):
* [news type=related]Shortcode page design examples
* 2 — 4 grid:
* [news number=2 col=2] [news col=4 offset=2]
2 — 4 grid (only category 3) :
* [news number=2 col=2 cat=3] [news col=4 offset=2 cat=3]
Установка
- Download the plugin, and unzip it.
- Place the News folder in your wp-content/plugins folder.
- Activate the plugin from the plugins tab of your WordPress admin.
-
Save permalink structure again — because of the post type (news)
-
Publish some news with the new post type = NEWS (Admin menu to the left)
- Use the shortcodes on a published page
Часто задаваемые вопросы
-
Can I request a feature to be added on the plugin?
-
Certainly and would love to hear about it. BUT — It is meant to be a very simple clean and useful plugin.
Please contact me with your suggestions at: www.web.dk 🙂
Отзывы
Участники и разработчики
«Simple News» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:
Участники«Simple News» переведён на 2 языка. Благодарим переводчиков за их работу.
Перевести «Simple News» на ваш язык.
Заинтересованы в разработке?
Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.