Title: [SOLVED] No shortcode or Preview Generated
Last modified: May 14, 2019

---

# [SOLVED] No shortcode or Preview Generated

 *  Resolved [rnrh](https://wordpress.org/support/users/rnrh/)
 * (@rnrh)
 * [7 years ago](https://wordpress.org/support/topic/solved-no-shortcode-or-preview-generated/)
 * I was able to solve the issue some have described where no shortcode or previews
   were being generated for new animations. It looks like no one is maintaining 
   this plugin anymore, so versions are getting out of sync.
 * In the plugins javascript folder (wp-bodymovin/assets/js/) you need to replace
   the lottie.js and lottie.min.js files with whatever version the bodymovin after
   effects animation is currently at from the github repo. For me that was 5.5.2,
   and those files are [here](https://github.com/airbnb/lottie-web/tree/master/build/player).
   That may be enough for you, but I also had to go into the main wp-bodymovin.php
   file (wp-bodymovin/) and change the versions being called in 2 identical lines:
 *  `wp_register_script( 'bodymovin' , plugin_dir_url( __FILE__ ) . 'assets/js/lottie'.
   $suffix . '.js', array(), '5.5.2' );`
 * Replacing the files and changing the versions did it for me.
    -  This topic was modified 7 years ago by [rnrh](https://wordpress.org/support/users/rnrh/).
      Reason: formatting
    -  This topic was modified 7 years ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).

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

 *  [razvanzamfira](https://wordpress.org/support/users/razvanzamfira/)
 * (@razvanzamfira)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/solved-no-shortcode-or-preview-generated/#post-11678598)
 * Hello,
 * I’ve followed your instructions, inclouding making the changes to the php file
   but now I get the following error in the console:
 * at d (wpbodymovin.min.js?ver=2.1.0:1)
    at b (wpbodymovin.min.js?ver=2.1.0:1) 
   at HTMLDocument.<anonymous> (wpbodymovin.min.js?ver=2.1.0:1) at i (jquery.js?
   ver=1.12.4:2) at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2) at
   Function.ready (jquery.js?ver=1.12.4:2) at HTMLDocument.K (jquery.js?ver=1.12.4:
   2)
 * Any ideas?
 * Thanks
 *  [Anandabrata Ghosh](https://wordpress.org/support/users/ananddevops/)
 * (@ananddevops)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/solved-no-shortcode-or-preview-generated/#post-11840841)
 * [@rnrh](https://wordpress.org/support/users/rnrh/) Thanks, your solution worked
   for me. I just had to replace the two lottie files, as suggested by you.
 * Great work.

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

The topic ‘[SOLVED] No shortcode or Preview Generated’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-bodymovin_a1c6a0.svg)
 * [WP Bodymovin](https://wordpress.org/plugins/wp-bodymovin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-bodymovin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-bodymovin/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-bodymovin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-bodymovin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-bodymovin/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Anandabrata Ghosh](https://wordpress.org/support/users/ananddevops/)
 * Last activity: [6 years, 9 months ago](https://wordpress.org/support/topic/solved-no-shortcode-or-preview-generated/#post-11840841)
 * Status: resolved