Introduction

Easily add post metadata to your WordPress post and pages using the Metadata Shortcode. If no data is found, the shortcode will fall back to a supplied text.

Example

For the book below, metadata is retrieved and shown on this page. A custom message can be set if no data is available for the metadata field. Unlike the post fields shortcode, no formatting is applied to the metadata.

Book

Meta Data

Website
http://100startup.com/

Subtitle
Reinvent the Way You Make a Living, Do What You Love, and Create a New Future

Recommended Age
No recommended age

Explore More Shortcodes

[intense_content_section]
<h2>Introduction</h2>
Easily add post metadata to your WordPress post and pages using the Metadata Shortcode. If no data is found, the shortcode will fall back to a supplied text.

[/intense_content_section]
[intense_content_section background_type="color" background_color="#f9f9f9" border_top="1px solid #ededed" border_bottom="1px solid #ededed"]
<h2>Example</h2>
For the book below, metadata is retrieved and shown on this page. A custom message can be set if no data is available for the metadata field. Unlike the post fields shortcode, no formatting is applied to the metadata.

[intense_row padding_top="0"]
[intense_column size="5" medium_size="5"]
<h3>Book</h3>
[intense_books post_type="intense_books" taxonomy="intense_book_category" template="two" post_count="1" post_excerpt="intense_book_excerpt" show_filter="0" filter_effects="fade, scale" navigation_color="#111111" image_size="large"]
[/intense_column]
[intense_column size="3" medium_size="3"]
<h3>Meta Data</h3>

<strong>Website</strong><br />
[intense_metadata post="1871" meta_key="intense_book_website" fallback="No website available"]

<strong>Subtitle</strong><br />
[intense_metadata post="1871" meta_key="intense_book_subtitle" fallback="No subtitle available"]

<strong>Recommended Age</strong><br />
[intense_metadata post="1871" meta_key="intense_book_recommended_age" fallback="No recommended age"]
[/intense_column]
[/intense_row]

[/intense_content_section]

[intense_snippet snippet_id="Child Theme | Shortcodes/footer" snippet_title="Shortcode Page Footer"]