Maris 19, 2019

Yadda ake Loda Maballin Raba Jama'a da sharadi akan Blogger

Gabaɗaya muna amfani da maɓallan rabawa na jama'a akan rukunin yanar gizon mu don raba abubuwan da ke cikin rukunin yanar gizon mu a dandamali na dandalin sada zumunta daban-daban. Waɗannan maɓallan raba zamantakewar suna ƙara sizean ƙarin baiti girma ga shafukan yanar gizonku. Idan wani yana bincika wannan shafin yanar gizon tare da jinkirin haɗin Intanet to zai haifar da haɗari. Don kauracewa wannan musamman akan Designs masu amsawa, zaku iya loda maɓallan rabawa na jama'a da sharaɗi ku tsayar dasu don ɗorawa kan na'urorin hannu don kaucewa rikice-rikice.

zamantakewa-raba-widget

Yadda za a Load da Widgets na Zamani da sharadi:

Da ke ƙasa wata dabara ce mai sauƙi wacce muke amfani da ita wacce muke ƙididdige faɗin burauzar kuma idan faɗin ya zarce wani faɗi kaɗan faɗi 480px kawai sai maɓallan raba jama'a zasu nuna.

Anan mafi kyawun abu shine bamu ɓoye su ta amfani da css ba amma maimakon haka gaba ɗaya muna guje musu ɗorawa wanda zai iya adana lokacin lodawa lokacin da wani ke yin bincike daga wayoyin hannu.

Don aiwatar da ɗora sharadin a kan shafin yanar gizonku / gidan yanar gizonku, da farko ƙara duk abubuwan da ake buƙata na zamantakewar zamantakewar yanar gizonku ta amfani da hanyar da aka saba. Misali, zaku iya ziyarta facebook.com don ƙirƙirar lamba don maɓallin Kamar yayin dev.twitter.com zai samar da lambobin don Tweet da Bi widget din Twitter.

Cire JavaScript daga waɗannan lambobin da aka kirkira - duk abin da ke tsakanin tags – and add everything else to your website template. Then copy-paste the following snippet before the closing tag of your website template.


(function(doc, script, minimum) {

 // Calculate the width of the user's screen
 var browserWidth = window.innerWidth
 || doc.documentElement.clientWidth
 || doc.body.clientWidth;

 // Load JavaScript only if the site is being viewed on a wide (non-mobile) screen
 if (browserWidth > minimum) {

 var js, frag = doc.createDocumentFragment(),

 // Credit : Stoyan Stefanov of phpied.com
 js_queue = function(url, id) {
 if ( ! doc.getElementById(id) ) {
 js = doc.createElement(script);
 js.src = url; js.id = id;
 frag.appendChild(js);
 }
 };

 // These are the most common social widgets, remove the ones you don't need
 js_queue ("https://apis.google.com/js/plusone.js", "googleplus-js");
 js_queue ("//platform.twitter.com/widgets.js", "twitter-wjs");
 js_queue ("//connect.facebook.net/en_US/all.js#xfbml=1","facebook-jssdk");
 js_queue ("//platform.linkedin.com/in.js", "linkedin-js");
 js_queue ("//assets.pinterest.com/js/pinit.js", "pinterest-js");

 var fjs = doc.getElementsByTagName(script)[0];
 fjs.parentNode.insertBefore(frag, fjs);
 }

// Set the minimum width here (default is 480 pixels)
} ( document, 'script', 480 ) );

Lambar JavaScript ɗin da ke sama asynchronously tana ɗora duk shahararren widget ɗin zamantakewar jama'a - Twitter, Facebook, LinkedIn, Google+ da Pinterest - amma kuna iya cire kiran js_queue na widget ɗin da ba ku da niyyar amfani da shi a gidan yanar gizonku. Ajiye canje-canje kuma kun gama.

saurin shafin yanar gizo

Shi ke nan! A hankali kunyi nasara cikin nasara zuwa dabarun ci gaban yanar gizo da SEO. Tabbas wannan babi zai taimaka muku wajen rage lokacin loda kayan yanar gizo wanda shine ɗayan mahimman abubuwan da suka shafi Shafin SEO.

 

Game da marubucin 

Imran Uddin

Imran Uddin ƙwararren mai rubutun ra'ayin yanar gizo ne daga Indiya da kan All Tech Buzz, yana rubutu game da Blogging, Yadda ake tukwici, Samun kuɗi akan layi, da dai sauransu.


{"email": "Adireshin imel ba daidai ba ne", "url": "Adireshin gidan yanar gizo ba shi da inganci", "required": "Filin da ake buƙata ya ɓace"}