Title: Templementor &#8211; Persistent Elementor Templates
Author: LCweb
Published: <strong>2018 年 2 月 22 日</strong>
Last modified: 2024 年 12 月 11 日

---

搜索插件

![](https://ps.w.org/templementor/assets/banner-772x250.png?rev=3206337)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/templementor/assets/icon.svg?rev=2334229)

# Templementor – Persistent Elementor Templates

 作者：[LCweb](https://profiles.wordpress.org/lcweb-projects/)

[下载](https://downloads.wordpress.org/plugin/templementor.zip)

 * [详情](https://cn.wordpress.org/plugins/templementor/#description)
 * [评价](https://cn.wordpress.org/plugins/templementor/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/templementor/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/templementor/#developers)

 [支持](https://wordpress.org/support/plugin/templementor/)

## 描述

Yes, [Elementor](https://be.elementor.com/visit/?bta=1930&brand=elementor) builder
is absolutely great, but using its free version a **major downside** is evident:**
we have to edit each page singularly**. This is quite a problem having to deal with
many pages having identical elements (eg. sidebars, head, footer).

Templementor has been created to create a solution in the most simple and clean 
way:

 1. **Create templates**, as you would do creating a page through [Elementor](https://be.elementor.com/visit/?bta=1930&brand=elementor).
    Obviously is possible to create completely new page layouts by using the “Elementor
    Canvas” wrapper template.
 2. Insert the **{{contents}} placeholder** wherever you like in the template, preferably
    in an HTML block (_continue reading to know more about placeholders_)
 3. **Apply templates** to any post (or post type) editable through [Elementor](https://be.elementor.com/visit/?bta=1930&brand=elementor)

Page contents will be wrapped by your template.
 Did you apply the template to 100
pages?

Simply edit it to **magically update any associated page!** Isn’t it great?

Affected page will inherit also template page settings (eg. background and padding).

You could theoretically **build an entire site without a premium theme** and maintain/
update it in minutes!

Templates can also be applied to other templates. For example, two templates could
have different head sections while keeping the same footer, without needing to edit
the footer section for each head template. Sound complex? Is surely easier to be
used than explained 😉

### 🪄 Placeholders

Placeholders are essentials in Templementor: replacing only page contents wouldn’t
be such a great deal, isn’t it?

You can theoretically **use unlimited placeholders to display posts data** into 
templates:

 * **{{contents}}** – page contents
 * **{{title}}** – page’s title
 * **{{author}}** – page’s author _(its nicename)_
 * **{{pub-date}}** – page’s creation date _(global date format used)_
 * **{{edit-date}}** – page’s modification date _(global date format used)_
 * **{{excerpt}}** – page’s excerpt
 * **{{comm-count}}** – page comments count
 * **{{POST-META-KEY-NAME}}** – page’s custom field value

Obviously replace _POST-META-KEY-NAME_ with the proper meta name. They are widely
used by plugins to store data and you can use it into templates. You could also 
create them with the maximum ease through WP editor wizard.

## 屏幕截图

 * [[
 * Template
 * [[
 * Vanilla page (as it would be shown)
 * [[
 * Templated page
 * [[
 * Templates management page
 * [[
 * How to apply templates

## 安装

 1. [Elementor](https://be.elementor.com/visit/?bta=1930&brand=elementor) plugin must
    be installed
 2. Upload `templementor` to the `/wp-content/plugins/` directory
 3. Activate the plugin through the ‘Plugins’ menu in WordPress
 4. A new submenu item will be visible under the “Elementor” menu
 5. Create templates and use _{{contents}}_ as mandatory placeholder. In case, use 
    also any other placeholder you need
 6. Apply them through the sidebar dropdown you find in any page/post-type editor

## 评价

![](https://secure.gravatar.com/avatar/f686cb2e8f0488de84d3ebd47f6d27d5adc9e638c7707e2e02fae8ddef54147e?
s=60&d=retro&r=g)

### 󠀁[great plugin](https://wordpress.org/support/topic/great-plugin-21004/)󠁿

 [Nidhi](https://profiles.wordpress.org/nidhi8/) 2019 年 2 月 27 日

its free, u can create the template in Elementor and just use that in page/post.
amazing for clients.

 [ 阅读所有1条评价 ](https://wordpress.org/support/plugin/templementor/reviews/)

## 贡献者及开发者

「Templementor – Persistent Elementor Templates」是开源软件。 以下人员对此插件做出
了贡献。

贡献者

 *   [ LCweb ](https://profiles.wordpress.org/lcweb-projects/)

[帮助将「Templementor – Persistent Elementor Templates」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/templementor)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/templementor/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/templementor/)，或通过[RSS](https://plugins.trac.wordpress.org/log/templementor/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/templementor/)。

## 更新日志

#### 1.0.2

 * Minor code refactoring and WP 6.7 compatibility changes
 * Multilanguage support added

#### 1.0.1

Avoid enqueuing templates CSS since Elementor already does it in footer

#### 1.0

Initial release

## 额外信息

 *  版本 **1.0.2**
 *  最后更新：**1 年前**
 *  活跃安装数量 **40+**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **6.7.5**
 *  PHP 版本 ** 7.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/templementor/)
 * 标签
 * [elementor](https://cn.wordpress.org/plugins/tags/elementor/)[page builder](https://cn.wordpress.org/plugins/tags/page-builder/)
   [page template](https://cn.wordpress.org/plugins/tags/page-template/)[wordpress builder](https://cn.wordpress.org/plugins/tags/wordpress-builder/)
 *  [高级视图](https://cn.wordpress.org/plugins/templementor/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/templementor/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/templementor/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/templementor/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/templementor/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/templementor/reviews/?filter=1)

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

[查看全部评论](https://wordpress.org/support/plugin/templementor/reviews/)

## 贡献者

 *   [ LCweb ](https://profiles.wordpress.org/lcweb-projects/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/templementor/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://lcweb.it/donations/)