Support » Plugin: W3 Total Cache » Custom File List Question

  • Resolved Wasca

    (@wasca)


    Hi Guys

    In the Custom File List for the CDN option is there a way to specify all the css and js file for a folder and all its sub-folders with out having to list all the sub-folder paths?

    So if I used this

    {wp_content_dir}/themes/buddyboss-theme/*.css

    It would also get the css files in

    {wp_content_dir}/themes/buddyboss-theme/dir1/*.css
    {wp_content_dir}/themes/buddyboss-theme/dir2/dir3/*.css
    {wp_content_dir}/themes/buddyboss-theme/dir2/dir3/dir4/*.css

    Thanks for your help

    • This topic was modified 6 months ago by Wasca.
    • This topic was modified 6 months ago by Wasca.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Marko Vasiljevic

    (@vmarko)

    Hello @wasca

    Thank you for the inquiry and I am happy to assist you with this.
    If you use {wp_content_dir}/themes/buddyboss-theme/*.css it means that all .css files in /buddyboss-theme/ folder will be uploaded which does not include sub-folders.
    You can try {wp_content_dir}/themes/buddyboss-theme/* however if that does not work then you need to add separate paths as you mentioned:

    {wp_content_dir}/themes/buddyboss-theme/dir1/*.css
    {wp_content_dir}/themes/buddyboss-theme/dir2/dir3/*.css
    {wp_content_dir}/themes/buddyboss-theme/dir2/dir3/dir4/*.css

    Thanks!

    Thread Starter Wasca

    (@wasca)

    Thanks @vmarko 😀

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom File List Question’ is closed to new replies.