• Resolved Richard Foley

    (@richardfoley)


    I’ve just integrated TwentyNineteen with AMP, and it seems to work fairly well. Except for some mis-matching script handling, especially with the uLike plugin. The uLike (thumbsup=like) icons no longer function, and the “hide-favorite-icon” functionality no longer works. Also the “Edit” button no longer works for editing comments. There are no visible script errors.

    • This topic was modified 7 years, 2 months ago by Richard Foley.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Richard Foley

    (@richardfoley)

    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?

    Plugin Author Weston Ruter

    (@westonruter)

    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.

    Thread Starter Richard Foley

    (@richardfoley)

    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?

    Thread Starter Richard Foley

    (@richardfoley)

    Seems a bit pointless to have a fast site with no functionality. Ok.

    Plugin Author Weston Ruter

    (@westonruter)

    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/

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Upsets scripts via uLike’ is closed to new replies.