Title: Template Part Shortcode
Author: Marty Spellerberg
Published: <strong>2012 ལོའི་ཟླ 11 ཚེས 9 ཉིན།</strong>
Last modified: 2012 ལོའི་ཟླ 11 ཚེས 9 ཉིན།

---

མཐུད་སྣེ་བཤེར་འཚོལ།

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/template-part-shortcode.svg)

# Template Part Shortcode

 རྩོམ་པ་པོ། [Marty Spellerberg](https://profiles.wordpress.org/martyspellerberg/)

[ཕབ་ལེན།](https://downloads.wordpress.org/plugin/template-part-shortcode.zip)

 * [ཞིབ་ཕྲ།](https://bo.wordpress.org/plugins/template-part-shortcode/#description)
 * [གདེང་འཇོག](https://bo.wordpress.org/plugins/template-part-shortcode/#reviews)
 *  [སྒྲིག་འཇུག](https://bo.wordpress.org/plugins/template-part-shortcode/#installation)
 * [ཡར་རྒྱས།](https://bo.wordpress.org/plugins/template-part-shortcode/#developers)

 [རམ་འདེགས།](https://wordpress.org/support/plugin/template-part-shortcode/)

## ཞིབ་བརྗོད།

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.

## སྒྲིག་འཇུག

 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!

## གདེང་འཇོག

There are no reviews for this plugin.

## བྱས་རྗེས་འཇོག་མཁན། & གསར་འབྱེད་པ།

“Template Part Shortcode” is open source software. The following people have contributed
to this plugin.

བྱས་རྗེས་འཇོག་མཁན།

 *   [ Marty Spellerberg ](https://profiles.wordpress.org/martyspellerberg/)

[ཁྱེད་ཀྱི་སྐད་ཡིག་ནང་ལ་ “Template Part Shortcode” ཡིག་སྒྱུར་བྱོས།](https://translate.wordpress.org/projects/wp-plugins/template-part-shortcode)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/template-part-shortcode/),
check out the [SVN repository](https://plugins.svn.wordpress.org/template-part-shortcode/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/template-part-shortcode/)
by [RSS](https://plugins.trac.wordpress.org/log/template-part-shortcode/?limit=100&mode=stop_on_copy&format=rss).

## ཟུར་བརྗོད།

 *  Version **0.1**
 *  Last updated **ལོ 14 སྔོན།**
 *  Active installations **100+**
 *  WordPress version ** 3.4 ཡང་ན་དེ་ལས་མཐོ་བ། **
 *  Tested up to **3.4.2**
 *  Language
 * [English (US)](https://wordpress.org/plugins/template-part-shortcode/)
 * Tags
 * [shortcode](https://bo.wordpress.org/plugins/tags/shortcode/)[template parts](https://bo.wordpress.org/plugins/tags/template-parts/)
   [templates](https://bo.wordpress.org/plugins/tags/templates/)
 *  [མཐོ་རིམ་མཐོང་སྣང་།](https://bo.wordpress.org/plugins/template-part-shortcode/advanced/)

## གདེང་འཇོག

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/template-part-shortcode/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/template-part-shortcode/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/template-part-shortcode/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/template-part-shortcode/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/template-part-shortcode/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/template-part-shortcode/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/template-part-shortcode/reviews/)

## བྱས་རྗེས་འཇོག་མཁན།

 *   [ Marty Spellerberg ](https://profiles.wordpress.org/martyspellerberg/)

## རམ་འདེགས།

Got something to say? Need help?

 [རམ་འདེགས་གླེང་སྟེགས་ལ་ལྟ།](https://wordpress.org/support/plugin/template-part-shortcode/)