Forums

Google Plus One Button
[resolved] Button Size setting not applying when markup type is html. (3 posts)

  1. mccdyl001
    Member
    Posted 12 months ago #

    Hi there, this is more than likely my own wordpress setup and theme I'm using, but when I have the markup type as html (which is what it was by default), the "button size" setting did not seem to make a difference - it always shows the +1 button as "large". Changing the markup type to xhtml resulted in the +1 button being the correct "button size" as per the selection.

    Great work though getting this out the door so quick!

    Cheers.

    http://wordpress.org/extend/plugins/plus-one-button/

  2. Michael Fields
    Theme Wrangler
    Posted 12 months ago #

    Strange,
    I noticed a similar problem with the count attribute during development. Google's documentation shows that the html markup should look like this:

    <div class="g-plusone" data-size="standard" data-count="true"></div>

    With the size and count attribute prefixed with data-. This never really worked for count in my experience. It did, however, work with size when I released the plugin ...

    That being said, I've looked into it and have verified the bug you reported. Please look for an update in version 0.1.1 which will be released in the next 15 minutes.

    Best,
    -Mike

  3. ckschweiger
    Member
    Posted 12 months ago #

    what is the best way to align the button to the right?

    Thanks for your help!

    Chris

Reply

You must log in to post.

About this Plugin

About this Topic