Viewing 3 replies - 16 through 18 (of 18 total)
  • @franks123 Can you try with both plugins deactivated on the test page, along with any other plugins also if they don’t appear on your homepage. After doing so check their AMP equivalent.

    Thread Starter franks123

    (@franks123)

    Hi @jamesosborne
    I have removed js code of both sumo and olark and I have deactivated the testimonial plugin. Now the page looks good.
    This is the url
    https://creativesystems.0438cfd.netsolhost.com/?amp

    1) There is one issue images are not showing correctly in front of “trusted by” heading. Please guide me how to resolve this one

    2) Is there any possibility that testimonials plugin will be active but disable only for amp version.

    Please guide me how to resolve these 2 things

    Thank you

    James Osborne

    (@jamesosborne)

    @franks123 Nice work. For the images you will need to either check with the plugin provider (if inserted via a plugin), add CSS fixes (via as AMP specific stylesheet) or look for an AMP compatible alternative method of inserting images.

    If you know the script handle for your testimonials plugin you can remove via the following:

    add_action( 'wp_enqueue_scripts', function() {
        if ( function_exists( 'is_amp_endpoint' ) && is_amp_endpoint() ) {
        wp_dequeue_script('scripthandle');
        }
    }, 1000 );

    Alternatively you could toggle the display via CSS

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘Sumo and olark chat are not working on amp version’ is closed to new replies.