Combined with Panel (Pro)

Shortcode
[su_panel][su_posts template="templates/list-loop.php"][/su_panel]

Combined with Section (Pro)

Google Maps

Description This shortcode allows you to display Google maps, easily. Options Option namePossible valuesDefault valuewidthMap widthNumber from 200 to 1600600heightMap heightNumber from 200 to 1600400responsiveIgnore width and height parameters and…

Button

Description This shortcode allows you to create highly customizable buttons. You can change button style, colors, size, add an icon or description. One of the most powerful shortcodes of the…

Shortcode
[su_section image="https://example.com/section-1.jpg" fullwidth="yes" max_width="620"][su_posts template="templates/list-loop.php"][/su_section]

Templates

Default Template

This template shows a simple posts list with thumbnails and excerpts

Icon panel

Description This shortcode allows you to create beautiful panels with icons on top. Options Option name Possible values Default value backgroundPanel background color #HEX color #ffffff colorPanel text color #HEX…

Accordion

Description This shortcode allows you to create blocks with hidden content – spoilers (toggles). Hidden content will be shown when the block title will be clicked. You can specify different…

Members

Description This shortcode allows you to display content only to registered users. Options Option name Possible values Default value messageMessage for not logged users Any text value This content is…

QR code

Description This shortcode allows you to create colorful QR codes. Options data The content to store in the QR code. You can use here any text or even URL.Use %CURRENT_URL%…

Shortcode
[su_posts template="templates/default-loop.php" posts_per_page="4" orderby="rand"]

Teasers Template

This template shows posts as small teasers, it can be useful for sidebar

Shortcode
[su_posts template="templates/teaser-loop.php"]

Single Post Template

With this template you can easily display a single post

Posts not found

Shortcode
[su_posts template="templates/single-post.php" id="123"]

Replace 123 with the desired post ID

List Template

Plain list of post titles

Shortcode
[su_posts template="templates/list-loop.php"]

Limit the number of Posts

Use the posts_per_page attribute to limit the number of posts shown. For example, the list below only shows 2 posts.

Shortcode
[su_posts template="templates/list-loop.php" posts_per_page="2"]