Viewing 5 replies - 16 through 20 (of 20 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    last tip; there’s a plugin to stop that emoji-JS from being loaded, think it’s called “disable emoji’s” or something 🙂

    Thread Starter jeeyer

    (@jeeyer)

    Found it! Installed! Thanks 😉
    Joost

    Thread Starter jeeyer

    (@jeeyer)

    Hey Frank,

    Sorry to re-open this but at the MAC in our store I’m getting errors in my console when I load the POS plugin (plugin is also not working). Do I just need to migrate to 2.2?

    See:
    http://take.ms/PHTRj

    This is what I’ve set up in the Snippet plugin:
    AO Off at Back-end:
    https://monosnap.com/file/uXKkQrOenRG4yEdaDNbPlUcqhQRH5P#

    AO Off at Check-out:
    https://monosnap.com/file/zLyIvVkEiaOB1mR2vN9kvdgoiGAFhF#

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    hmmm .. the problem could be with the fact that you have 2 separate code snippets where in fact it should be one (to avoid the first one disables AO for the second one to enable it). so use this snippet instead of those 2 separate ones;

    add_filter('autoptimize_filter_noptimize','jeeyer_noptimize',10,0);
    function jeeyer_noptimize() {
      if ( is_user_logged_in() || is_checkout() || is_cart() ) {
        return true;
      } else {
        return false;
      }
    }
    
    Thread Starter jeeyer

    (@jeeyer)

    Hi Frank,

    Removed the two codes, implemented yours and it works like a charm 🙂
    Thanks again for this. I will now stop bothering you!!!

    Best,
    Joost

Viewing 5 replies - 16 through 20 (of 20 total)
  • The topic ‘Autoptimize & Pingdom’ is closed to new replies.