=== Templementor - Persistent Elementor Templates === Contributors: LCweb Projects Donate link: https://lcweb.it/donations/ Tags: elementor, page template, wordpress builder, page builder Requires at least: 3.5 Tested up to: 6.7.1 Requires PHP: 7.0 Stable tag: trunk License: GPLv3 or later License URI: https://www.gnu.org/licenses/gpl-3.0.html Makes Elementor even greater by creating chainable templates to shape-up and manage entire website areas in minutes == Description == 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. == Installation == 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 5. Apply them through the sidebar dropdown you find in any page/post-type editor == Screenshots == 1. Template 1. Vanilla page (as it would be shown) 1. Templated page 1. Templates management page 1. How to apply templates == Changelog == = 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 == Upgrade notice == none