Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #563694

    Hello,
    My site broke a month ago due to either caching plugin, minify, and or security while using enfold theme.
    I will assume it was due to a minify or similar. Site was really slow so had to do something.

    Please be aware, I’m just learning stuff and not very experienced at all this yet.

    1) With that said, if I use BWP minify plugin what plugin for cache should I use with enfold as I have seen both listed here on the forum.
    Better WordPress Minify with WP Super Cache or w3 total cache? Which is better for compatibility?

    2) Also, what security plugin works best least likely to break enfold with those plugins that you might name?
    I would like to use free version of wordfence.

    I had a nice site and it breaking was a lot of work down the drain for a only slightly knowledgeable WordPress person.

    3) Finally, if I have to edit the function.php with the following code where in the function.php do I add it?:
    Add this on functions.php if you install the BWP Minify plugin:
    Begin code:

    add_filter(‘bwp_minify_style_ignore’, ‘exclude_my_css’);

    function exclude_my_css($excluded)
    {
    $excluded = array(‘avia-custom’, ‘avia-layout’);
    return $excluded;
    }

    End code;
    This will exclude layout.css and custom.css, two of the css files that usually breaks the site when included on the compression.

    The site is being rebuilt from scratch so not much on it yet.

    So please provide:
    I will need a common practice for each site I use enfold on…
    The safest least risk but best speed.
    So please detail the steps and how to do it for best effect on any wordpress site that I will be using enfold on…
    Security plugin
    minify plugin
    cache plugin.

    I will of course follow another post i found on forum for optimizing images too.
    I will probably NOT use a cdn.

    thank you in advance…
    Tina

    • This topic was modified 8 years, 3 months ago by successisus. Reason: typo
    #564322

    Hi Tina,

    We don’t have any best practices for plugins like that, but as far as I know the ones you mention should work with the theme. But having said that, things don’t always work out as expected. You can add the code to the very bottom of function.php, please use a child theme if you are going to make customisations: http://kriesi.at/documentation/enfold/portfolio-item/create-a-child-theme/

    Thanks,
    Rikard

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