• Resolved ourtasteforlife

    (@ourtasteforlife)


    Hello, I’m new to this plugin and love it btw. I have issues with the display of social shares (social pug plugin) and related posts (Jetpack) shown at the bottom of the article. I would like to remove them from AMP pages if possible?

    Many thanks,
    Natalie

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    We checked your issue. If you want to remove the Jetpack and social pug from AMP pages you need to add some CSS on your page.
    AMP->design->Global->Custom CSS
    Code: div#dpsp-content-bottom, .dpsp-share-text , nav.jp-relatedposts-i2{ display: none; }
    Reference: https://monosnap.com/file/UxVL2SHR5dCWE7alUIkV4XG88j12rG

    • This reply was modified 4 years, 10 months ago by Ahmed Kaludi.
    • This reply was modified 4 years, 10 months ago by Ahmed Kaludi.
    Thread Starter ourtasteforlife

    (@ourtasteforlife)

    Hi Ahmed,

    Thank you so much! Adding this code has taken 3 seconds off my page speed so I am really grateful.

    Just one thing, on the page speed report for https://www.ourtasteforlife.com/sekumpul-fiji-waterfall-bali/amp/ it says “Reduce the impact of third-party code Third-party code blocked the main thread for 470 ms” under this says AMP 351KB.

    Under this again is “Minimize main-thread work 4.4 s”
    Script Evaluation – 1,853 ms
    Style & Layout – 1,585 ms
    Other – 469 ms
    Rendering – 292 ms
    Script Parsing & Compilation – 157 ms
    Parse HTML & CSS – 75 ms

    Could you advise me what to do about this? Many many thanks!

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    We checked your issue. The issue is coming some times only. We cannot do anything about this issue. PWA maybe fix this issue.

    Thread Starter ourtasteforlife

    (@ourtasteforlife)

    Hi Ahmed, thanks for checking, whats PWA?

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    PWA is another WordPress plugin.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Issue with Social Pug & Jetpack’ is closed to new replies.