Belay that. the issue is not just with uLike buttons. The issue is with all buttons on the front-end which initiate script actions. They’re all disabled. “Edit”, “Like”, “Delete”, “Report”. Nothing works, and there no error messages. Naturally my website members are all tearing their hair out… :\
Can you assist, please?
If the functionality depends on JavaScript then it won’t work in AMP. If you try turning JavaScript off in your browser and you see the same behavior when AMP is turned off, then the issue is that the plugin doesn’t provide a non-JS fallback. Ideally AMP components would be used instead instead of no-JS fallbacks.
hi Weston,
thanks for getting back to me on this. Do I understand you correctly that using AMP on the site, will simply disable all javascript across the site?
Seems a bit pointless to have a fast site with no functionality. Ok.
The AMP plugin will remove custom JavaScript on AMP pages. It does this to help guarantee speed, since custom scripts are can block pages from rendering quickly. Instead, AMP provides components to use which use JavaScript written in a way that maximizes performance. There are many other things that AMP does to maximize performance. For more, see https://amp-wp.org/documentation/getting-started/