• I’ve found that using this plugin break mine AMP pages.

    So i make patch:
    -=-=-=-=-=-
    <?php

    <?php

    function bjll_compat_amp() {
    if ( function_exists( ‘amp_activate’ ) && defined( ‘AMP__VERSION’ ) && is_amp_endpoint() ) {
    add_filter( ‘bjll/enabled’, ‘__return_false’ );
    }
    }

    add_action( ‘bjll/compat’, ‘bjll_compat_amp’ );

    -=-=-=-=-=-

    And adding this into file:
    bj-lazy-load/inc/compat/amp.php
    bugfix showing images into AMP pages.

    • This topic was modified 6 years, 8 months ago by mobilio.
  • The topic ‘AMP issues’ is closed to new replies.