-
AuthorPosts
-
December 8, 2018 at 12:58 am #1042271
I’d set up a basic wordpress install with enfold, imported the “gym” demo, and made sure “minify and concatenate” css and js were both enabled, however, I’m not seeing any minification or concatenation of any theme files and there’s quite a significant number of them:
base.css,
layout.css,
buttons_fullwidth.css?ver=4.9.8
gallery.css?ver=4.9.8
google_maps.css?ver=4.9.8
grid_row.css?ver=4.9.8
heading.css?ver=4.9.8
hr.css?ver=4.9.8
icon.css?ver=4.9.8
iconlist.css?ver=4.9.8
image.css?ver=4.9.8
numbers.css?ver=4.9.8
slideshow.css?ver=4.9.8 slideshow_fullsize.css?ver=4.9.8and the list goes on and on…which is good in the sense that it’s modular…but I need a working solution for minifying and concatenating these files — and also ideally only serving up the files that are used on the page instead of everything;
“Load only used elements” also isn’t working.
Any ideas?
Thank you
- This topic was modified 6 years ago by fcbcurethemes.
December 8, 2018 at 8:58 am #1042401Hey fcbcurethemes,
Please send us a temporary admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.
Best regards,
RikardDecember 8, 2018 at 9:02 pm #1042564This reply has been marked as private.December 8, 2018 at 9:36 pm #1042574Actually, I was able to get concatenate and minify working on a localhost using MAMP running PHP 7.1.something. Hopefully it’s the PHP version that’s relevant there and not any other settings; what do you think?
However, when I disable CSS and JS concatenation and minification in order to see if “load only used elements” setting is working, I still see unused CSS and JS loaded on the page.
For example:
iconlist.js and iconlist.css.Do you have a typical checklist for this kind of issue so I can troubleshoot it on my end on my local install?
Thank you
- This reply was modified 6 years ago by fcbcurethemes.
December 15, 2018 at 11:52 am #1045626Hi,
You should not be worrying about this now, no one can see the site except you, so performance is not an issue yet. And you’re still developing the site, so you should leave the performance options disabled. Please feel free to contact us again once the site is live and the issues persist.
Best regards,
IsmaelJanuary 23, 2019 at 10:14 pm #1057947This reply has been marked as private.January 25, 2019 at 7:33 am #1058502Hi,
Thank you for the update. Can we have access to the site? We would like to check the settings.
Have you tried enabling the compression settings with the plugins disabled?Best regards,
IsmaelJanuary 25, 2019 at 10:09 pm #1058929This reply has been marked as private.January 26, 2019 at 10:02 am #1059069Hi,
You can upload a screenshot/mockup to one of the below sites and share the link here so we can help you better :)
https://snag.gy/
https://ctrlv.cz/en/
https://imgur.comCan you also provide us backend access to your staging site so we can investigate this issue.
Thank you for your understanding.
Best regards,
VinayJanuary 30, 2019 at 2:22 am #1060313I think I have some solutions to getting this minification and concatenation working after reading these 3 posts:
https://kriesi.at/support/topic/problem-with-new-avia-merged-styles-loading-after-style-css/
I am just wondering about the load order now: I was able to get my css to be loaded after the enfold parent theme’s css is loaded. However, the same priority integer in add_action( ‘wp_enqueue_scripts’, ‘themename_enqueue_scripts’, 99999999999 ) didn’t work for my javascript. Is the Autoptimize or BWP minify plugin currently still the recommendation for addressing this? (I saw that was a recommendation in the post here: https://kriesi.at/support/topic/enfold-css-javascript-merging-and-compression-not-working/)
Thank you
- This reply was modified 5 years, 11 months ago by fcbcurethemes.
January 31, 2019 at 12:54 pm #1060940 -
AuthorPosts
- You must be logged in to reply to this topic.