Support

Account

Home Forums Search Search Results for 'reusable group'

Search Results for 'reusable group'

topic

  • Unread

    Creating reusable component fields?

    Hi,

    I would like to know how could i use ACF to create reusable component fields that can be managed from one place, let’s say inside the options page.

    I’ve tried using clone fields for that but the values don’t get synced between the main and the clones. No matter if the slug has a prefix or not.

    Right now i’ve created a way in which i use ACF prepare_field filter. This works for simple fields but i’m not sure how could i use the same logic on for example repeater fields.

    Here’s the code i’m running right now

    add_filter('acf/prepare_field', function($field){
    
        $current_screen = get_current_screen();
        if($current_screen && $current_screen->id == 'toplevel_page_theme-settings') return $field;
    
        $components = get_field('components', 'option');
    
        foreach($components as $component){
    
            if(array_key_exists($field['_name'], $component)){
                
                if(isset($field['sub_fields'])){
                       
                    foreach($field['sub_fields'] as $field_key => $sub_field){
                        foreach($component[$field['_name']] as $sub_component){
                            if(array_key_exists($sub_field['_name'], $sub_component)){
                                
                                //$field['sub_fields'][$field_key]['value'] = $sub_component[$sub_field['_name']];
                                //consoleLog([$field, $sub_field, $sub_component[$sub_field['_name']]]);
    
                            }
                        }
                    }
                }else{
                    $field['value'] = $component[$field['_name']];
                }
                
            }
    
        }
    
        return $field;
        
    },10,3)

    And here’s the ACF output for components field group

    {
                    "key": "field_638edca18a922",
                    "label": "Components",
                    "name": "",
                    "aria-label": "",
                    "type": "tab",
                    "instructions": "",
                    "required": 0,
                    "conditional_logic": 0,
                    "wrapper": {
                        "width": "",
                        "class": "",
                        "id": ""
                    },
                    "placement": "left",
                    "endpoint": 0
                },
                {
                    "key": "field_638edcad8a923",
                    "label": "Components",
                    "name": "components",
                    "aria-label": "",
                    "type": "flexible_content",
                    "instructions": "Reusable components that can be managed from one place",
                    "required": 0,
                    "conditional_logic": 0,
                    "wrapper": {
                        "width": "",
                        "class": "",
                        "id": ""
                    },
                    "layouts": {
                        "layout_638edcb3c4b41": {
                            "key": "layout_638edcb3c4b41",
                            "name": "get_in_touch",
                            "label": "Get In Touch",
                            "display": "block",
                            "sub_fields": [
                                {
                                    "key": "field_638edcc28a924",
                                    "label": "Heading",
                                    "name": "get_in_touch_heading",
                                    "aria-label": "",
                                    "type": "textarea",
                                    "instructions": "",
                                    "required": 0,
                                    "conditional_logic": 0,
                                    "wrapper": {
                                        "width": "",
                                        "class": "",
                                        "id": ""
                                    },
                                    "default_value": "",
                                    "maxlength": "",
                                    "rows": 3,
                                    "placeholder": "",
                                    "new_lines": ""
                                },
                                {
                                    "key": "field_638edcd28a925",
                                    "label": "Button",
                                    "name": "get_in_touch_button",
                                    "aria-label": "",
                                    "type": "link",
                                    "instructions": "",
                                    "required": 0,
                                    "conditional_logic": 0,
                                    "wrapper": {
                                        "width": "",
                                        "class": "",
                                        "id": ""
                                    },
                                    "return_format": "array"
                                }
                            ],
                            "min": "",
                            "max": ""
                        },
                        "layout_638f209874700": {
                            "key": "layout_638f209874700",
                            "name": "icon_group",
                            "label": "Icon group",
                            "display": "block",
                            "sub_fields": [
                                {
                                    "key": "field_638f20b774701",
                                    "label": "Icon group",
                                    "name": "icon_group",
                                    "aria-label": "",
                                    "type": "repeater",
                                    "instructions": "",
                                    "required": 0,
                                    "conditional_logic": 0,
                                    "wrapper": {
                                        "width": "",
                                        "class": "",
                                        "id": ""
                                    },
                                    "layout": "table",
                                    "min": 0,
                                    "max": 0,
                                    "collapsed": "",
                                    "button_label": "Add Row",
                                    "rows_per_page": 20,
                                    "sub_fields": [
                                        {
                                            "key": "field_638f20ca74702",
                                            "label": "Icon",
                                            "name": "icon",
                                            "aria-label": "",
                                            "type": "image",
                                            "instructions": "",
                                            "required": 0,
                                            "conditional_logic": 0,
                                            "wrapper": {
                                                "width": "",
                                                "class": "",
                                                "id": ""
                                            },
                                            "return_format": "array",
                                            "library": "all",
                                            "min_width": "",
                                            "min_height": "",
                                            "min_size": "",
                                            "max_width": "",
                                            "max_height": "",
                                            "max_size": "",
                                            "mime_types": "",
                                            "preview_size": "thumbnail",
                                            "parent_repeater": "field_638f20b774701"
                                        },
                                        {
                                            "key": "field_638f20da74703",
                                            "label": "Background",
                                            "name": "background",
                                            "aria-label": "",
                                            "type": "color_picker",
                                            "instructions": "",
                                            "required": 0,
                                            "conditional_logic": 0,
                                            "wrapper": {
                                                "width": "",
                                                "class": "",
                                                "id": ""
                                            },
                                            "default_value": "",
                                            "enable_opacity": 0,
                                            "return_format": "string",
                                            "parent_repeater": "field_638f20b774701"
                                        }
                                    ]
                                }
                            ],
                            "min": "",
                            "max": ""
                        }
                    },
                    "min": "",
                    "max": "",
                    "button_label": "Add component"
                }

    For “Get In Touch” gield group it works but for “Icon Group” i’m not sure how to exactly achieve that.

  • Solved

    ACF 6 + Timber renderCallback not working in editor

    I’m having a similar issue to this ticket. I’m using ACF and Timber with a renderCallback function. This works fine and seems to load the template on the front end but doesn’t seem to work in the editor. I get ‘Your site doesn’t include support for the “acf/[blockname]” block. You can leave this block intact or remove it entirely.’ errors in the editor even though the blocks load on the front-end. It even pulls in the field data that existed before I switched to block.json on the front-end only.

    /button/block.json

    {
      "name": "acf/button",
      "title": "Button",
      "description": "A button block.",
      "category": "dream",
      "icon": "button",
      "keywords": ["button", "buttons", "button group"],
      "attributes": {
        "blockId": {
          "type": "string"
        }
      },
      "usesContext": [ "buttonGroup/blockId" ],
      "supports": {
        "jsx": true,
        "align": true,
        "alignContent": true,
        "alignText": true,
        "anchor": true,
        "className": true,
        "multiple": true,
        "html": false,
        "inserter": true,
        "color": {
          "text": false,
          "background": true,
          "link": false,
          "gradients": true,
          "linkColor": true
        },
        "fontSize": true,
        "fullHeight": false
      },
      "styles": [
        { "name": "default", "label": "Default", "isDefault": true },
        { "name": "other", "label": "Other" }
      ],
      "editorScript": "file:./index.js",
      "script": "file:./script.js",
      "editorStyle": "file:./index.css",
      "style": "file:./style.css",
      "acf": {
        "mode": "preview",
        "renderCallback": "dream_block_render",
        "postTypes": true,
        "parent": "acf/button-group",
        "reusable": true
      }
    }

    I also get a js error in the console when editing pages whether or not blocks exist on the page:

    acf-pro-blocks.min.js?ver=6.0.3:formatted:783 Uncaught TypeError: Cannot read properties of undefined (reading 'length')
        at _ (acf-pro-blocks.min.js:783:51)
        at Array.map (<anonymous>)
        at acf-pro-blocks.min.js?ver=6.0.3:1419:24
        at o (acf.min.js?ver=6.0.3:1:1417)
        at Object.doAction (acf.min.js?ver=6.0.3:1:587)
        at n.doAction (acf.min.js?ver=6.0.3:1:18745)
        at post.php?post=1521&action=edit:3223:5

    Looks like it may be related to the “attributes” key so maybe I’m just doing something wrong but I’m unsure.

    Line 783 of acf-pro-blocks.min.js

    for (const t in e.attributes)
                        0 === e.attributes[t].default.length && delete e.attributes[t].default;
                    e.supports.anchor && (e.attributes.anchor = {
                        type: "string"
                    });
  • Unread

    Duplicated ACF Blocks in Widgets failing to save/render correctly

    ## Issue
    When duplicating an ACF block (registered with acf_register_block_type) data between the blocks can switch place and/or regress. Repeater fields and expander toggles stop working. No javascript error is shown in console.

    ## Environment
    PHP 7.4.21
    WP 5.8.1
    ACF Pro 5.10.2

    ## Reproduce
    1. Create ACF Field Group

    
    acf_add_local_field_group(array(
    	'key' => 'group_614c3a15115de',
    	'title' => 'Test Block',
    	'fields' => array(
    		array(
    			'key' => 'field_614c3c7d9b75e',
    			'label' => 'Test Field',
    			'name' => 'test_field',
    			'type' => 'text',
    			'instructions' => '',
    			'required' => 0,
    			'conditional_logic' => 0,
    			'wrapper' => array(
    				'width' => '',
    				'class' => '',
    				'id' => '',
    			),
    			'default_value' => '',
    			'placeholder' => '',
    			'prepend' => '',
    			'append' => '',
    			'maxlength' => '',
    		),
    	),
    	'location' => array(
    		array(
    			array(
    				'param' => 'block',
    				'operator' => '==',
    				'value' => 'acf/test-block',
    			),
    		),
    	),
    	'menu_order' => 0,
    	'position' => 'acf_after_title',
    	'style' => 'default',
    	'label_placement' => 'top',
    	'instruction_placement' => 'label',
    	'hide_on_screen' => '',
    	'active' => true,
    	'description' => '',
    	'is_acf_component' => 0,
    	'acf_component_defaults' => array(
    		'repeatable' => '0',
    		'min' => '',
    		'max' => '',
    		'layout' => 'block',
    		'button_label' => '',
    		'appearances' => '',
    	),
    ));
    

    2. Register ACF Block

    
    acf_register_block_type(array(
    	'name' => 'test_block',
    	'title' => __('Test Block'),
    	'description' => __('Test Block'),
    	'render_template' => 'template-parts/content_builder-test.php',
    	'category' => 'formatting',
    ));
    

    3. Create template file in render_template location with the contents: <?php the_field('test_field');
    3. Navigate to Widgets wp-admin/widgets.php
    4. Add new ‘Test Block’
    5. Duplicate ‘Test Block’ a few times.
    6. Edit the contents of the fields, toggle between Edit/Preview.

    ## Expected Result
    All fields and admin elements should work as normal.

    ## Actual Result
    The preview does not align with the content, when switching back to edit, the value in the field may have changed too. The ‘Update’ button often is not triggered to an active state. When managing to save, reloading shows the widgets in a different state to when you left it.

    ## Extra
    Copying the contents into a reusable block, editing then copy/pasting back in does not work. (Reusable blocks are not supported in the Widgets interface just yet.)

    ## Work around
    Create all blocks from scratch within the widgets interface.

    Thank you.

  • Unread

    Duplicated ACF Blocks in Widgets not saving

    Issue
    When duplicating an ACF block (registered with acf_register_block_type) data between the blocks can switch place and/or regress. Repeater fields and expander toggles stop working. No javascript error is shown in console.

    Environment
    PHP 7.4.21
    WP 5.8.1
    ACF Pro 5.10.2

    Reproduce
    1. Create ACF Field Group

    
    acf_add_local_field_group(array(
    	'key' => 'group_614c3a15115de',
    	'title' => 'Test Block',
    	'fields' => array(
    		array(
    			'key' => 'field_614c3c7d9b75e',
    			'label' => 'Test Field',
    			'name' => 'test_field',
    			'type' => 'text',
    			'instructions' => '',
    			'required' => 0,
    			'conditional_logic' => 0,
    			'wrapper' => array(
    				'width' => '',
    				'class' => '',
    				'id' => '',
    			),
    			'default_value' => '',
    			'placeholder' => '',
    			'prepend' => '',
    			'append' => '',
    			'maxlength' => '',
    		),
    	),
    	'location' => array(
    		array(
    			array(
    				'param' => 'block',
    				'operator' => '==',
    				'value' => 'acf/test-block',
    			),
    		),
    	),
    	'menu_order' => 0,
    	'position' => 'acf_after_title',
    	'style' => 'default',
    	'label_placement' => 'top',
    	'instruction_placement' => 'label',
    	'hide_on_screen' => '',
    	'active' => true,
    	'description' => '',
    	'is_acf_component' => 0,
    	'acf_component_defaults' => array(
    		'repeatable' => '0',
    		'min' => '',
    		'max' => '',
    		'layout' => 'block',
    		'button_label' => '',
    		'appearances' => '',
    	),
    ));
    

    2. Register ACF Block

    
    acf_register_block_type(array(
    	'name' => 'test_block',
    	'title' => __('Test Block'),
    	'description' => __('Test Block'),
    	'render_template' => 'template-parts/content_builder-test.php',
    	'category' => 'formatting',
    ));
    

    3. Create template file in render_template location with the contents: <?php the_field('test_field');
    3. Navigate to Widgets wp-admin/widgets.php
    4. Add new ‘Test Block’
    5. Duplicate ‘Test Block’ a few times.
    6. Edit the contents of the fields, toggle between Edit/Preview.

    Expected Result
    All fields and admin elements should work as normal.

    Actual Result
    The preview does not align with the content, when switching back to edit, the value in the field may have changed too. The ‘Update’ button often is not triggered to an active state. When managing to save, reloading shows the widgets in a different state to when you left it.

    Extra
    Copying the contents into a reusable block, editing then copy/pasting back in does not work. (Reusable blocks are not supported in the Widgets interface just yet.)

    Work around
    Create all blocks from scratch within the widgets interface.

    Thank you.

  • Solved

    Seamlessly clone a group field but allow changing its name and having unique key

    Let’s say I have a field group called “Call To Action” with the name “cta”. This group contains a Text field, a URL field, and a checkbox called “Open in new window”.

    I also have a Home Page field group that needs this “Call To Action” group cloned into the Hero tab, the Content Teaser tab, and the Promo tab. If I choose “Seamless” as the cloning method, I will have 3 field groups labeled “Call To Action”, which is great. But these groups will all be named “cta” and have the exact same field key, which obviously will cause problems. If I choose “Group” as the cloning method, it will nest my “Call To Action” group into another group, which I do not want.

    Cloning could be a very useful feature for creating reusable groups (that act like modules), but this limitation of not being able to specify a custom name when using “Seamless” makes it very limited. If I want all of my “Call To Action” fields inside a group with a unique name and key, I need to use the “Group” cloning mode and select each individual field to clone into it. Later, if I decide to add another field into the master “Call To Action” group, I would need to go to every clone instance and add that field into it. That really takes away a major advantage of creating reusable elements (being able to edit all instances in a single place).

    If we could input a custom field name when using the “Seamless” cloning mode, that would make these fields so much more useful as a templating tool. Or maybe there’s a way to do this that I’m missing?

reply

  • As this remains the thread that ranks in search engines for “Reusable field group ACF”, it might be nice to mention the following here:

    Version 5.4 will include a new “Clone” field.

    – From John Heubner’s preliminary work on https://github.com/Hube2/acf-reusable-field-group-field

    See: https://www.advancedcustomfields.com/resources/clone

  • if i dont missunderstood what @semlohj wish it is already possible:
    at backend primary with the help of the clone-field.
    for the frontend with help of includes that contains the reusable block.

    • create option page, that dont need to be accessible for general / by menu
    • create a fieldgroup with all needed fields inside (everything inside repeater but not repeater itself) assign it to that optionpage
    • create new fieldgroup with repeater and add a clone field that use all field from above group
    • create an other fieldgroup/repeater-field/flexible-field and add a clone field that use all field from above group

    with help of that, you can update the original fieldgroup and the changes apply to the clones

    i do for example:
    fieldgroup teaserbox = text,textarea,image,link
    fieldgroup halfcolum = flexible-field with a layout, that include clone-field:teaserbox
    fieldgroup fullcolumn = flexible-field with a layout, that include a repeater with clone-field:teaserbox inside
    fieldgroup content = flexible-field with 2 layout, one inlude clone-field:fullcolum || the other include prefixed clone-field: halfcolumn, prefixed clone-field: halfcolumn

    now i can add another field to teaserbox and fullcolumn, left_halfcolumn, right_halfcolumn where updated

    hope that help. else may @acf-support can reproduce what i say and give a more detailed answer

  • Thanks for that Script!
    It works great, but I have problems with saving the dragged layouts.
    All layouts, which were dragged to the other fields, are lost after saving the post.
    Have/had somebody the same issue?

    I changed the JS to this for just dragging the layouts between the reusable fields:

    
    connectWith: [
        '[data-layout="1_col"] .values',
        '[data-layout="2_col"] .values'
    ]
    

    I created a field group for all my modules. This field is reused in the columns as an flexible content field:

    - flexible content for modules (using this fieldgroup for reusable field group)
      - text
      - image
      - ...
    

    in the main groups:

    
    - flexible content (1 col)
      - col: reusable field group (flexible content)
    - flexible content (2 cols)
      - first col: reusable field group (flexible content)
      - second col: reusable field group (flexible content)
    

  • My biggest issue is during the image upload process. My current implementation is as follows:

    Flexible Field
    – Layout
    — Flexible Field
    — WYSIWYG
    — Image Upload
    — Plain Text

    The Layouts are 1,2,3,4 columns etc… so each column could use WYSIWYG, image or plain text options.

    Right now I have ACF PRO 5.4.8, am using @hube2 Reusable Field Groups plugin along with some others that I’ve included in the below zip.

    So far I’ve switched WYSIWYG to text tab default (trying @3pointross plugin :), switched from using image object to ID, use no conditionals in the front end. Around image number 5 being added to a column row, I get exceptional page lag.

    I completely understand limiting the complexity of flex content fields, but really want ACF to work as it’s a great plugin @elliot

    UPDATE Have to abandon ACF on a current client site. They experience timeouts when creating rows. I’d love a concrete solution here, but Beaver Builder is going to have to replace for this project.

  • Hi James,

    I appreciate your response and suggestions.

    While the Reusable Field Group looks a really decent option, I am reluctant to go ahead and even experiment with this due to the following issue:

    https://github.com/Hube2/acf-reusable-field-group-field/issues/29

    The above issue is a heads up stating that Elliot has begun work on similar functionality. This sounds great! I completely understand it’s impossible to give any kind of ETA for this work to be ready, but, would you be able to give me an idea of the timescale? Will it be weeks or months?

    Registering fields via php looks the best option for me as the plugin stands now. I understand how this can be done and I appreciate the link providing (the docs are amazing on the page!).

    The only question I have regarding registering fields via php is about naming conventions for field group’s and field keys.

    Do I need to follow the ACF naming convention, or can I use my own just as long the the keys are unique?

    Thanks again,
    Paul

  • Hi @kitt

    I’m not sure what you can do with Page Builder, but there’s a plugin created by John that allows you to duplicate field groups for ACF Pro. Please take a look at this thread to learn more about it: https://support.advancedcustomfields.com/forums/topic/reusable-field-groups/. I’m not sure if it will work with your situation, but I guess there’s no harm in trying it.

    Another method would be registering the fields by using the PHP code. This page should give you more idea about it: https://www.advancedcustomfields.com/resources/register-fields-via-php/. With this method, you can create the required layouts as variables and then add them to the right place programmatically.

    I hope this makes sense πŸ™‚

  • Hi @paulka

    There’s a plugin created by John called Reusable Field Group Field for ACF Pro. Please take a look at this thread to learn more about it: https://support.advancedcustomfields.com/forums/topic/reusable-field-groups/. I’m not sure if it will work with your situation, but I guess there’s no harm in trying it.

    Another method would be registering the fields by using the PHP code. This page should give you more idea about it: https://www.advancedcustomfields.com/resources/register-fields-via-php/. With this method, you can create the required layouts as variables and then add them to the right place programmatically.

    I hope this makes sense πŸ™‚

  • You could try something like this (if I understand your question correctly):
    https://github.com/Hube2/acf-reusable-field-group-field

  • Hi @voteforpedro

    We have a thread with the same request before. Here’s the link: https://support.advancedcustomfields.com/forums/topic/reusable-field-groups/.

    Unfortunately, it’s not possible in the current version of ACF yet. If you want, you can use the PHP code to make the field groups dynamically. This page should give you more idea about it: https://www.advancedcustomfields.com/resources/register-fields-via-php/.

    I hope this helps πŸ™‚

  • Hi James, thanks. Right, so it looks like it is a problem with the server. It is running into some sort of execution error after about 30 secs and taking me to a “service unavailable” page. Updated the max input vars as well as execution and input time in php.ini, but am still receiving the same problem. I also called support and they said suhosin was not enabled on the server and there wasn’t much else they could do.

    Simply uploading the acf-json directory in my theme won’t work either because I am using that reusable field group plugin and I lose it’s functionality when using only the acf-json. Syncing doesn’t work either because I run into the same problem on the server as when importing the json files directly.

    Also, debugging live is pretty much not an option. I can duplicate the install and all of it’s plugins on another server, but I think that might defeat the purpose.

    I guess I could manually build the fields, but in the long-run it’s just not a viable solution. Really scratching my head on this one…

  • Hello,

    Not sure if you are still needing this, but I had exactly the same situation as yours. I had button that have crazy conditions with multiple fields and needed to be used on many different field groups.

    So I’ve created acf-component-field plugin, that does exactly what you described. Component Field Group are reusable and nest-able, with no extra php functions or classes you’d need to initiate in your theme.

    Demo can be found here: http://gummi.io/acf-component-field/
    Please feel free to play around in the backend and see how it’s setup.

    I hope this helps you and anyone else who’s looking for this type of functionality. πŸ™‚

  • Yes there is a way to limit the max number of each layout. When editing the layout, below the layout label and name are 3 additional fields including “Min” and “Max” these are for setting the minimum and maximum number of this layout that can be inserted.

    As far as the related question, this topic has come up may times. http://support.advancedcustomfields.com/forums/search?bbp_search=reusable+group

  • @delwinv, can you post an issue on my github repo? https://github.com/Hube2/acf-reusable-field-group-field/issues. Since this is my add on I’d rather not clutter up this forum with it. If you can attach a .zip file of example field groups I can test with that would be really helpful. I was recently working on fixing the conditional logic issue and I thought I had it.

    Edit: I created the issue, but I could still use a .zip file with groups to test with. https://github.com/Hube2/acf-reusable-field-group-field/issues/10

  • This plugin is a similar concept to the one you mentioned, it does allow conditional logic to be used, but for the entire group of fields. It does not allow conditional logic for individual fields in the field group being used, so not sure it will help you. https://github.com/Hube2/acf-reusable-field-group-field

  • This may be something that gets added to ACF. I know that the developer is thinking about it.

    There are some current options.
    ACF4: https://github.com/theideabureau/acf-reusable-group-field

    ACF ?: https://github.com/tybruffy/ACF-Reusable-Field-Group/ there are several forks of this one, I’m not sure which on to use.

    There is also mine that works with ACF5: https://github.com/Hube2/acf-reusable-field-group-field
    and I have this one that has a field group duplicator if you enable it that will copy field groups to multiple options pages: https://github.com/Hube2/acf-options-page-adder

    and there is this one that lets you build field groups with code that will also let you share fields in multiple groups. https://github.com/fewagency/fewbricks

  • My fork of the aforementioned plugin is in: https://github.com/devgeniem/acf-reusable-field-group/

    It features the fixes mentioned before but also makes the included field groups to obey their location rules and also adds a new location rule: “show only if this group is included to another”.

  • The developer is looking into the possibility of adding this to ACF.

    Until then you can try this add on plugin for ACF5 https://github.com/Hube2/acf-reusable-field-group-field

  • I have had a go at creating an extension that allows for creating field groups programatically which in turn allows for reusable field groups and more.

    http://support.advancedcustomfields.com/forums/topic/fewbricks-an-acf-extension-for-reusing-fields-and-much-more/

  • This weekend I started looking at the available plugins for reusable field groups. Testing and research turned into an entire weekend and at the end I had created my own version of a reusable field group field.

    It works a bit differently than the others, it works by rebuilding field groups that include a reusable field group field ans local field groups which override the original field groups. This only works in ACF5, ACF4 does not support acf_local().

    I have not completely tested it and would be interested in feedback or bug reports. I’ll also answer question. There’s not documentation yet, mostly because I think that the instructions when creating the field are pretty self explanatory.

    https://github.com/Hube2/acf-reusable-field-group-field

  • This weekend I started looking at the available plugins for reusable field groups. Testing and research turned into an entire weekend and at the end I had created my own version of a reusable field group field.

    It works a bit differently than the others, it works by rebuilding field groups that include a reusable field group field ans local field groups which override the original field groups. This only works in ACF5, ACF4 does not support acf_local().

    I have not completely tested it and would be interested in feedback or bug reports. I’ll also answer question. There’s not documentation yet, mostly because I think that the instructions when creating the field are pretty self explanatory.

    https://github.com/Hube2/acf-reusable-field-group-field

Viewing 25 results - 1 through 25 (of 59 total)