• Resolved baga

    (@baga)


    Hello I can’t get rid of the notice which says “Did you know Autoptimize includes on-the-fly image optimization and CDN via ShortPixel? Check out the Autoptimize Extra settings to activate this option.”

    Even if I dismiss the notice, every time a new page is loaded the notice appears again.

    How can I hide this notice completely?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    Evening baga;
    In some rare cases the logic to dismiss the notice does not work due to the transient (WordPress cache) not keeping the dismissed state. If this happens (and you or your hoster can’t find/ fix the issue with transients) you can use this code snippet to make the notice go away;

    add_filter( 'autoptimize_filter_main_imgopt_plug_notice', '__return_empty_string' );

    hope this helps,
    frank

    Thread Starter baga

    (@baga)

    Excellent Franks, it works like a charm! Thank you very much 🙂

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    you’re welcome Baga, feel free to leave a review of the plugin and support here! 🙂

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    hey @baga;
    if you want there’s a potential fix for the notice’s non-dismissable state you found, would be great if you could download the github version and check if the “try shortpixel” notice can be dismissed (technical details; the PAnD framework library now doens’t use transients any more to store notice status, but an option).

    looking forward to your feedback! 🙂
    frank

    Thread Starter baga

    (@baga)

    Thanks Frank! This version solves the issue with the notice.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    thanks for the confirmation Baga, this will be in AO 2.4.2 out later this month 🙂

    Thread Starter baga

    (@baga)

    Fantastic 🙂

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

The topic ‘ShortPixel Notice’ is closed to new replies.