کانون ایرانیان: Add Google Plus One Button on Blogger اضافه نمودن گوگل پلاس +1 در بلاگر
کانون ایرانیان

۱۳۹۰ خرداد ۱۲, پنجشنبه

Add Google Plus One Button on Blogger اضافه نمودن گوگل پلاس +1 در بلاگر


1. If you are already using the official Blogger Sharing buttons, you should be already seeing the +1 buttons on your blog. If it is not, then  go to that tutorial, and you will get the answer to how you can fix it.
2. No I don’t want to add that Blogger Sharing buttons, but would love to add the buttons somehow. If that’s the case, then read on..
3.Generate the +1 button code using the following generator.(The codes and the tutorial will be updated with the options that you make using the genrator)
Configure the Button


Button Type
Language
Float
Location of the Button
Display
4. Go to Blogger Dashboard > Design > Edit HTML and click on the button which says “Expand widget Templates”. Look for </head> and immediately above that paste
<script type="text/javascript" src="http://apis.google.com/js/plusone.js">
{lang: 'en-US'}
</script>
5. Now look for <data:post.body/> and immediately below that paste
<div>
<g:plusone size="standard" expr:href="data:post.url"/>
</div>
6.Save the template, and you should see the +1 buttons on your blogger blog.

0 نظرات:

ارسال یک نظر