No results available
ResetNew Feature: Earn 12 Badges
Collect up to 12 exclusive badges by sharing your plugin collections and engaging with the community.
See all BadgesTemplate Part Shortcode
by Marty Spellerberg
Description
Template parts are reusable snippets of code stored in your theme directory. Normally, they are called by other template files using the get_template_part() function. This plugin creates a shortcode for calling template parts from the body of a post.
Shortcode usage is: [template part=”somepart”].
Template parts must be stored in a “parts” folder within your theme directory.
If you use custom loops in your template parts, remember to use “reset_query” at the end to return the page to normal.
All texts and images on this product page are protected by copyright and are the property of the author Marty Spellerberg. You will be redirected to the retailer to download the plugin. We act solely as a search engine for plugins and are not affiliated with the retailer or Marty Spellerberg.
Get your first Badge
Earn your first badge by sharing your collections. Every master was once a beginner. Welcome to your coding journey.
Click the symbol on the desired plugin to create a collection. The symbol appears when you hover over the plugin.