Title: Site Template
Author: michael_porter
Published: <strong>21 ກໍລະກົດ 2010</strong>
Last modified: 23 ພຶດສະພາ 2011

---

ຄົ້ນຫາປລັກອິນ

ປລັກອິນນີ້ **ຍັງບໍ່ທັນໄດ້ຮັບການທົດສອບກັບ WordPress 3 ເວີຊັນຫຼັກຫຼ້າສຸດ**. ມັນອາດຈະ
ບໍ່ໄດ້ຮັບການເບິ່ງແຍງ ຫຼື ສະໜັບສະໜູນອີກຕໍ່ໄປ ແລະ ອາດມີບັນຫາການເຮັດວຽກຮ່ວມກັນເມື່ອ
ໃຊ້ກັບ WordPress ເວີຊັນທີ່ໃໝ່ກວ່າ.

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

# Site Template

 ໂດຍ [michael_porter](https://profiles.wordpress.org/michael_porter/)

[ດາວໂຫຼດ](https://downloads.wordpress.org/plugin/site-template.zip)

 * [ລາຍລອຽດ](https://lo.wordpress.org/plugins/site-template/#description)
 * [ການຣີວິວ](https://lo.wordpress.org/plugins/site-template/#reviews)
 *  [ການຕິດຕັ້ງ](https://lo.wordpress.org/plugins/site-template/#installation)
 * [ການພັດທະນາ](https://lo.wordpress.org/plugins/site-template/#developers)

 [ການຊ່ວຍເຫຼືອ](https://wordpress.org/support/plugin/site-template/)

## ຄຳອະທິບາຍ

Site Template is a plugin that allows site administrators to set up “site templates”
for their WPMU or wordpress 3 (with networking enabled) sites. When a user creates
a new blog, he or she will be prompted with a list of site templates to select from.
Each template specifies the theme, theme options, widgets, plugins, pages, posts,
categories, links, tags, menus, and link cateogries for the new site.

Creating a site template is a two step process:

First, create a site with the appropriate theme, theme options, widgets, active 
plugins, pages, posts, categories, tags, links, and link categories. This site will
serve as the template, and the site’s name will be the name of the template.

Second, an administrator needs to flag the site as a template. To flag a site as
a template the administrator needs to go to the admin blogs page (in wpmu) or the
sites page (in wp3), find the site, and click on the “Activate Template” link in
the rightmost column.

Once the template is created it will appear in the list of templates whenever a 
user creates a new site. Site templates are live meaning that any changes are made
to a profile’s template will be reflected in future sites users create with that
profile. Administrators can change the order templates appear on the “Site Template”
page by clicking on the “Site Templates” link in the “Super Admin” (wp3) or “Site
Admin” (wpmu) panel. The “Site Template” page lists all templates. In the right 
most column is the number of “children” of a given template or the number of sites
that have been created from the specified template. You can see the children sites
by clicking on the number.

 * added code to support templates when creating site at the same time as registering.

> > > > > > > .r387807

## ການຕິດຕັ້ງ

 * Copy directory to wp-content, go to plugins and click on “Network Activate”
 * Edit wp-activate.php so that the first line reads:
    /** define( “WP_INSTALLING”,
   true ); **/ instead of: define( “WP_INSTALLING”, true );

## ການຣີວິວ

ບໍ່ມີການຣີວິວສຳລັບປລັກອິນນີ້.

## ຜູ້ຮ່ວມພັດທະນາ ແລະ ຜູ້ພັດທະນາ

“Site Template” ແມ່ນຊອຟແວໂອເພັນຊອດ (Open Source). ບຸກຄົນຕໍ່ໄປນີ້ໄດ້ມີສ່ວນຮ່ວມໃນການ
ພັດທະນາປລັກອິນນີ້.

ຜູ້ຮ່ວມພັດທະນາ

 *   [ michael_porter ](https://profiles.wordpress.org/michael_porter/)

[ແປ “Site Template” ເປັນພາສາຂອງເຈົ້າ.](https://translate.wordpress.org/projects/wp-plugins/site-template)

### ສົນໃຈຮ່ວມພັດທະນາບໍ່?

[ເບິ່ງລະຫັດ](https://plugins.trac.wordpress.org/browser/site-template/), ກວດເບິ່ງ
[ຄັງເກັບ SVN](https://plugins.svn.wordpress.org/site-template/), ຫຼື ຕິດຕາມ [ບັນທຶກການພັດທະນາ](https://plugins.trac.wordpress.org/log/site-template/)
ຜ່ານ [RSS](https://plugins.trac.wordpress.org/log/site-template/?limit=100&mode=stop_on_copy&format=rss).

## ບັນທຶກການປ່ຽນແປງ

#### .3

 * allows for renamning template. If no name, error message appears. Confirmation
   on update.
 * adds default template to the last row of “Site Template” screen. Default option
   is anchored in the last row, but the name can change.
 * adds confirmation message when site is activated or deactivated in Sites screen.

#### .31

 * bug fix to support site template when new users register

#### .32

 * bug fix so that the site’s e-mail address is not replaced by the e-mail address
   of the template’s creator
 * removed “Create Blog” link because it exists in “My Sites” panel

#### .4

 * bug fix so delete site works more smoothly
 * adds support for deactivating and archiving sites
 * adds support for menus

#### 1.0

 * rewrote the copy site code so it skips the API and dips directly in the database.
   Should support custom content types, and fix bugs with menu creation, but not
   sure on either as I could not reproduce.
    <<<<<<< .mine
 * added code to support templates when creating site at the same time as registering.

#### 1.1

 * moved site template options into the sites menu on the network admin page

## ຂໍ້ມູນກຳກັບ (Meta)

 *  ເວີຊັນ **1.1**
 *  ອັບເດດຫຼ້າສຸດເມື່ອ **15 ປີ ທີ່ຜ່ານມາ** ທີ່ຜ່ານມາ
 *  ການຕິດຕັ້ງທີ່ໃຊ້ງານຢູ່ **10+**
 *  ເວີຊັນ WordPress ** 2.9.2 ຫຼື ສູງກວ່າ **
 *  ທົດສອບເຖິງເວີຊັນ **3.1.4**
 *  ພາສາ
 * [English (US)](https://wordpress.org/plugins/site-template/)
 * ແທັກ
 * [education](https://lo.wordpress.org/plugins/tags/education/)[multiuser](https://lo.wordpress.org/plugins/tags/multiuser/)
   [templates](https://lo.wordpress.org/plugins/tags/templates/)[wpmu](https://lo.wordpress.org/plugins/tags/wpmu/)
 *  [ມຸມມອງຂັ້ນສູງ](https://lo.wordpress.org/plugins/site-template/advanced/)

## ການໃຫ້ຄະແນນ

 1 ຈາກທັງໝົດ 5 ດາວ.

 *  [  ການວິຈານ 5 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/site-template/reviews/?filter=5)
 *  [  ການວິຈານ 4 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/site-template/reviews/?filter=4)
 *  [  ການວິຈານ 3 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/site-template/reviews/?filter=3)
 *  [  ການວິຈານ 2 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/site-template/reviews/?filter=2)
 *  [  ການວິຈານ 1 ດາວ ຈຳນວນ 1 ລາຍການ     ](https://wordpress.org/support/plugin/site-template/reviews/?filter=1)

[ການທົບທວນຂອງທ່ານ](https://wordpress.org/support/plugin/site-template/reviews/#new-post)

[ເບິ່ງທັງໝົດ ການຣີວິວ](https://wordpress.org/support/plugin/site-template/reviews/)

## ຜູ້ຮ່ວມພັດທະນາ

 *   [ michael_porter ](https://profiles.wordpress.org/michael_porter/)

## ການຊ່ວຍເຫຼືອ

ມີຄຳຖາມ ຫຼື ຕ້ອງການຄວາມຊ່ວຍເຫຼືອບໍ່?

 [ເບິ່ງຟໍຣັມການຊ່ວຍເຫຼືອ](https://wordpress.org/support/plugin/site-template/)