Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #27162

    I’m configuring minifying on my site, but I’m getting trubles trying to find the right order to load all JS and CSS (because of dependences).

    Could you please provide me with a simple list ordered by load priority of all JS, and another list for CSS?

    It’s really difficult for me to guess the right order to get everything working (some files require that other files being loaded first to work properly, for JS it is because a file could require a function that is in a different file)

    I just need file names for each file.

    Thank you.

    #133018

    Hi

    Open up the themes functions.php file and look for:

    /*
    * Register frontend javascripts:
    */
    if(!function_exists('avia_register_frontend_scripts'))

    This function loads in all the css and javascript that the theme uses in the order that is needed.

    Regards,

    Devin

    #133019

    Awesome, thanks !!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘ENFOLD JS and CSS load order’ is closed to new replies.