- دسته بندی: آموزش, سایت
- 706 views

به قسمت وبمستر پلاس وان گوگل بروید تا دکمه را دریافت کنید .
لینک : http://www.google.com/webmasters/+1/button
سایز دکمه را انتخاب کنید Advanced options را بزنید و در قسمت URL to +1 آدرس سایت خودتون رو تایپ کنید .
مرحله ۲ :
کد گرفته شده مثلاً به این صورت است :
<!– Place this tag where you want the +1 button to render –>
<g:plusone annotation=”inline” href=”http://www.p30graph.com”></g:plusone>
<!– Place this render call where appropriate –>
<script type=”text/javascript”>
window.___gcfg = {lang: ‘fa’};
(function() {
var po = document.createElement(‘script’); po.type = ‘text/javascript’; po.async = true;
po.src = ‘https://apis.google.com/js/plusone.js’;
var s = document.getElementsByTagName(‘script’)[0]; s.parentNode.insertBefore(po, s);
})();
</script>
در هدر سایتتون یعنی header.php
و کد:
<!– Update your html tag to include the itemscope and itemtype attributes –>
<html itemscope itemtype=”http://schema.org/Article”>
<!– Add the following three tags inside head –>
<meta itemprop=”name” content=”پی سی گراف”>
<meta itemprop=”description” content=”مرجع گرافیک ،پی سی گراف ،ابزار گرافیک ،قالب سایت و وبلاگ”>
<meta itemprop=”image” content=”http://dl.p30graph.com/P30graph1.jpg”>
این کد ها را تغییر بدین
…………………………………………………………..







