Edge Suite
[resolved] Multiple animations in theme file (8 posts)

  1. johanosterstrom
    Posted 11 months ago #


    I'm trying to get six different Edge animations to work through my theme file. No success at all. Tried playing with PHP snippets like http://wordpress.org/support/topic/static-homepage-shortcode-in-template?replies=5 and no luck. I've also tried do_shortcode in theme file as a workaround.

    Just trying to include animation_1, animation_2 etc in a straight forward, hardcoded way in my index.php.

    Any ideas how to accomplish this?


  2. johanosterstrom
    Posted 11 months ago #

    Update to the issue: I have managed to include animations to the theme file via <?php echo do_shortcode("[edge_animation id='4']"); ?> (with different id of course), but it displays the same animation multiple times.

    What's going on here?

  3. ti2m
    Plugin Author

    Posted 11 months ago #

    Hi, the post snippet in your linked issue should work. All animations have to use the same EA runtime though, means be of the same EA version, otherwise you need to run some in iframe mode. At the same time all animations have to have a different composition id, meaning the 'class' in Edge Animate. You can't run the same animation twice on a site, if you want to do that as well then you need to use iframe mode for one as well.

    Can you just check the runtime for two of the animations and start with them an see if it works?

  4. gatanass
    Posted 11 months ago #


    I have the same problem. I have Edge Suite 0.6 and have to animations on a single page. Both animations are from different comps. and have different Comp. Classes. I do get get an error that the jquery is not loaded even though it is on the FTP.


    Have look.

  5. ti2m
    Plugin Author

    Posted 11 months ago #

    @gatanass You have CDN disabled for one composition and enabled for the other. Therefore EA loads the runtime and especially jQuery twice, which most likely causes the crash. Enable or disable CDN for both and see if that works.

  6. gatanass
    Posted 11 months ago #


    Thank you so much for the tip. It works now. Both compositions have the CDN on. It didn't work with both off.

    For those who don't know what the CDN is a service provided by Adobe. It enables your composition to use the runtime from Adobe's servers. You can find the CDN option in:

    File - Publish Settings


  7. ti2m
    Plugin Author

    Posted 11 months ago #

    Thanks for the feedback, glad you got it working. I've tested it with two compositions without CDN before, so this should definitely work in general. Might be a conflict with your theme or something, but as long as you got it working.... Marking as resolved. Please consider voting for the plugin if you like it.

  8. Christopher Glaeser
    Posted 9 months ago #

    Edit: I finally got this to work. I'm new to Animate and did not notice that I must name the Composition Class. Be sure and specify unique names for each comp.


You must log in to post.

About this Plugin

  • Edge Suite
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic