Plugin info

Total downloads: 2,501
Active installs: 100
Total reviews: 1
Average rating: 5
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 11/9/2012 (4800 days ago)
Added to WordPress: 11/9/2012 (13 years old)
Minimum WordPress version: 3.4
Tested up to WordPress version: 3.4.2
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 4800 days ago • 1 reviews

22/100

Is Template Part Shortcode abandoned?

Possibly abandoned (last update 4800 days ago).

Compatibility

Requires WordPress: 3.4
Tested up to: 3.4.2
Requires PHP: f

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Options for Block Themes
Rating 5.0/5 (4 reviews)Active installs 200
Theme Structure Visualiser
Rating 0.0/5 (0 reviews)Active installs 0
HayyaBuild – The Most Advanced Gutenberg Blocks
Rating 4.8/5 (6 reviews)Active installs 300

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.

Installation

  1. Install and activate the plugin, in the normal way;
  2. In your theme directory, create a subfolder called “parts”;
  3. Create your template part and save it into the “parts” directory — ie. parts/somepart.php;
  4. In your post Content, call the part via [template part=”somepart”]

That’s it!

Frequently Asked Questions

No FAQ available

Review feed

No reviews available

Screenshots

No screenshots available

Changelog

No changelog available