Title: Wrong post/stuck post?
Last modified: August 30, 2016

---

# Wrong post/stuck post?

 *  Resolved [WWDay3](https://wordpress.org/support/users/wwday3/)
 * (@wwday3)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/wrong-poststuck-post/)
 * Whenever I click into a post and try to use the Facebook button (pr any other
   button), it always tries to post the same post. It does this on all posts. I’ve
   check social tags, and they are fine. It’s the same in both Chrome and Firefox.
   What could be causing this?
 * [https://wordpress.org/plugins/custom-share-buttons-with-floating-sidebar/](https://wordpress.org/plugins/custom-share-buttons-with-floating-sidebar/)

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

 *  Thread Starter [WWDay3](https://wordpress.org/support/users/wwday3/)
 * (@wwday3)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/wrong-poststuck-post/#post-6492144)
 * Additional info. Now, it seems to be stuck with a different post. Oddly enough,
   I tracked it down by doing some experimentation. It always seemd to be the ‘5th’
   post in the blog index. In other words – whatever post shows up in the 5th position
   in the blog index is what the plugin is picking up to post rather than whichever
   post is currently being viewed. What the heck is causing this, and how can I 
   fix it? My share buttons are worthless right now and I may have to switch plugins.
 *  Thread Starter [WWDay3](https://wordpress.org/support/users/wwday3/)
 * (@wwday3)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/wrong-poststuck-post/#post-6492146)
 * Aha. Figured out where it’s getting the post url. It’s picking up the url from
   the ‘latest posts’ widget in the sidebar. It may be that widget is coded incorrectly(
   not resetting the loop correctly).
 * I think you need to change your plugin to detect the current ‘active’ post. You
   really have to keep in mind that other plugins and widgets may not do things 
   correctly, and your plugin should keep that in mind.
 *  Plugin Author [WP-EXPERTS.IN](https://wordpress.org/support/users/india-web-developer/)
 * (@india-web-developer)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/wrong-poststuck-post/#post-6492158)
 * Hi WWDay3,
 * Thanks for your suggestions, we will look into this and in next version we will
   improve plugin code standard , so that type of issue will not repeat again.
 * Thanks
    Raghunath

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

The topic ‘Wrong post/stuck post?’ is closed to new replies.

 * ![](https://ps.w.org/custom-share-buttons-with-floating-sidebar/assets/icon-256x256.
   jpg?rev=2484662)
 * [Custom Share Buttons with Floating Sidebar](https://wordpress.org/plugins/custom-share-buttons-with-floating-sidebar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-share-buttons-with-floating-sidebar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-share-buttons-with-floating-sidebar/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-share-buttons-with-floating-sidebar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-share-buttons-with-floating-sidebar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-share-buttons-with-floating-sidebar/reviews/)

## Tags

 * [wrong post](https://wordpress.org/support/topic-tag/wrong-post/)

 * 3 replies
 * 2 participants
 * Last reply from: [WP-EXPERTS.IN](https://wordpress.org/support/users/india-web-developer/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/wrong-poststuck-post/#post-6492158)
 * Status: resolved