بالتأكيد كنت تتصفح أحد المواقع وقد رأيت شريط اعلي قالب المدونة يمكنك اخفاؤه
سأشرح لكم كيف تضعه في مدونتك بوضع كود بسيط،ويحتوي هذا الشريط على المشاركة على الفيسبوك ،وتويتر،وجوجل.
سأشرح لكم كيف تضعه في مدونتك بوضع كود بسيط،ويحتوي هذا الشريط على المشاركة على الفيسبوك ،وتويتر،وجوجل.
الخطوات:
اذهب إلى لوحة تحكم مدونتك.
اضغط على قالب.
ثم تحرير HTML.
ثم ثم بالبحث عن الكود التالي:
</head>
ثم ضع الكود التالي قبله:
<!-- AddThis Welcome BEGIN -->
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=xa-51420ae61cbe9c35"></script>
<script type='text/javascript'>
addthis.bar.initialize({'default':{
"backgroundColor": "#FF5E00",
"buttonColor": "#098DF4",
"textColor": "#FFFFFF",
"buttonTextColor": "#FFFFFF",
"hideAfter": 20
},rules:[
{
"name": "AnyOther",
"message": "If you enjoy this page, do us a favor:",
"action": {
"type": "button",
"text": "Share this page",
"verb": "share",
"service": "preferred"
}
},
{
"name": "Twitter",
"match": {
"referringService": "twitter"
},
"message": "If you find this page helpful:",
"action": {
"type": "button",
"text": "Tweet it!",
"verb": "share",
"service": "twitter"
}
},
{
"name": "Facebook",
"match": {
"referringService": "facebook"
},
"message": "قم بنشر صفحتنا",
"action": {
"type": "button",
"text": "مشاركة على الفيسبوك",
"verb": "share",
"service": "facebook"
}
},
{
"name": "Google",
"match": {
"referrer": "google.com"
},
"message": "If you like this page, let Google know:",
"action": {
"type": "button",
"text": "+1",
"verb": "share",
"service": "google_plusone_share"
}
}
]});
</script>
<!-- AddThis Welcome END -->
ليست هناك تعليقات:
إرسال تعليق