All Projects → infazz → flexible-templates

infazz / flexible-templates

Licence: other
Allows saving templates of the "Flexible Content" field, for easy and fast use of them on other pages.

Programming Languages

PHP
23972 projects - #3 most used programming language
javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to flexible-templates

bea-beautiful-flexible
Transform ACF's flexible layouts list into a nice and UX popup.
Stars: ✭ 19 (-47.22%)
Mutual labels:  wordpress-plugin, acf, acf-addon
acf-flexible-content-preview
Transforms ACF's flexible content field's layout list into a modal with image previews.
Stars: ✭ 21 (-41.67%)
Mutual labels:  wordpress-plugin, acf, acf-addon
analogwp-templates
Style Kits for Elementor adds a number of intuitive styling controls in the Elementor editor that allow you to apply styles globally or per page.
Stars: ✭ 20 (-44.44%)
Mutual labels:  wordpress-plugin, templates
acf-phone-number
A real ACF phone number field powered by libphonenumber and intl-tel-input
Stars: ✭ 68 (+88.89%)
Mutual labels:  wordpress-plugin, acf
Acf To Rest Api
Exposes Advanced Custom Fields Endpoints in the WordPress REST API
Stars: ✭ 1,152 (+3100%)
Mutual labels:  wordpress-plugin, acf
acf-country
ACF Country field - Display a select field of all countries, in any language.
Stars: ✭ 103 (+186.11%)
Mutual labels:  wordpress-plugin, acf
acf-vimeo-pro-data
Vimeo PRO Data field for Advanced Custom Fields v5
Stars: ✭ 14 (-61.11%)
Mutual labels:  wordpress-plugin, acf-addon
Builder Template Categories
Organize your Page Builder Templates in the WordPress Admin. Time saver, especially for bigger projects. Get a better and faster overview, don't get lost. Filter templates with your categories. With extended plugin & theme support.
Stars: ✭ 20 (-44.44%)
Mutual labels:  wordpress-plugin, templates
acf-typography
A Typography Add-on for the Advanced Custom Fields Plugin
Stars: ✭ 14 (-61.11%)
Mutual labels:  wordpress-plugin, acf
Acf Codifier
A wrapper class to help write more readable ACF field declarations.
Stars: ✭ 114 (+216.67%)
Mutual labels:  wordpress-plugin, acf
Fewbricks
Write code to create ACF field groups, fields and re-usable modules.
Stars: ✭ 100 (+177.78%)
Mutual labels:  wordpress-plugin, acf
Acf Options For Polylang
A WordPress plugin for adding ACF options page support for Polylang.
Stars: ✭ 131 (+263.89%)
Mutual labels:  wordpress-plugin, acf
acf-swatch
ACF Color Swatch Field
Stars: ✭ 67 (+86.11%)
Mutual labels:  wordpress-plugin, acf
acf-field-boilerplate
Modernized PSR-2 boilerplate for creating custom fields for ACF5.
Stars: ✭ 54 (+50%)
Mutual labels:  wordpress-plugin, acf
acf-overview
ACF Overview allows to quick view configuration of all field groups
Stars: ✭ 19 (-47.22%)
Mutual labels:  acf, acf-addon
Acf Quickedit Fields
WordPress Plugin implementing Column Displaying, QuickEdit and BulkEdit for Advanced Custom Fields (ACF)
Stars: ✭ 328 (+811.11%)
Mutual labels:  wordpress-plugin, acf
Acf Star Rating Field
A simple star rating field for ACF.
Stars: ✭ 94 (+161.11%)
Mutual labels:  wordpress-plugin, acf
acf-image-aspect-ratio-crop
Image Aspect Ratio Crop field for Advanced Custom Fields
Stars: ✭ 100 (+177.78%)
Mutual labels:  acf, acf-addon
acf-conditional-logic-advanced
Advanced Custom Fields - Conditional Logic Advanced
Stars: ✭ 31 (-13.89%)
Mutual labels:  acf, acf-addon
wordpress-plugin
IMPress for IDX Broker
Stars: ✭ 20 (-44.44%)
Mutual labels:  wordpress-plugin

Flexible Templates for ACF PRO

WP Plugin that allows saving templates of the "Flexible Content" field, for easy and fast re-use of them on other pages. It also separates templates by post types.

Install / How to use

Install as any other wp plugin and activate.

When you go to page that has Flexible Content, you'll notice a button on top left corner with saved templates. Hover the button to see a dropdown with template selection, click the template name to load it. Be aware that loading the template will overwrite the existing one. You also able to delete templates from there, by pressing the "minus" button/circle.

To save your template, go to the bottom of your Flexible Content field, you will see the input field for the name of your tempalte and save button. Before saving plugin checks for the already existing template with name you input, every template name have to be unique.

How it works?

ACF saves all the field values to own meta. But to save templates, we created a new table in DB for storing them, as we store the HTML code that has been generated by the plugin to show the layout in Flexible Content field. This way we save all the fields and values in one place. When loading it back to Flexible Content field, we than have save/update page, as this reinitializes the fields like "Wysiwyg Editor".

Contributors

I would like to avoid saving the page after the template is loaded, but couldn't find a solution yet, to reint the tinymce plugin. If you have and ideas or a solution for the issue, please contribute! :)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].