• Resolved G

    (@gnetworkau)


    Hi Raul, I just tried the new version, it did not merge the css files.
    All my settings are the same.
    Reverted to previous version.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Raul P.

    (@alignak)

    Are you checking the site logged out?
    Should be working

    Thread Starter G

    (@gnetworkau)

    yes, logged out.

    Plugin Author Raul P.

    (@alignak)

    When you say it’s not merging…

    Do the css files that are supposed to be merged, still show separately linked in the header?

    Are there any css files created, visible on the status page on FVM?

    Can you post a screenshot of your settings or tell me the exact options you have enabled/disabled on FVM?

    Do you have any other plugins that are changing the position, minifying or changing the css files?

    On v2.5.3 we now make use of the more generic and more compatible style_loader_tag hook, while before I was using the wp_print_styles and wp_print_footer_scripts hooks (which causes issues with some plugins that remove css files on a per page case).

    This requires at least WordPress version 4.5.
    Which wordpress version are you using?

    Also in regard of your theme, are you using a customized theme or a commercial/free theme?

    You need to have the default wp_head(); and wp_footer(); functions on your theme header and footer respectively (it’s the default on most commercial and free themes, so it should be there unless you have removed it).

    I would love to help, but I am testing this on multiple wordpress sites with different themes, and I see it’s merging css properly.

    Plugin Author Raul P.

    (@alignak)

    I just added a few more checks to the css merging code, so please try 2.5.4 and see if it works. If it doesn’t, I’ll need the information I asked for on my post above.

    Thread Starter G

    (@gnetworkau)

    Thanks Raul for your good efforts.
    I have had similar problems with the versions over the last month or so, when you did lots of updates. Even the one I am using now, V2.5.1, works funny in that if I select option “Inline all CSS” it does not inline but outputs all the file links as normal, unmerged too.

    Let me do some deeper investigation following your suggestions above, and try newer version over the weekend, and I will do full report here.

    Thanks.

    Plugin Author Raul P.

    (@alignak)

    Hello, can you try to update to 2.5.5 and see if it works?

    Thread Starter G

    (@gnetworkau)

    Works perfect on my settings, thanks for that Raul!

    The problem still presents when trying to Inline all CSS – which I don’t need, but maybe someone else does.

    Here are my answers to your questions, please don’t hesitate to contact me again for further testing if you wish.

    As my setup works fine, I answer these in terms of the Inline CSS issue:

    Do the css files that are supposed to be merged, still show separately linked in the header?
    YES, but Inline css code does not.

    Are there any css files created, visible on the status page on FVM?
    Not when using Inline CSS. It says “There are no merged CSS files listed here, because you are inlining all CSS directly.”

    Can you post a screenshot of your settings or tell me the exact options you have enabled/disabled on FVM?
    See my Settings below – when trying Inline all CSS, I only changed that setting and all others left the same.

    Do you have any other plugins that are changing the position, minifying or changing the css files?
    NO. Only custom functions to conditionally dequeue/deregister some plugin css files.

    Which wordpress version are you using?
    5.0.3

    Also in regard of your theme, are you using a customized theme or a commercial/free theme?
    GeneratePress

    —————————————————–

    == Settings ==

    Admin Bar Purge
    Preserve Cache Files
    Force HTTPS urls (recommended if you have SSL)
    Strip HTML comments
    Inline Google Fonts CSS
    Merge or Inline Font Awesome CSS
    Cache /home/user/public_html/wp-content/cache
    Path https://domain.com/wp-content/cache

    == Pro ==

    Ignore List
    Ignore the following CSS and JS paths below:
    /wp-content/themes/generatepress/style.min.css
    /wp-content/plugins/tablepress-datatables-buttons/js/
    /wp-content/plugins/tablepress/js/

    == Developers ==

    Async CSS with LoadCSS

    —————————————————–

    Plugin Author Raul P.

    (@alignak)

    Ok, then that explains it.

    Once you enable the “Async CSS with LoadCSS”, all inlining is skipped.
    That’s because the Developer settings, take precedence over the normal settings.

    I’ll update the label on that option in the next version, so it’s more understandable.

    Thread Starter G

    (@gnetworkau)

    Oh crap! I forgot about that. All good…

    Thread Starter G

    (@gnetworkau)

    Hi Raul, you fixed that CSS merging so strong, that it is also processing the CSS on wp-login.php page!
    You have an option to exclude login page on JS Defer, you may want to do similar for CSS. I used Plugin Logic (nice plugin) to conditionally disable FVM on the login page.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘New version 2.5.3 not merging CSS’ is closed to new replies.