AMP Template & AALB
-
Hi, we experienced that in the AMP versione of a site (using official Automattic’s plugin) the javascript of the AALB plugins were added the same.
This is a problem because javascript is not “supported” in amp so we want to know if there is a way to disable the aalb’s filter in the amp pages.
For the moment we append a php’s script that delete all the js code generated by AALB plugin but we want to know if there is a way to disable the aalb filter of the “the_content”.
We tried with
remove_filter( ‘the_content’, array( new Aalb_Content_Filter(), ‘filter’ ) );
added before the rendering of the amp version but not work.Can you helps us to remove the filter from specific pages? (in this case the AMP version)
Thanks
Best regards
The topic ‘AMP Template & AALB’ is closed to new replies.