Title: Multiple clone buttons displaying (+ solution)
Last modified: July 19, 2019

---

# Multiple clone buttons displaying (+ solution)

 *  Resolved [Chris Schrijver](https://wordpress.org/support/users/chrisschrijver/)
 * (@chrisschrijver)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/multiple-clone-buttons-displaying-solution/)
 * I have created a page builder with ACF. It’s quite awesome and your plugin makes
   it even better. Thanks for that.
 * What is stumble upon is that when I insert a new flexible content item, a lot
   of duplicate clone buttons are inserted on the item. This can easily been fixed
   by inserting an if-statement in the acf-extended-fc-control.js file.
 * Like this: (around line 600)
 *     ```
       // Button: Clone
       if (!$controls.has('[data-acfe-flexible-control-clone]').length) {
           $controls.prepend('<a class="acf-icon small light acf-js-tooltip acfe-flexible-icon dashicons dashicons-admin-page" href="#" title="Clone layout" data-acfe-flexible-control-clone="' + $layout.attr('data-layout') + '"></a>');
       }
       ```
   
 * Could this please inserted into the core of your plugin?
    -  This topic was modified 6 years, 10 months ago by [Chris Schrijver](https://wordpress.org/support/users/chrisschrijver/).
    -  This topic was modified 6 years, 10 months ago by [Chris Schrijver](https://wordpress.org/support/users/chrisschrijver/).

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Konrad Chmielewski](https://wordpress.org/support/users/hwk-fr/)
 * (@hwk-fr)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/multiple-clone-buttons-displaying-solution/#post-11748368)
 * Hello,
 * Thanks for the report! I’ve extensively tested the clone button on complexe architectures
   before releasing it (flexible content > inside flexible content > inside clone
   etc…) and I couldn’t reproduce this bug.
 * Can you give me some informations about your main field configuration?
 * I’ll run additional tests, and include your code (which is a good control statement
   anyway). I’m planing to release a minor patch soon, before the big one about 
   ACF Forms. I’ll include this fix.
 * Thanks again,
 * Regards.
 *  Thread Starter [Chris Schrijver](https://wordpress.org/support/users/chrisschrijver/)
 * (@chrisschrijver)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/multiple-clone-buttons-displaying-solution/#post-11752090)
 * In the case that we experienced it the structure is as follows:
 * – Repeater
    – Flexibel content
 * Would be awesome if you can include this fix in the next release.
 * Thanks.
 *  Plugin Author [Konrad Chmielewski](https://wordpress.org/support/users/hwk-fr/)
 * (@hwk-fr)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/multiple-clone-buttons-displaying-solution/#post-11780744)
 * Hello,
 * Roger that, will do!
 * Regards.
 *  Plugin Author [Konrad Chmielewski](https://wordpress.org/support/users/hwk-fr/)
 * (@hwk-fr)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/multiple-clone-buttons-displaying-solution/#post-11872083)
 * Hello,
 * The new ACF Extended 0.7.9.9 update is available as pre-release on Github (soon
   on the WP repository): [https://github.com/acf-extended/ACF-Extended](https://github.com/acf-extended/ACF-Extended)
 * It includes the fix for your report 🙂
 * Havce a nice day!
 * Regards.
 *  Thread Starter [Chris Schrijver](https://wordpress.org/support/users/chrisschrijver/)
 * (@chrisschrijver)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/multiple-clone-buttons-displaying-solution/#post-11873912)
 * [@hwk-fr](https://wordpress.org/support/users/hwk-fr/) Awesome! Thank you!
 *  Plugin Author [Konrad Chmielewski](https://wordpress.org/support/users/hwk-fr/)
 * (@hwk-fr)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/multiple-clone-buttons-displaying-solution/#post-11898583)
 * Hello,
 * Just to let you know that the latest ACF Extended 0.7.9.9.8 version fix this 
   problem. You can download it from the official WP Repository.
 * Thanks again for the report!
 * Regards.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Multiple clone buttons displaying (+ solution)’ is closed to new replies.

 * ![](https://ps.w.org/acf-extended/assets/icon-256x256.png?rev=2071550)
 * [Advanced Custom Fields: Extended](https://wordpress.org/plugins/acf-extended/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/acf-extended/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/acf-extended/)
 * [Active Topics](https://wordpress.org/support/plugin/acf-extended/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/acf-extended/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/acf-extended/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Konrad Chmielewski](https://wordpress.org/support/users/hwk-fr/)
 * Last activity: [6 years, 9 months ago](https://wordpress.org/support/topic/multiple-clone-buttons-displaying-solution/#post-11898583)
 * Status: resolved