Support

Home Forums Event Espresso Premium assets from plugin not loading

assets from plugin not loading

Posted: November 10, 2017 at 5:55 am

Viewing 1 reply thread


stefan@netdust.be

November 10, 2017 at 5:55 am

Hi,

I am trying to use the espresso event plugin with themosis, but for some reason the assets from that plugin are not always added to the header and some pages give me js errors.
I tried a very simple setup with a route and a view just calling wp_header() and the css is not added to the header. Other css files are there.

If I switch to twentyseventeen theme from wordpress the styles are added like it should and there are no js errors. I am not sure what I am doing wrong here, … any help is appreciated.

thx
Stefan


Josh

  • Support Staff

November 10, 2017 at 2:02 pm

Hi Stefan,

The function you need to call is actually wp_head().

I’m afraid that I’m probably not going to be of much help with this issue, I do not know much about how to use themosis.

I can tell you that the assets are enqueued with the standard wp_enqueue_style and wp_enqueue_script functions, on the wp_enqueue_scripts hook. Generally if the template calls wp_head() and wp_footer() then the assets will load.

Viewing 1 reply thread

The support post ‘assets from plugin not loading’ 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.

Event Espresso