A very simple news plugin that output news.
A very simple news plugin that output news.
(img, title, date, excerpt and link)
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]
Save permalink structure again – because of the post type (news)
Publish some news with the new post type = NEWS (Admin menu to the left)
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 🙂