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
- Alert
- Animated Popular
- Animated Image
- Animated Scroll New
- Audio
- Badge
- Blockquote
- Blog
- Blur New
- Books
- Button
- Chart
- Clients
- Code
- Collapsibles
- Content Box
- Content Section Popular
- Counter
- Coupons
- Custom Post Type
- Definitions
- Device Mockups
- Divider Popular
- Dropcap
- Emphasis
- Events
- FAQ
- Filler
- Flip Box Popular
- Fullscreen Video
- Gallery Popular
- Google Docs Viewer
- Guests
- Heading
- Highlight
- Hover Box
- Horizontal Ruler
- Icon Popular
- Icon List
- If New
- Image
- Image Compare
- Jobs
- Label
- Lead
- Lightbox
- Locations
- Map
- Masonry
- Members
- Menu
- Post Meta Data
- Movies
- Music
- News
- Overlay Popular
- Panel New
- Parallax Scene Popular
- Permalink
- Person
- Popover
- Portfolio
- Post Fields
- Post Media
- Pricing Table
- Progress
- Project
- Promotional Box
- QR Code
- Quotes
- Recent Books
- Recent Clients
- Recent Coupons
- Recent Events
- Recent Jobs
- Recent Locations
- Recent Movies
- Recent Music
- Recent News
- Recent Portfolios
- Recent Posts
- Recent Projects
- Recent Quotes
- Recent Recipes
[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"]