Support » Plugin: MnCombine » How to combine JS & CSS only for FRONTEND?

  • Resolved pathuri


    How do I know which JS & CSS files are for BACKEND and FRONTEND?
    The list is very big & confusing also – which one to select and which one not?
    Is there any option/way to sort based on frontend/backend list for JS and CSS ?
    Might be a good idea to clarify.

Viewing 1 replies (of 1 total)
  • Plugin Author mneil


    The plugin only combines scripts on the front-end. Some of the scripts that it finds are only for the backend. There’s no way in WP that I’m aware of to differentiate between which files will be in the front-end and which will be in the back-end only since all scripts are en-queued the same and are typically wrapped in a conditional to check for the admin. The plugin is not relying on code execution to find files.

    I recommend checking the boxes for all of the files. The list is very big because there are a lot of files that can be combined. Please see the other forum posts on recommended settings and which files to combine.

Viewing 1 replies (of 1 total)
  • The topic ‘How to combine JS & CSS only for FRONTEND?’ is closed to new replies.