• Hi,

    I’ve been trying to use Social Pug on a website I recently developed, but it seems to be sharing the wrong post.
    Regardless of the article I’m on, when using the floating Facebook share button on the left, it shares one certain post image and text (everytime, the same one)

    This only happens when sharing ARTICLES, that you can find on this page https://inverde.ro/info-verde/

    An example of an article would be https://inverde.ro/2016/09/01/era-geologica-infricosatoare-cauzata-de-om/

    On the rest of the website, the buttons work fine.
    I’ve been trying to look into the .php files of the plugin, but can’t quite get why this is happening on articles only.

    Any advice?

Viewing 1 replies (of 1 total)
  • Plugin Contributor iova.mihai

    (@iovamihai)

    Hey there,

    I’m really sorry for the late reply and thank you for reaching out with this issue. The problem is related to the Recent Posts widget from your theme.

    Social Pug shares the last post found in the widget, because of the way the widget pulls and displays those posts.

    What you can do is add the following two lines of code into your theme’s functions.php file.

    remove_action( ‘wp_footer’, ‘dpsp_output_front_end_floating_sidebar’ );
    add_action( ‘wp_head’, ‘dpsp_output_front_end_floating_sidebar’ );

    If this still doesn’t fix the issue, please open a support ticket on our website ( https://devpups.com/support/ ).

    Best regards,
    Mihai

Viewing 1 replies (of 1 total)
  • The topic ‘Wrong post shared’ is closed to new replies.