The Mercury theme custom shortcodes for posts

Home » The Mercury theme custom shortcodes for posts

The Mercury theme custom shortcodes become available after installing and activating the Mercury Addons plugin.

Fill in only the shortcode parameters that you use, and leave the rest blank. By default, items in shortcodes are sorted by date added.


Shortcode #1

[mercury-posts-1 items_number="8" category="45,23" columns="4" items_id="456,123,789" title="Shortcode #1"]

The available shortcode parameters:

items_number – the number of items to display.
category – the category numeric ID. It is possible to add multiple IDs separated by commas.
columns – the number of columns. Available values: 1, 2, 3, or 4.
items_id – the post numeric IDs separated by commas. Sort by order of IDs.
title – the shortcode title.


Shortcode #2

[mercury-posts-2 category="45,23" items_id="456,123,789" title="Shortcode #2"]

The available shortcode parameters:

category – the category numeric ID. It is possible to add multiple IDs separated by commas.
items_id – the post numeric IDs separated by commas. Sort by order of IDs.
title – the shortcode title.


Shortcode #3

[mercury-posts-3 items_number="4" category="45,23" columns="4" items_id="456,123,789" title="Shortcode #3"]

The available shortcode parameters:

items_number – the number of items to display.
category – the category numeric ID. It is possible to add multiple IDs separated by commas.
columns – the number of columns. Available values: 1, 2, 3, or 4.
items_id – the post numeric IDs separated by commas. Sort by order of IDs.
title – the shortcode title.


Shortcode #4

[mercury-posts-4 items_number="4" category="45,23" columns="4" post_format="video" items_id="456,123,789" title="Shortcode #4"]

The available shortcode parameters:

items_number – the number of items to display.
category – the category numeric ID. It is possible to add multiple IDs separated by commas.
columns – the number of columns. Available values: 1, 2, 3, or 4.
post_format – The format of the posts to be displayed. Available values: video, image, or gallery. You can leave this option blank to display posts all formats.
items_id – the post numeric IDs separated by commas. Sort by order of IDs.
title – the shortcode title.


Shortcode #5

[mercury-posts-5 items_number="3" category="45,23" items_id="456,123,789" title="Shortcode #5"]

The available shortcode parameters:

items_number – the number of items to display.
category – the category numeric ID. It is possible to add multiple IDs separated by commas.
items_id – the post numeric IDs separated by commas. Sort by order of IDs.
title – the shortcode title.


Shortcode #6

[mercury-posts-6 category="45,23" items_id="456,123,789" title="Shortcode #6"]

The available shortcode parameters:

category – the category numeric ID. It is possible to add multiple IDs separated by commas.
items_id – the post numeric IDs separated by commas. Sort by order of IDs.
title – the shortcode title.


Shortcode #7

[mercury-posts-7 items_number="8" category="45,23" columns="4" items_id="456,123,789" title="Shortcode #7"]

The available shortcode parameters:

items_number – the number of items to display.
category – the category numeric ID. It is possible to add multiple IDs separated by commas.
columns – the number of columns. Available values: 1, 2, 3, or 4.
items_id – the post numeric IDs separated by commas. Sort by order of IDs.
title – the shortcode title.


Shortcode #8

[mercury-posts-8 items_number="4" category="45,23" items_id="456,123,789" title="Shortcode #8"]

The available shortcode parameters:

items_number – the number of items to display.
category – the category numeric ID. It is possible to add multiple IDs separated by commas.
items_id – the post numeric IDs separated by commas. Sort by order of IDs.
title – the shortcode title.


Shortcode #9

[mercury-posts-9 items_number="4" category="45,23" items_id="456,123,789" title="Shortcode #9"]

The available shortcode parameters:

items_number – the number of items to display.
category – the category numeric ID. It is possible to add multiple IDs separated by commas.
items_id – the post numeric IDs separated by commas. Sort by order of IDs.
title – the shortcode title.


Shortcode #10

[mercury-posts-10 items_number="2" category="45,23" columns="2" items_id="456,123,789" title="Shortcode #10"]

The available shortcode parameters:

items_number – the number of items to display.
category – the category numeric ID. It is possible to add multiple IDs separated by commas.
columns – the number of columns. Available values: 1 or 2.
items_id – the post numeric IDs separated by commas. Sort by order of IDs.
title – the shortcode title.


Shortcode #11

[mercury-posts-11 category="45,23" items_id="456,123,789" title="Shortcode #11"]

The available shortcode parameters:

category – the category numeric ID. It is possible to add multiple IDs separated by commas.
items_id – the post numeric IDs separated by commas. Sort by order of IDs.
title – the shortcode title.

Important notice!
Before updating or making any changes, back up your site.

© Copyright 2024 Mercury Theme
Powered by WordPress | Mercury Theme