Viewing 2 posts - 1 through 2 (of 2 total)
    • Author
      Posts
    • vanarie
      Guest

      I’ve updated the WP plugin to the latest and am trying to embed the share buttons in the header.php template. I’m having a few problems. The Google+ button only shows up in one size no matter what “type” I assign to it. The addthis doesn’t show up at all. Not sure if it’s a bug or not, but thought you should know. FB and TW buttons show up fine.

      (edit: looks like NO parameters are being passed to plusone – it displays with all default settings no matter what) 🙄

      Code:


      echo wp_socializer(facebook, array(
      ‘output’ => ‘button’,
      ‘url’ => ‘http://www.mysite.com’,
      ‘title’ => ‘mysite.com’,
      ‘type’ => ‘like’,
      ‘style’ => ‘button_count’
      ));
      echo wp_socializer(retweet, array(
      ‘output’ => ‘button’,
      ‘url’ => ‘http://www.mysite.com’,
      ‘title’ => ‘mysite.com’,
      ‘type’ => ‘compact’
      ));
      echo wp_socializer(plusone, array(
      ‘output’ => ‘button’,
      ‘url’ => ‘http://www.mysite.com’,
      ‘title’ => ‘mysite.com’,
      ‘type’ => ‘small’
      ));
      echo wp_socializer(addthis, array(
      ‘output’ => ‘button’,
      ‘url’ => ‘http://www.mysite.com’,
      ‘title’ => ‘mysite.com’,
      ‘type’ => ‘sharecount’
      ));

      Secondly, it would be nice to have a wizard to output generic type of layouts so new users don’t have to hunt for these settings one by one. Just an idea.

      I’m wondering the type => ‘small’ is not working.. It should work fine.

      If addthis button is not working, try including the code in the header.php

      Code:

      Also note that, you don’t need to use ‘output’ => ‘button’, in all your function. The default is “button”. So its not necessary to use every time.

    Viewing 2 posts - 1 through 2 (of 2 total)
    • The topic ‘manual wp_socializer() – some seem to be broken’ is closed to new replies.

    Subscribe for updates

    Get updates on the WordPress plugins, tips and tricks to enhance your WordPress experience. No spam. View newsletter