• Hi there,

    Awesome Plugin concept, so thanks for all your work!

    We’re trying to output this short code in an ACF WYSIWYG or text field.

    When we do the animation div is rendered, but the contents is empty. We’ve also made sure we’ve enabled short codes for both WYSIWYG and text fields using ACF’s native filter.

    When we use the same short code in a standard pages content area, it renders correctly.

    Any idea why this may be?

    Cheers!
    J

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author iodsgn

    (@develoved)

    Hi,

    Does your ACF field print the shortcode’s output to the frontend?
    If yes, can you give me a URL so i can take a look?

    Cheers

    Thread Starter jakus

    (@jakus)

    So it outputs the ‘wpbdmv-animation’ div element, but the element is empty.

    As mentioned; the same short code works fine in a standard page or post content field.

    Here’s a page for example: https://dimarca-com-au.swim.net.au/project/pink-lady-apples

    You can inspect the blank section toward the end of the page.

    No console errors or anything obvious I can see… *shrugs*

    Plugin Author iodsgn

    (@develoved)

    I don’t see any of the JavaScript files that the plugin en-queues loading on that page.

    Do you have any plugins that may interfere with the loading of JS (ie anything related to speed/optimization) ?

    If you are willing to let me tell a look at your back-end hit me up at [email protected]

    Cheers

    Thread Starter jakus

    (@jakus)

    It’s definitely an issue with your plugin.

    We’ve disabled the default WordPress content editor field for our ‘Project’ post type.

    When I re-enable this field and add the short code to the editor, the animation displays in both the default content location and in the custom field location.

    Something funky is going on whereby your plugin relies on the default WordPress editor or content field to be used to load it’s resources?

    I can’t give you admin logins.

    Cheers,
    J

    Plugin Author iodsgn

    (@develoved)

    I tried re-creating your issue by having Wysiwyg Editor field assigned to a custom post type, and hiding the default content editor via the field group’s options.

    But I can still see the animation rendering correctly.

    I am curious on what may cause this, but if I can’t recreate it, I am stuck.
    You can try sending me an export of your ACF fields in case it is something else related to those field’s config.

    Thread Starter jakus

    (@jakus)

    Thank you, I have sent you an email follow up.

    Regards,
    J

    Plugin Author iodsgn

    (@develoved)

    Hi Jacob,

    I tested with the ACF fields on the JSON file that you sent me, but still i can’t reproduce your problem. It renders the animation properly.

    As I said before, I don’t see any of the JavaScript files that the plugin en-queues loading on your page. In fact I don’t see any other JS files loading on your page except those added by your theme. Perhaps you don’t have any other plugins enabled, but still WP Bodymovin should be able to enqueue the files it needs.

    It doesn’t do it in any special way. Standard WP stuff.

    Perhaps it has something to do with the fact that you have renamed wp-content ?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Shortcode in ACF Field’ is closed to new replies.