WordPress Popular Posts with google AMP compatiility
-
We are using your Popular Post plugins in our website https://www.zotezo.com/connect
We are facing some AMP compatibility issue for custom js.https://validator.ampproject.org/#url=https%3A%2F%2Fwww.zotezo.com%2F it is showing this error Custom JavaScript is not allowed./* <![CDATA[ */
var wpp_params = {“sampling_active”:”0″,”sampling_rate”:”100″,”ajax_url”:”https:\/\/www.zotezo.com\/connect\/wp-json\/wordpress-popular-posts\/v1\/popular-posts\/”,”action”:”update_views_ajax”,”ID”:””,”token”:”6ffd6a03ce”,”debug”:””};
/* ]]> */
</script><script type=’text/javascript’ src=’https://www.zotezo.com/contribute/wp-content/plugins/wordpress-popular-posts/public/js/wpp-4.1.0.min.js?ver=4.1.2′></script><script type=’text/javascript’ src=’https://www.zotezo.com/contribute/wp-includes/js/wp-embed.min.js?ver=4.9.8′></script><link rel=’stylesheet’ id=’wordpress-popular-posts-css-css’ href=’https://www.zotezo.com/contribute/wp-content/plugins/wordpress-popular-posts/public/css/wpp.css?ver=4.1.2′ type=’text/css’ media=’all’ /><link rel=’stylesheet’ id=’recent-posts-widget-with-thumbnails-public-style-css’ href=’https://www.zotezo.com/contribute/wp-content/plugins/recent-posts-widget-with-thumbnails/public.css?ver=6.2.1′ type=’text/css’ media=’all’ /></body>Can you provide me AMP compatible code for the Popular Post Plugin?
Thanks,The page I need help with: [log in to see the link]
- The topic ‘WordPress Popular Posts with google AMP compatiility’ is closed to new replies.