Download This Plugin | |
Download Elegant Themes | |
Name | Template Part Shortcode |
Version | 0.1 |
Author | Marty Spellerberg |
Rating | 100 |
Last updated | 2012-11-09 03:25:00 |
Downloads |
548
|
Download Plugins Speed Test plugin for Wordpress |
Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%
Template Part Shortcode plugin added 4 bytes of resources to the Home page and 8 bytes of resources to the sample Post page.
Template Part Shortcode plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.
Great! Template Part Shortcode plugin ads no tables to your Wordpress blog database.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.