• Good afternoon,

    I am fascinated by Greensock’s animation capabilities. Does a tutorial exist on how to import/use Greensock in WP? Thanks.

Viewing 1 replies (of 1 total)
  • Hi @engine44,

    I found this in the official greensock forum:

    -Add a functions.php file within my child theme to enqueue the JS script (my preference is to import it via the CDN link).

    -Create a “custom scripts” directory within my child theme and save there my custom script (in the old post this file was called my custom-gsap-scripts.js

    -Use the custom script file to run my tweens.

    You can find the whole post here: https://greensock.com/forums/topic/19908-wordpress-5-integration/

Viewing 1 replies (of 1 total)
  • The topic ‘WP & Greensock’ is closed to new replies.