Includ typed.js

Asked on July 16, 2015 in Development.

Hi,

I’m trying to make a nice intro with to typed.js (http://www.mattboldt.com/demos/typed-js/) but the effect is not working with layers.
I add the js code thanks to your devkit, but nothing is happening when I run it. How can I fix this ?

Thanks for reading!

Reply
  • Possible Answers to Your Question:

  • 1 Answer(s)
    Answered on August 24, 2015. Best answer

    Hi there,
    DevKit is intended as a development tool for customization– code should not really be kept there, but should be moved into a child theme. In the case of JS, you would put js snippets that augment a script that is already running. The customizer can’t do that without loading everything last, which may not be ideal for this script.

    Try creating a child theme and then enqueuing the script properly using wp_enqueue_scripts as described here:
    Enqueuing JavaScript

    Vail Joy Layers Team
    Reply