Sharing Buttons block in widget area : wrong url

  • Unknown's avatar

    Hello,

    I’m using the Twenty Sixteen theme on WordPress.com. I added the “Sharing Buttons” block to the sidebar widget area. On static pages, the buttons correctly share the current page URL. However, on the home page and on category/archive pages, all sharing buttons (X, Facebook, Threads and Emails) share the URL of the last post displayed before Infinite Scroll loads more posts, instead of the current archive/home URL.

    I inspected the HTML and the generated <a href> already contains the wrong post URL, so the issue occurs server-side before any JavaScript runs. Is this a known limitation of some themes, or a bug in the Sharing Buttons block?

    If this is a problem with the Buttons blocks, could you please help me fix it?

    Thanks. J

    The blog I need help with is: (visible only to logged in users)

Log in or create an account to reply