Archives

[archive cat="2" posts="4" orderby="name" order="ASC"]Books[/archive]

[archive cat=”2″ posts=”4″ orderby=”name” order=”ASC”]Books[/archive]

[archive cat="2" posts="5" orderby="date" order="DESC"]Magazine[/archive]

[archive cat=”2″ posts=”5″ orderby=”date” order=”DESC”]Magazine[/archive]

Usage:

You can add a new page with your posts list. Just copy and past the shortcode above.

cat –> you can find the number id of your category under Posts โ€“> Categories โ€“> Edit, then in the top bar you can find โ€œcategory&tag_ID=3โ€ณ. Without the cat, the shortcode will show all posts from the blog section.

posts –> the number of posts that you want to show

orderby –> author, title (post title), name (post slug), date, rand (random)

order –> ASC (ascending) or DESC (descending)