I am trying to use a conditional code which will only load event espresso js script(s) if the current post matches the custom post type. The reason I am wanting to do this is because it is conflicting with my shopping cart. I’ve tried the following code below by putting it into a functions file under my child theme, but it is not working:
The support post ‘Conditional Loading of Javascript’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.