Title: DX Template Manager
Author: Mario Peshev
Published: <strong>2012 年 8 月 17 日</strong>
Last modified: 2014 年 9 月 8 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

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

# DX Template Manager

 由 [Mario Peshev](https://profiles.wordpress.org/nofearinc/) 開發

[下載](https://downloads.wordpress.org/plugin/dx-template-manager.1.2.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/dx-template-manager/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/dx-template-manager/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/dx-template-manager/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/dx-template-manager/#developers)

 [技術支援](https://wordpress.org/support/plugin/dx-template-manager/)

## 外掛說明

Create page templates like the ones in your theme folder but through a “DX Templates”
menu in your Admin dashboard. Paste HTML, JS and PHP code which you could assign
to your posts, pages or custom post types via a meta box dropdown. Create page templates
and apply them to be evaluated.

**Note: eval() function is used. However, it is available only for admin users to
submit code and normally admin users could do a lot harm or upload external harmful
plugins as well.**

A complete demo is available here:

## 螢幕擷圖

[⌊Activating the plugin in Settings -> DX Template Options⌉⌊Activating the plugin
in Settings -> DX Template Options⌉[

Activating the plugin in Settings -> DX Template Options

[⌊Creating a dynamic page template⌉⌊Creating a dynamic page template⌉[

Creating a dynamic page template

[⌊Assigning a dynamic template to a post⌉⌊Assigning a dynamic template to a post⌉[

Assigning a dynamic template to a post

## 安裝方式

This section describes how to install the plugin and get it working.

e.g.

 1. Upload `dx-template-manager` to the `/wp-content/plugins/` directory or install
    via the Plugin installer in your admin dashboard
 2. Activate the “DX Template Manager” plugin through the ‘Plugins’ menu in WordPress
 3. Navigate to “Settings” -> DX Template Options
 4. Read the note. If you do agree, check the checkbox and hit the “agree” button
 5. Create a page template within the DX Template Manager menu – add your full HTML
    and PHP code including the head section and meta tags
 6. Create a post/page and assign the page template from the DX Templates metabox on
    the right
 7. Save your post and view it

Check out this video for a complete install guide

## 常見問題集

  Why do I need to ‘agree’?

The plugin uses the eval() PHP function that evaluates a PHP script on the fly. 
If a hacker reaches your admin, he would be able to write any form of PHP which 
could affect your site and database.

However, if the hacker has an access to the admin, he could 1) delete everything
and takeover your site, or 2) upload a custom plugin of his that does the malware
work.

  What needs to be inserted in a DX Template?

Your full HTML as it would be in your page template file. HTML, head and body sections,
meta tags, some content. It would replace the entire post/page resolved from the
site.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈DX Template Manager〉的開發相關工作。

參與者

 *   [ Mario Peshev ](https://profiles.wordpress.org/nofearinc/)
 *   [ DevriX ](https://profiles.wordpress.org/devrix/)

[將〈DX Template Manager〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/dx-template-manager)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/dx-template-manager/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/dx-template-manager/)，或透過
[RSS](https://plugins.trac.wordpress.org/log/dx-template-manager/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/dx-template-manager/)。

## 變更記錄

#### 1.2

 * Small update and version bump

#### 1.1

Adding a prepared statement call and improving i18n

#### 1.0

A stable version

## 中繼資料

 *  版本 **1.1**
 *  最後更新 **12 年前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 3.3.1 或更新版本 **
 *  已測試相容的 WordPress 版本 **4.0.38**
 *  語言
 * [English (US)](https://wordpress.org/plugins/dx-template-manager/)
 * 標籤:
 * [evaluation](https://tw.wordpress.org/plugins/tags/evaluation/)[execute](https://tw.wordpress.org/plugins/tags/execute/)
   [php](https://tw.wordpress.org/plugins/tags/php/)[template](https://tw.wordpress.org/plugins/tags/template/)
 *  [進階檢視](https://tw.wordpress.org/plugins/dx-template-manager/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  1 個 5 星使用者評論     ](https://wordpress.org/support/plugin/dx-template-manager/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/dx-template-manager/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/dx-template-manager/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/dx-template-manager/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/dx-template-manager/reviews/?filter=1)

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

[查看全部使用者評論](https://wordpress.org/support/plugin/dx-template-manager/reviews/)

## 參與者

 *   [ Mario Peshev ](https://profiles.wordpress.org/nofearinc/)
 *   [ DevriX ](https://profiles.wordpress.org/devrix/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/dx-template-manager/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](http://devrix.com/)