پورتال جامعه ایرونی ها

close
تبلیغات در اینترنت

عضویت در خبرنامه


دیگر مطالب سایت

گالری عکس عکس روز

خرید کارت شارژ، پرداخت قبوض، لایسنس ویروس کش،و...

نحوه قرار دادن گوگل پلاس +۱ (Google Plus One )

بازدید : 1132
نظرات : 0
دوشنبه 07 بهمن 1392
توسط : علیرضا


ایرونی ها :

نحوه قرار دادن گوگل پلاس +۱ (Google Plus One )

امروز برایتان نحوه گذاشتن گوگل پلاس 1 برایتان آماده کرده ایم. امیداوریم خوشتان بیاید.

کدهای قرار دادن گوگل پلاس +1 در ادامه مطلب ...

به قسمت وبمستر پلاس وان گوگل بروید تا دکمه را دریافت کنید .

لینک :  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.iruniha.ir></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.iruniha.ir/iruniha1.jpg”>

مطالب مرتبط

نظرات

ارسال نظر فعلاً غیر فعال است

برگزیده ها

تبادل لینک باما
از ما حمایت کنید