• Resolved lutechi

    (@lutechi)


    Since installed the plugin I have noticed that the likes on my home page have changed from 300+ to 3 thinking was because the counter wasn’t displaying all the numbers since I have all the buttons looking tight on the side bar.

    I do not have the plugin overriding the URL. It seems to be pulling the last post URL if you try to share any of the social buttons.

    Website homepage link is:

    http://wowlazymacros.com/

    http://wordpress.org/extend/plugins/wpsocialite/

Viewing 1 replies (of 1 total)
  • Plugin Author Tom Morton

    (@tm3909)

    Are you looking to show the social links of your overall site in the sidebar rather than post specific?

    WPSocialite relies on the WP loop to populate its data. In order to make it work outside the loop, you have to set the URL parameters.

    In order to accomplish what you need, use the following (template tag or shortcode, depending on how you set it up):

    $args = array(
        'size' => 'small', //choose which size buttons to display.
        'url' => 'http://wowlazymacros.com', //use this to override the url that is sent to WPSocialite. Not recommended to use in loop.
        'button_override' => 'facebook,twitter-share,twitter-follow,pinterest,linkedin,gplus,stumbleupon' //used to override buttons that are displayed. Add and remove as needed.
    );
    wpsocialite_markup( $args ); ?>

    [wpsocialite size="small" url="http://wowlazymacros.com" button_override="facebook,twitter-share,twitter-follow,pinterest,linkedin,gplus,stumbleupon"]

    Let me know if this helps.

Viewing 1 replies (of 1 total)

The topic ‘Home Page pulling last post URL’ is closed to new replies.