You might want to check out…
http://codex.wordpress.org/Function_Reference/do_shortcode
But the gist for using shortcodes in a template is as follows…
// Use shortcode in a PHP file (outside the post editor).
do_shortcode('');
Related Posts:
- Add Content to Page without shortcodes
- Shortcode in pages or tempate files for custom post type
- Navigation links to posts in current term shortcode
- single-{$post_type}-{slug}.php for custom post types
- How to pass URL parameters for advanced taxonomy queries with multiple terms for one custom taxonomy
- Multiple Single Post templates
- How to set a fall back template for a custom post type in a plugin?
- How to list/show all custom post types regardless of category?
- Shortcode Displaying Custom Post Types
- Need some templating advice for templating with custom post types and taxonomies
- Custom Post Type with Nested Taxonomy and Template Files
- Template tags to display custom post type posts in category template?
- custom post type archive template per custom taxonomy term
- Custom post type loops with different page templates
- Custom Select Query with Custom Post Types
- Custom Post Type Templates?
- IF statement in a do_shortcode
- Custom Post Type .current-menu-item not applying on Custom Post Type Archive Page
- Lock post meta block at the bottom of a custom post type
- How do I provide a “show all posts” link in a paginated term archive?
- How can I force custom post type to use a specific template?
- Multiple templates for a custom post type
- Custom Post Type Loop within Shortcode
- Plugin templates in which directory
- Using wordpress template tags within an array
- How to display Custom Post Type Post based on Tag with Shortcode Parameter?
- Include custom post type single template, but respect theme override of template if it exists
- Custom post type not using custom template
- How to enable shortcodes in a custom post type?
- Get custom fields from a custom post type with a shortcode
- Query with no terms uses index.php template instead of archive.php
- Create template for taxonomy results limited by Custom Post Type
- WordPress Custom Post Type Children Template
- Getting template_include to work when allow_url_include is off?
- 2 Templates 1 custom post type according url
- Form action/link to render a plugin in WordPress front-end
- custom post type category count shortcode
- Migrating a taxonomy’s tags to the native category
- Custom templates for a specific category
- How to retrieve category of a post in have_post loop?
- Custom posts template page
- the_post() is printing titles in page footer
- Add Previous/Next Buttons to CPT Single Pages Only
- Add custom attributes to a post
- Creating separate feeds for custom post types
- How to get_term_meta on single custom post?
- How do I find a way to create a global single.php for a custom post type?
- Templates for hierarchical custom post type
- How to use single.php for creating, reading and editing Custom Posts with ACF
- Filter content in shortcode
- Apply template by path/slug related to custom post type?
- How to get the current category with custom posts
- Assign a template to a custom post type when displayed by the main loop on the home page
- Shortcode with WP_Query more than once on one page
- How to call a post’s metadata in shortcode.php?
- Trying to write shortcode with get_post_meta but isn’t working
- How to create a archive template for custom post type [duplicate]
- WP not recognizing custom post type / template
- Problems making shortcode with custom post types and taxonomy
- Create a custom taxonomy template that loops through child categories in term order?
- My template won’t apply, theme still fallback to index.php
- One Custom Post Type two different Templates
- Conflict in function to allow single post template based on category
- How to show Custom Post Type – Case Study using Shortcode & ACF
- Display CPT Category List as Shortcode
- Shortcode with loop stacks output
- How to display the post using a shortcode in WordPress?
- WordPress shortcode to pull product post data
- How to generate auto shortcode for custom post type same as Elementor Template?
- Custom Post Taxonomy Template Not Loading Properly
- Shortcode and get_template_part
- Turning archive templates to a page template maintaining the slug
- Templating advice sub posts of a CTP
- get_permalink() of page the enclosing page not posts
- How to override post-new.php with custom template
- How to Create a Default Fixed Custom Posts layout for text and images
- Extracting Post ID and passing through as an attribute in a shortcode
- Can I organise my custom post types by page?
- Why did permalinks setting affect the pages?
- I want to create an archive and single page for a custom taxonomy for a custom post type
- Enable shortcodes on custom post type
- Custom meta box in editor of custom post type not working
- Why isn’t my custom post type using the corresponding custom post template?
- Plugin Error on activating
- custom post type plugin – single template
- Modify shortcode to work with custom taxonomies and slugs
- Shortcodes in custom post fields without the_content()
- Shortcode display CPT Query only showing 1 post?
- Search page for custom post type
- Custom Post Type Template based on Taxonomy
- shortcode for recent custom type post
- Specifying Default Template for Hierarchal Custom Post Type [duplicate]
- how to pass args for archive.php query?
- How to make a template for a specific post of a custom post type?
- WP_Query is getting the post but the_post() not rendering any Post
- Display posts from another page on home page in wp-editor
- Show my custom post id if a country or ip
- How to loop through a custom post type using a shortcode and output each element in the loop using shortcodes
- Custom post type is_singular condtional not working when managing sidebar display
- strange issue with get_post_type() when using it in a shortcode in text widget