Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #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.8

    and 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 5 years, 4 months ago by fcbcurethemes.
    #1042401

    Hey 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,
    Rikard

    #1042564
    This reply has been marked as private.
    #1042574

    Actually, 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 5 years, 4 months ago by fcbcurethemes.
    #1045626

    Hi,

    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,
    Ismael

    #1057947
    This reply has been marked as private.
    #1058502

    Hi,

    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,
    Ismael

    #1058929
    This reply has been marked as private.
    #1059069

    Hi,

    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.com

    Can you also provide us backend access to your staging site so we can investigate this issue.

    Thank you for your understanding.

    Best regards,
    Vinay

    #1060313

    I 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, 2 months ago by fcbcurethemes.
    #1060940

    Hi,

    Yes, you can use those plugins as an alternative if the default file compression settings is not compatible with your server or setup. Or install a cache plugin such as WP Super Cache, which has its own minification option.

    Best regards,
    Ismael

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.