
內容簡介
是的,Elementor 建構器是非常棒的,但使用它的一個主要缺點是明顯的:我們必須逐個編輯每個頁面。當您有許多具有相同元素(例如側邊欄,標題,頁尾)的頁面時,這是一個相當大的問題。
Templementor 是一個完美的解決方案,推動了 Elementor 的極限:
直接通過 Elementor 創建模板。您可以使用「Elementor Canvas」創建完全新的頁面版面配置
在模板中的任何位置插入 {{contents}} 佔位符,最好是在 HTML 塊中(繼續閱讀以了解有關佔位符的更多信息)
將模板應用於任何可以透過 Elementor 編輯的文章(頁面等)
頁面內容將包裝在模板中。
您已經將模板應用於 100 個頁面了嗎?
只需編輯它即可自動更新受影響的頁面!這不是很棒嗎?
受影響的頁面還將繼承模板頁面設置(例如背景和填充)。
您可以理論上構建一個完整的網站,擁有精美的圖形,而不需要高級主題,並且可以在幾分鐘內維護/更新它!
高級用戶還可以將模板應用於現有模板。例如,您可以擁有不同的標題部分,同時保持相同的頁尾,而不需要為每個標題模板編輯頁尾部分。
佔位符
在 Templementor 中,佔位符是必不可少的:實際上只有頁面內容替換不是一件大事情,對吧?
理論上,您可以使用無限的佔位符將文章數據顯示到模板中:
{{contents}} - 頁面內容
{{title}} - 頁面標題
{{author}} - 頁面作者(其 nicename)
{{pub-date}} - 頁面創建日期(使用全局日期格式)
{{edit-date}} - 頁面修改日期(使用全局日期格式)
{{excerpt}} - 頁面摘要
{{comm-count}} - 頁面評論數量
{{POST-META-KEY-NAME}} - 頁面的自定義字段值
顯然,請將 POST-META-KEY-NAME 替換為正確的元數名稱。它們被插件廣泛用於存儲數據,您可以將其用於模板中。您還可以通過 WP 編輯器向導最大程度地輕鬆地創建它們。
備註
不提供支持
外掛標籤
開發者團隊
② 後台搜尋「Templementor – Persistent Elementor Templates」→ 直接安裝(推薦)
📦 歷史版本下載
原文外掛簡介
Yes, 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:
Create templates, as you would do creating a page through Elementor. Obviously is possible to create completely new page layouts by using the “Elementor Canvas” wrapper template.
Insert the {{contents}} placeholder wherever you like in the template, preferably in an HTML block (continue reading to know more about placeholders)
Apply templates to any post (or post type) editable through 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.
