gold-star gold-star gold-star gold-star blank-star

How long will it take?

1397068449_clock 5 Minutes

Youtube Video


Not yet available

Step 1

First of all, create or navigate to the page or post that you would like to edit.

Before you use this shortcode, it is recommended that you familiarise yourself with with creating news posts, as well how posts are presented on your News page.

This shortcode will display posts similar to how they appear on your News page.

Step 2

Click on the shortcode dropdown, signified by a [] symbol.

Step 3

Click on the shortcode named ‘Posts’ to insert it into the page.

The posts shortcode contains a lot of parameters. We’ll break down each part into each step to explain them all.

Step 4

The first property we come to is layout=”thumbnails, date”. You need to delete one of these two options so it reads “thumbnails” or “date”

Thumbnails will display the featured image next to each post. Date will display a solid colour icon with the date of the post.

Step 5

The second parameter is columns=”1 or 2″. You must edit between the quotes so it reads as “1” or “2”.

If set to 1, there will be one column of posts. If set to two, there will be two columns of posts.

Step 6

Third, we come to number_posts=”4″. You can enter any number within the quotes.

This is the maximum post that will be displayed If left on the default amount 4, the four most recent posts will be displayed.

Step 7 – Optional

Fourth, we come to cat_slug=””. If you want posts in a specific category, you will need to type the category slug in-between the quotes.

In the vast majority of cases, you will want to leave this blank. If you know have multiple categories please see additional information below.

Step 8

fifth, we have title=”yes”. This must be set to either “yes” or “no”.

If set to yes, the title of each post will be displayed; no will hide the post titles.

Step 9

Next is meta=”yes”. This must be set to either “yes” or “no”.

If set to yes, the posting date will be displayed underneath the title of each post; no will hide this date.

Step 10

After that is excerpt=”yes”. This must be set to either “yes” or “no”.

If set to yes, a small preview of text from each post will be displayed; no will hide the text.

Step 11

And Finally there is excerpt_words=”15″. You can enter any number within the quotes.

This is the amount of words that will be shows in the preview text. By default, the first 15 words from each post will be shown.

If excerpt is set to “no” you can ignore this as no text will be shown regardless of any number set for excerpt_words.

Step 12

Submit, update, publish or preview your page or post and it should look similar to this image.

The following settings have been used for this example: [ posts layout=”thumbnails” columns=”1″ number_posts=”4″ cat_slug=”” title=”yes” meta=”yes” excerpt=”yes” excerpt_words=”15″ ][ /posts ]

Additional Information – Finding the Category Slug

If you have multiple categories and only wish to display one you need the link-friendly name for the category (called a Slug). To find this click on Posts located on the left side of the screen, and then click on Categories. You will see a list of all your categories similar to the screenshot beside.

Find the category that you want, copy the slug, then paste it into the quotes of the cat_slug=”” parameter within the posts shortcode.