Support

Account

Forum Replies Created

  • Thanks for the reply! However, the solution you linked to appears to be front-end focused. I’m looking for a way to conditionally remove it from the back-end when editing a page.

    The plugin I’m working on provides different types of content that can be added to a page. For example it has a basic content editor section, an accordion section, and a tabs section. These are all different layouts included in a flexible content section. But some of our clients may not need the tabs section. So rather than hacking the plugin for that particular site I’m trying to build a settings page where I could turn of the tabs section. So when the client goes to add content to a page, they don’t see the tabs layout as an option. Does that better explain what I’m trying to achieve? Please let me know if I can clarify anything or if I’ve misunderstood the post you linked to.

    Thanks!

  • Just updated to newest version, then tried re-updating after reading this post. I’m still getting errors when try to use Page Link fields on the backend.

    acf-input.min.js?ver=5.7.2:formatted:4826 Uncaught TypeError: Cannot read property 'id' of undefined
        at HTMLInputElement.<anonymous> (acf-input.min.js?ver=5.7.2:formatted:4826)
        at HTMLInputElement.dispatch (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-resizable&ver=4.9.8:3)
        at HTMLInputElement.r.handle (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-resizable&ver=4.9.8:3)
        at Object.trigger (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-resizable&ver=4.9.8:3)
        at Object.a.event.trigger (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-resizable&ver=4.9.8:9)
        at HTMLInputElement.<anonymous> (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-resizable&ver=4.9.8:3)
        at Function.each (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-resizable&ver=4.9.8:2)
        at a.fn.init.each (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-resizable&ver=4.9.8:2)
        at a.fn.init.trigger (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-resizable&ver=4.9.8:3)
        at d.triggerSelect (select2.min.js?ver=3.4.1:21)
  • Ok, here goes for a more in depth explanation.

    In the standard content editor when you go to insert media and upload an image. You are able to add caption text to the image. Once you click the insert into post button this text is displayed in the editor under the image as a caption(and then on the frontend it displays as a caption as well).

    When I switch to the text view on the standard editor I can see a caption shortcode wrapped around the image.

    However, when I am using a WYSIWYG field from ACF and I click insert media and upload an image, the caption doesn’t get added to WYSIWYG editor.

    And I don’t see the caption shortcode if I view the text version of the WYSWIG editor.

    Does that help any? Let me know if there is more information you need. Thanks for the help! And thanks for the plugin, it is the most useful plugin in my toolkit!

Viewing 3 posts - 1 through 3 (of 3 total)