Happily used by 1000+ Customers.

Get ready for the surprise! Our Responsive Blogger Theme.

Popular Searches:Free Area,Members Area

Explore Our Collection

Browse through our gallery of expertly-crafted themes to find the perfect one for your needs.

Quảng Cáo Đầu Bài

How to Increase Blog Loading with Lazy Sizes

How to Increase Blog Loading with LazySizes

Many ways to improve loading a blog, one of them by adding the script LazySizes on the theme of the blog. Lazysizes is a self-initializing lazyloader that can be considered fast, junk-free and also SEO Friendly for images that are on the blog and can also be used to lazyload on iFrame videos such as embed Youtube videos and videos from other platforms.


For those of you who have blogs with lots of image and video content, this is certainly one of the right solutions to increase blog loading by installing LazySizes because image or video content will not be loaded (off-screen) before you scroll down the page.


    How to Increase Blog Loading with Lazy Sizes is also quite easy, my friend just needs to add this script to the theme and apply it to the image or video content on the blog. In the Arlina Code blogI have also applied it and the results are quite good.

    All right, for those of you who want to add it, please follow the steps below:

    How to Increase Blog Loading with Lazy Sizes


    The first step, open Blogger > Click the Themes menu > Click Edit HTML > Then add the code below before </body>
    <script>
    //<![CDATA[
    // LazySizes https://github.com/aFarkas/lazysizes
    !function(e){var t=function(u,D,f){"use strict";var k,H;if(function(){var e;var t={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:true,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:true,ricTimeout:0,throttleDelay:125};H=u.lazySizesConfig||u.lazysizesConfig||{};for(e in t){if(!(e in H)){H[e]=t[e]}}}(),!D||!D.getElementsByClassName){return{init:function(){},cfg:H,noSupport:true}}var O=D.documentElement,a=u.HTMLPictureElement,P="addEventListener",$="getAttribute",q=u[P].bind(u),I=u.setTimeout,U=u.requestAnimationFrame||I,l=u.requestIdleCallback,j=/^picture$/i,r=["load","error","lazyincluded","_lazyloaded"],i={},G=Array.prototype.forEach,J=function(e,t){if(!i[t]){i[t]=new RegExp("(\\s|^)"+t+"(\\s|$)")}return i[t].test(e[$]("class")||"")&&i[t]},K=function(e,t){if(!J(e,t)){e.setAttribute("class",(e[$]("class")||"").trim()+" "+t)}},Q=function(e,t){var i;if(i=J(e,t)){e.setAttribute("class",(e[$]("class")||"").replace(i," "))}},V=function(t,i,e){var a=e?P:"removeEventListener";if(e){V(t,i)}r.forEach(function(e){t[a](e,i)})},X=function(e,t,i,a,r){var n=D.createEvent("Event");if(!i){i={}}i.instance=k;n.initEvent(t,!a,!r);n.detail=i;e.dispatchEvent(n);return n},Y=function(e,t){var i;if(!a&&(i=u.picturefill||H.pf)){if(t&&t.src&&!e[$]("srcset")){e.setAttribute("srcset",t.src)}i({reevaluate:true,elements:[e]})}else if(t&&t.src){e.src=t.src}},Z=function(e,t){return(getComputedStyle(e,null)||{})[t]},s=function(e,t,i){i=i||e.offsetWidth;while(i<H.minSize&&t&&!e._lazysizesWidth){i=t.offsetWidth;t=t.parentNode}return i},ee=function(){var i,a;var t=[];var r=[];var n=t;var s=function(){var e=n;n=t.length?r:t;i=true;a=false;while(e.length){e.shift()()}i=false};var e=function(e,t){if(i&&!t){e.apply(this,arguments)}else{n.push(e);if(!a){a=true;(D.hidden?I:U)(s)}}};e._lsFlush=s;return e}(),te=function(i,e){return e?function(){ee(i)}:function(){var e=this;var t=arguments;ee(function(){i.apply(e,t)})}},ie=function(e){var i;var a=0;var r=H.throttleDelay;var n=H.ricTimeout;var t=function(){i=false;a=f.now();e()};var s=l&&n>49?function(){l(t,{timeout:n});if(n!==H.ricTimeout){n=H.ricTimeout}}:te(function(){I(t)},true);return function(e){var t;if(e=e===true){n=33}if(i){return}i=true;t=r-(f.now()-a);if(t<0){t=0}if(e||t<9){s()}else{I(s,t)}}},ae=function(e){var t,i;var a=99;var r=function(){t=null;e()};var n=function(){var e=f.now()-i;if(e<a){I(n,a-e)}else{(l||r)(r)}};return function(){i=f.now();if(!t){t=I(n,a)}}},e=function(){var v,m,c,h,e;var y,z,g,p,C,b,A;var n=/^img$/i;var d=/^iframe$/i;var E="onscroll"in u&&!/(gle|ing)bot/.test(navigator.userAgent);var _=0;var w=0;var N=0;var M=-1;var x=function(e){N--;if(!e||N<0||!e.target){N=0}};var W=function(e){if(A==null){A=Z(D.body,"visibility")=="hidden"}return A||!(Z(e.parentNode,"visibility")=="hidden"&&Z(e,"visibility")=="hidden")};var S=function(e,t){var i;var a=e;var r=W(e);g-=t;b+=t;p-=t;C+=t;while(r&&(a=a.offsetParent)&&a!=D.body&&a!=O){r=(Z(a,"opacity")||1)>0;if(r&&Z(a,"overflow")!="visible"){i=a.getBoundingClientRect();r=C>i.left&&p<i.right&&b>i.top-1&&g<i.bottom+1}}return r};var t=function(){var e,t,i,a,r,n,s,l,o,u,f,c;var d=k.elements;if((h=H.loadMode)&&N<8&&(e=d.length)){t=0;M++;for(;t<e;t++){if(!d[t]||d[t]._lazyRace){continue}if(!E||k.prematureUnveil&&k.prematureUnveil(d[t])){R(d[t]);continue}if(!(l=d[t][$]("data-expand"))||!(n=l*1)){n=w}if(!u){u=!H.expand||H.expand<1?O.clientHeight>500&&O.clientWidth>500?500:370:H.expand;k._defEx=u;f=u*H.expFactor;c=H.hFac;A=null;if(w<f&&N<1&&M>2&&h>2&&!D.hidden){w=f;M=0}else if(h>1&&M>1&&N<6){w=u}else{w=_}}if(o!==n){y=innerWidth+n*c;z=innerHeight+n;s=n*-1;o=n}i=d[t].getBoundingClientRect();if((b=i.bottom)>=s&&(g=i.top)<=z&&(C=i.right)>=s*c&&(p=i.left)<=y&&(b||C||p||g)&&(H.loadHidden||W(d[t]))&&(m&&N<3&&!l&&(h<3||M<4)||S(d[t],n))){R(d[t]);r=true;if(N>9){break}}else if(!r&&m&&!a&&N<4&&M<4&&h>2&&(v[0]||H.preloadAfterLoad)&&(v[0]||!l&&(b||C||p||g||d[t][$](H.sizesAttr)!="auto"))){a=v[0]||d[t]}}if(a&&!r){R(a)}}};var i=ie(t);var B=function(e){var t=e.target;if(t._lazyCache){delete t._lazyCache;return}x(e);K(t,H.loadedClass);Q(t,H.loadingClass);V(t,L);X(t,"lazyloaded")};var a=te(B);var L=function(e){a({target:e.target})};var T=function(t,i){try{t.contentWindow.location.replace(i)}catch(e){t.src=i}};var F=function(e){var t;var i=e[$](H.srcsetAttr);if(t=H.customMedia[e[$]("data-media")||e[$]("media")]){e.setAttribute("media",t)}if(i){e.setAttribute("srcset",i)}};var s=te(function(t,e,i,a,r){var n,s,l,o,u,f;if(!(u=X(t,"lazybeforeunveil",e)).defaultPrevented){if(a){if(i){K(t,H.autosizesClass)}else{t.setAttribute("sizes",a)}}s=t[$](H.srcsetAttr);n=t[$](H.srcAttr);if(r){l=t.parentNode;o=l&&j.test(l.nodeName||"")}f=e.firesLoad||"src"in t&&(s||n||o);u={target:t};K(t,H.loadingClass);if(f){clearTimeout(c);c=I(x,2500);V(t,L,true)}if(o){G.call(l.getElementsByTagName("source"),F)}if(s){t.setAttribute("srcset",s)}else if(n&&!o){if(d.test(t.nodeName)){T(t,n)}else{t.src=n}}if(r&&(s||o)){Y(t,{src:n})}}if(t._lazyRace){delete t._lazyRace}Q(t,H.lazyClass);ee(function(){var e=t.complete&&t.naturalWidth>1;if(!f||e){if(e){K(t,"ls-is-cached")}B(u);t._lazyCache=true;I(function(){if("_lazyCache"in t){delete t._lazyCache}},9)}if(t.loading=="lazy"){N--}},true)});var R=function(e){if(e._lazyRace){return}var t;var i=n.test(e.nodeName);var a=i&&(e[$](H.sizesAttr)||e[$]("sizes"));var r=a=="auto";if((r||!m)&&i&&(e[$]("src")||e.srcset)&&!e.complete&&!J(e,H.errorClass)&&J(e,H.lazyClass)){return}t=X(e,"lazyunveilread").detail;if(r){re.updateElem(e,true,e.offsetWidth)}e._lazyRace=true;N++;s(e,t,r,a,i)};var r=ae(function(){H.loadMode=3;i()});var l=function(){if(H.loadMode==3){H.loadMode=2}r()};var o=function(){if(m){return}if(f.now()-e<999){I(o,999);return}m=true;H.loadMode=3;i();q("scroll",l,true)};return{_:function(){e=f.now();k.elements=D.getElementsByClassName(H.lazyClass);v=D.getElementsByClassName(H.lazyClass+" "+H.preloadClass);q("scroll",i,true);q("resize",i,true);q("pageshow",function(e){if(e.persisted){var t=D.querySelectorAll("."+H.loadingClass);if(t.length&&t.forEach){U(function(){t.forEach(function(e){if(e.complete){R(e)}})})}}});if(u.MutationObserver){new MutationObserver(i).observe(O,{childList:true,subtree:true,attributes:true})}else{O[P]("DOMNodeInserted",i,true);O[P]("DOMAttrModified",i,true);setInterval(i,999)}q("hashchange",i,true);["focus","mouseover","click","load","transitionend","animationend"].forEach(function(e){D[P](e,i,true)});if(/d$|^c/.test(D.readyState)){o()}else{q("load",o);D[P]("DOMContentLoaded",i);I(o,2e4)}if(k.elements.length){t();ee._lsFlush()}else{i()}},checkElems:i,unveil:R,_aLSL:l}}(),re=function(){var i;var n=te(function(e,t,i,a){var r,n,s;e._lazysizesWidth=a;a+="px";e.setAttribute("sizes",a);if(j.test(t.nodeName||"")){r=t.getElementsByTagName("source");for(n=0,s=r.length;n<s;n++){r[n].setAttribute("sizes",a)}}if(!i.detail.dataAttr){Y(e,i.detail)}});var a=function(e,t,i){var a;var r=e.parentNode;if(r){i=s(e,r,i);a=X(e,"lazybeforesizes",{width:i,dataAttr:!!t});if(!a.defaultPrevented){i=a.detail.width;if(i&&i!==e._lazysizesWidth){n(e,r,a,i)}}}};var e=function(){var e;var t=i.length;if(t){e=0;for(;e<t;e++){a(i[e])}}};var t=ae(e);return{_:function(){i=D.getElementsByClassName(H.autosizesClass);q("resize",t)},checkElems:t,updateElem:a}}(),t=function(){if(!t.i&&D.getElementsByClassName){t.i=true;re._();e._()}};return I(function(){H.init&&t()}),k={cfg:H,autoSizer:re,loader:e,init:t,uP:Y,aC:K,rC:Q,hC:J,fire:X,gW:s,rAF:ee}}(e,e.document,Date);e.lazySizes=t,"object"==typeof module&&module.exports&&(module.exports=t)}("undefined"!=typeof window?window:{});
    //]]>
    </script>
    Then click the Save theme button for the checkpoint.

    LazySizes on Pictures

    Next, to apply, please search for everything img in the theme.
    <img...
    An example like this
    <img src='//www.blogger.com/img/icon_delete13.gif'/>
    Add class='lazyload' to the markup like this
    <img class='lazyload' src='//www.blogger.com/img/icon_delete13.gif'/>
    Do the above for all img markups on the theme. What if the img markup already has a class? Then you only need to add lazyload after the first class, for example
    <img class='blogger lazyload' src='//www.blogger.com/img/icon_delete13.gif'/>
    When done, click the Save theme button . To apply it to the image in the post, you need to add it manually. For example this image link
    <img class="lazyload" alt="Kezel Responsive Blogger Template" style="border: none;" data-original-height="853" data-original-width="1494" height="365" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAzl50bP4qOY379ESTU4f_JYw_N3zxYkzcyajxgLc7egIG6odulY16IgkMMRVSA5k41keST-Rsw1Y09Nq-cqLRhtJznFae3j3OmSdzfWCs7vYIgtO_1012VqH8DJMzgl85uGpsOeWHyNEX/s640/Kezel+Responsive+Blogger+Template.png" title="Kezel Responsive Blogger Template" width="640" />
    Add class="lazyload" after the img markup
    <img class="lazyload" alt="Kezel Responsive Blogger Template" style="border: none;" data-original-height="853" data-original-width="1494" height="365" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAzl50bP4qOY379ESTU4f_JYw_N3zxYkzcyajxgLc7egIG6odulY16IgkMMRVSA5k41keST-Rsw1Y09Nq-cqLRhtJznFae3j3OmSdzfWCs7vYIgtO_1012VqH8DJMzgl85uGpsOeWHyNEX/s640/Kezel+Responsive+Blogger+Template.png" title="Kezel Responsive Blogger Template" width="640" />
    Actually, for better application, it's better if you replace the src image with data-src Blogger, but for the new version of Blogger it turns out that it hasn't worked well
    Result

    LazySizes on Video

    Next apply it to the video iFrame. Just like in the picture, in the iFrame video to add it here I give an example on this Youtube video iFrame
    <iframe width="560" height="315" src="https://www.youtube.com/embed/pVCIZhGJ4gM" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
    Add class="lazyload" after iframe and replace src with data-src
    <iframe class="lazyload" width="560" height="315" data-src="https://www.youtube.com/embed/pVCIZhGJ4gM" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
    To see the results, please check your blog on PageSpeed ​​Insights or GTmetrix or other sites to see changes in the speed of the blog.

    That's the Way to Increase Blog Loading with LazySizes that Sayem Tutorial can share this time. Hopefully useful and respectful.
    Source: https://github.com/aFarkas/lazysizes

    How to remove WordPress toolbar from all users using PHP

    I couldn't write an article for a long time because I was busy creating a WordPress site. I added a login and registration option to my WordPress site. But when I logged in as a guest, I saw that the toolbar in WordPress is also showing here.
    I did a Google search to fix this problem but couldn't find anything. Then an idea came to my mind that its PHP can be removed.
    So fast go to your WordPress Dashboard > Appearance > Theme Editor
    Now click on  Theme Functions
    Theme Functions also called functions.php
    Theme Function Location
     Now add this the below PHP code on the under of Theme Functions
    add_filter('show_admin_bar', '__return_false');
    Add This PHP Code Like This
    After adding this code just click on Update File. Now all done. I hope you are enjoy this article .

    Video Tutorial

    Add Custom Google Translator Widget in Blogger Template

    Translator widget is necessary for any native website or Blog. Suppose your site is in Bangla or Hindi language but containing some unique articles, in this case by using translator people from any other language speaker can read your contain and enrich their knowledge. In many cases we have seen that some local website with native language publish article or information first at that case if that website or Blog content translator widget then readers from around the world can read that article. Similarly in Google Blogger we have a default widget but may users don't like to add it because of generic style and looks. So I have created a custom translator widget which will looking professional and this will match with many types of template. Another feature of this widget your can change the translator button color easily and this is very easy to install in Blogger template. And note that this widget will use Google translator to translate your Blog. So custom code has added to customize the original Google translator.
    Whatever for adding this widget please follow the below steps-
    DEMO
    Step 1: Log in to your Blogger account and Go to your Blogger Dashboard

    Step 2: Go to your Layout tab.

    Step 3: Click on "Add a Gadget" then Select "HTML/JavaScript" Widget.
    HTML/JavaScript
    Step 4: Now Copy the below code and Paste it into "HTML/JavaScript" Gadget.
    <style type="text/css">
    #gt-wrapper {
    display:block;
    width:90%;
    max-width:300px;
    border:none;
    background-color:#fff;
    color:#444;
    overflow:hidden;
    position:relative;
    height:40px;
    line-height:40px;
    border:1px solid #e0e0e0;
    }
    #gt-wrapper select {
    border:none;
    background:transparent;
    font-family:'Verdana',Arial,Sans-Serif;
    font-size:12px;
    width:100%;
    color:#444;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
    -webkit-appearance:none;
    cursor:text;
    padding:5px 10px;
    }
    #gt-wrapper a,
    #gt-wrapper a:hover {
    display:block;
    background-color:#4B8DF7;
    border:none;
    color:#fff;
    margin:0 0;
    text-decoration:none;
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    cursor:pointer;
    width:14%;
    transition:all 0.3s ease;
    }
    #gt-wrapper a:before {
    content:" ";
    display:block;
    width:0;
    height:0;
    border:6px solid transparent;
    border-left-color:#FFFFFF;
    position:absolute;
    top:50%;
    left:45%;
    margin-top:-5px;
    }
    #gt-wrapper a:hover {opacity:0.9;}
    #gt-wrapper a:active {opacity:0.9;}
    #gt-wrapper select:focus,
    #gt-wrapper a:focus,
    #gt-wrapper select:active,
    #gt-wrapper a:active {
    border:none;
    outline:none;
    cursor:pointer;
    }
    option {
    background:#444;
    color:#e0e0e0;
    }
    </style>
    <div id="gt-wrapper">
    <select id="language">
    <option value="en" selected />English
    <option value="af" />Afrikaans
    <option value="sq" />Albanian
    <option value="ar" />Arabic
    <option value="hy" />Armenian
    <option value="az" />Azerbaijani
    <option value="bn" />Bengali
    <option value="eu" />Basque
    <option value="be" />Belarusian
    <option value="bg" />Bulgarian
    <option value="ca" />Catalan
    <option value="zh-CN" />Chinese
    <option value="hr" />Croatian
    <option value="cs" />Czech
    <option value="da" />Danish
    <option value="nl" />Dutch
    <option value="en" />English
    <option value="eo" />Esperanto
    <option value="et" />Estonian
    <option value="tl" />Filipino
    <option value="fi" />Finnish
    <option value="fr" />French
    <option value="gl" />Galician
    <option value="ka" />Georgian
    <option value="de" />German
    <option value="el" />Greek
    <option value="gu" />Gujarati
    <option value="ht" />Haitian Creole
    <option value="iw" />Hebrew
    <option value="hi" />Hindi
    <option value="hu" />Hungarian
    <option value="id" />Indonesian
    <option value="is" />Icelandic
    <option value="id" />Indonesian
    <option value="ga" />Irish
    <option value="it" />Italian
    <option value="ja" />Japanese
    <option value="kn" />Kannada
    <option value="ko" />Korean
    <option value="la" />Latin
    <option value="lv" />Latvian
    <option value="lt" />Lithuanian
    <option value="mk" />Macedonian
    <option value="ms" />Malay
    <option value="mt" />Maltese
    <option value="no" />Norwegian
    <option value="fa" />Persian
    <option value="pl" />Polish
    <option value="pt" />Portuguese
    <option value="ro" />Romanian
    <option value="ru" />Russian
    <option value="sr" />Serbian
    <option value="sk" />Slovak
    <option value="sl" />Slovenian
    <option value="es" />Spanish
    <option value="sw" />Swahili
    <option value="sv" />Swedish
    <option value="ta" />Tamil
    <option value="te" />Telugu
    <option value="th" />Thai
    <option value="tr" />Turkish
    <option value="uk" />Ukrainian
    <option value="ur" />Urdu
    <option value="vi" />Vietnamese
    <option value="cy" />Welsh
    <option value="yi" />Yiddish
    </select><a id="translate-me" href="#" title="Translate"></a>
    </div>
    <script type="text/javascript">
    (function() {
    var mylang = "en", // Your website language
    anchor = document.getElementById('translate-me');
    anchor.onclick = function() {
    window.open('http://translate.google.com/translate?u=' + encodeURIComponent(location.href) + '&langpair=' + mylang + '%7C' + document.getElementById('language').value + '&hl=en');
    return false;
    };
    })();
    </script>
    Step 5: Now simply hit the Save Template button.

    Customization


    • From line number 32 alter #4B8DF7 color code for changing the widget button color.
    • Alter en with your website language from line number 144.
    This widget will work very simply, after installing this widget just click on the translator box to select the language and after that click on Go and see your site has translated into your native language. Hope you would like this widget and people from around the world can read your blog by using this custom translator widget. Thank you.

    How to Add Syntax Highlighter in Blogger

    How to Add Syntax Highlighter in Blogger
    I have already shared an article about this topic and in that article I have shared very beautiful syntax highlighter.

    If you haven't read my previous article about Syntax highlighter please read it here.

    I think you will be thinking that if I have already shared an article about this topic then what is the meaning of sharing this article again?

    Friends be cool this is not a publicity stunt i just published this article on the same topic again because one of my friend was asking to share syntax highlighter like my website so that's why I am writing this article.

    So now let's talk about this syntax highlighter.

    This syntax highlighter uses highlight.js JavaScript plugin to highlight different kind of computer codes on any website.

    You can also use this same syntax highlighter into your wordpress website if you want.

    What is syntax highlighter?

    If you are new or if you don't have any knowledge about syntax highlighter then let me tell you that before going ahead.

    Syntax highlighting is a technique in which we use regular expression to match Syntax of different things and different alpha-numerical strings and make them Beautiful by giving them different text colors and background colors and many other styles.

    The syntax highlighting technique makes our computer codes or any other useful information look beautiful in different style.

    There are many others syntax highlighters available in the market like prism.js but our this Syntax highlighter uses highlight.js JavaScript plugin.

    So now here are complete steps which you have to follow to add this sentence highlighter into your blogger blog.

    Guidelines:


    1. Go to Blogger Dashboard
    2. Go to Theme/Template Section
    3. Click Edit HTML
    4. Now Search for </head>
    5. To search anything in blogger template section press Ctrl+F and then type term to search and press enter.
    6. Copy the code provided below and paste it above </head> tag.
      <b:if cond='data:blog.pageType == "item"'> <style>
      /* Highlighter By SayemTutorial.Com*/
      .post-body code{padding:1.2em;max-height:400px;}.post-body .hljs{background:#292a2b;display:block;overflow-x:auto;padding:1em 2em;color:#fff;line-height:1.5;text-align:left;word-spacing:0;font-family:monospace;border-radius:3px}.post-body .hljs-name,.post-body .hljs-strong{font-weight:500}.post-body .hljs-code,.post-body .hljs-emphasis{font-style:italic}.post-body .hljs-tag{color:#62c8f3}.post-body .hljs-variable,.post-body .hljs-template-variable,.post-body .hljs-selector-id,.post-body .hljs-selector-class{color:#ade5fc}.post-body .hljs-string,.post-body .hljs-bullet{color:#a2fca2}.post-body .hljs-type,.post-body .hljs-title,.post-body .hljs-section,.post-body .hljs-attribute,.post-body .hljs-quote,.post-body .hljs-built_in,.post-body .hljs-builtin-name{color:#ffa}.post-body .hljs-number,.post-body .hljs-symbol,.post-body .hljs-bullet{color:#d36363}.post-body .hljs-keyword,.post-body .hljs-selector-tag,.post-body .hljs-literal{color:#fcc28c}.post-body .hljs-comment,.post-body .hljs-deletion,.post-body .hljs-code{color:#888}.post-body .hljs-regexp,.post-body .hljs-link{color:#c6b4f0}.post-body .hljs-meta{color:#fc9b9b}.post-body .hljs-deletion{background-color:#fc9b9b;color:#333}.post-body .hljs-addition{background-color:#a2fca2;color:#333}.post-body .hljs a{color:inherit}.post-body .hljs a:focus,.post-body .hljs a:hover{color:inherit;text-decoration:underline}mark .post-body .hljs-attr,mark .post-body .hljs-string,mark .post-body .hljs-bullet{background-color:#e67e22;color:#fff}.post-body .hljs mark{background-color:tomato;color:#fff;padding:2px 5px;border-radius:2px}.BLOG_mobile_video_class{display:none!important}.post-body .hljs mark *{color:var(--selected-textcolor) !important}.post-body .hljs mark span.hljs-number,.post-body .hljs mark span.hljs-comment,.post-body .hljs mark span.hljs-symbol,.post-body .hljs mark span.hljs-string,.post-body .hljs mark span.hljs-attr,.post-body .hljs mark span.hljs-keyword,.post-body .hljs mark span.hljs-name,.post-body .hljs mark span.hljs-tag{color:#000;margin:.15rem 0}.credit{}
      </style></b:if>
    7. Now search for </body>.
    8. Copy the code provided below and paste it above </body> tag.

      <b:if cond='data:blog.pageType == "item"'>
      <script src='https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
      <script>
      //<![CDATA[
      eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('g f=["r-s","","t","u, i, j, .j, v","<a w=\\"x\\" y=\\"k://z.A.h/B/C/D-E-F-G-H-I-J.K\\" L=\\"M\\" N=\\"O:P;Q:R;S-T:U;V:#W;l-X:Y;Z:#18;19:1a 1b\\">&1c;</a>","1d","i","1e 1f","1g","1h","1i","1j","1k","l/1l","1m","1n","1o","k://1p.1q.h/m/m.h/n/1r.n"];$(f[3])[f[2]](f[0],f[1]);$(f[6])[f[5]](f[4]);o p(a,b,c){f[7];g d=q[f[10]][f[9]](f[8]);g e=b||q[f[10]][f[11]](f[8])[0];d[f[12]]=f[13];d[f[14]]=a;e[f[16]][f[15]](d,e);1s(o(){d[f[12]]=c||f[13]})}p(f[17])',62,91,'|||||||||||||||_0x14f5|var|com|code|mark|https|text|softwebtuts|js|function|xvxv|window|no|attribution|attr|pre|kbd|class|credit|href|www|sayemtutorial|2020|07|how|to|add|syntax|highlighter|in|blogger|html|rel|dofollow|style|position|absolute|right|8px|font|size|20px|color|000|decoration|none|background|||||||||fff|padding|0px|5px|copy|before|use|strict|script|createElement|document|getElementsByTagName|type|javascript|src|insertBefore|parentNode|rawcdn|githack|highlightr|setTimeout'.split('|'),0,{}))
      //]]>
      </script></b:if>
    9. Save Theme/Template
    So after adding the code by following the guidelines provided above now if you want to do Syntax highlighting on your website then you have to simply replace your computer code into
    <pre><code>Your Code Here</code></pre>
    tags, use your code instead "Your Code Here".

    Example Usage:
    This is the example usage of using this send text highlighter.
    <pre><code>&lt;h1&gt;
    Sayem Tutorial
    &lt;/h1&gt;&lt;h2&gt;
    Best place to learn blogging.
    &lt;/h2&gt;
    </code></pre>

    How to Get Money from Blogs in 6 Steps in 2020 by blogging

    You can make money from anywhere, including one from the blog. Blogs are not only a place to write articles, but also where you make money. You can get money from blogs in various ways, from endorsements to Google AdSense.

    In this article, besides learning how to get money from blogs without capital, you will also learn about how to build a blog. What does a quality blog look like? How to create a quality blog and make money? You can read more in this article.

    How to get money from blogs?

    This question certainly often crossed your head. Making money from blogs is very possible for all bloggers, just so know the steps.

    You can even make a blog as your main source of income. Here are 6 steps to make money from a blog:


    1. Create a Blog on the Best Blog Platform
    2. Create useful and interesting BLOF content
    3. Improve the Quality of Your Blog SEO
    4. Promote Blogs on Social Media
    5. Keep the Blog Reader Trust
    6. Determine How to Monetize a Blog
    At the beginning we already mentioned the quality blog. Why is this quality blog important in getting money from blogs? Because by building quality blogs you can make money from blogs for a long period of time.

    So what needs to be emphasized first is the quality of your blog then you can think of ways to reap rupiah later. You will not be able to make money from low quality blogs.

    So make sure the quality of your blog is the best first and then gain rupiah later. Here's how to build a quality blog and how to make money from it:

    1. Create a Blog on the Best Platform

    Quality blog starts from a quality blog platform too. There are many blog platforms to choose from, from Blogspot, Joomla, Drupal, Magento, to WordPress.

    Which blog platform is best for you?


    Each platform has advantages and disadvantages of each. However, if asked to choose, I suggest to choose WordPress. There are many reasons why WordPress is the best blog platform for you.
    BEST BLOGGING PLATFROM
    First, you can use WordPress for free. Second, WordPress is suitable for anyone, both beginners and advanced. Third, high-quality WordPress-generated blogs. For a full explanation of WordPress you can read here.

    In essence, WordPress is perfect for you if you want to create a quality blog. For how to create a blog using WordPress you can read more in the article how to create a blog.

    2. Create Useful and Interesting Blog Content

    After you have successfully created a blog, now is the time for you to publish content that you have specified. Make useful and interesting content.

    Your content can be said to be useful when readers get a solution through what you write. Remember, when readers search for a keyword on Google, what they want is an answer that can solve their problem.

    Besides being useful, your content must also be interesting. Many websites and blogs that discuss the same topic. You must be able to win the competition by creating useful and interesting content.

    Many ways you can do to make blog content interesting. First, take a unique perspective. One topic can be discussed with various perspectives. Try to take a unique perspective that has not been used by other blogs or websites.

    Second, make a creative title. The title is the first thing the reader sees. If the title isn't interesting, they won't bother reading your article. So make sure the title of your article is creative and interesting.

    Third, add visual media. Articles that contain only writing will be boring. We recommend adding images, photos, illustrations, infographics or videos.

    Also read: How to Write SEO Friendly Articles that are Good and Right

    3. Improve the Quality of Your Blog SEO

    Your blog visitors come from many sources. One of the biggest sources is Google search. Therefore, you must have good quality SEO to get lots of readers from Google.

    The content that you write must appear at least on the first page of Google search results to make it easier for potential readers to find. With good quality SEO, you can achieve this, even your content can rank first in Google.

    Even so, building quality SEO cannot be done overnight. It takes a long time to build quality SEO. Long time does not mean impossible if you follow the right guidelines.

    You can learn how to improve the quality of SEO blogs by reading a free ebook from Niagahoster. 30 Powerful Ebook SEO Steps to discuss in full how to improve the quality of SEO.

    4. Promote Blogs on Social Media

    Besides organic search, social media is another media that has the potential to be a source of visitors to your blog. You can reach more prospective blog readers using social media.

    There are various kinds of social media that you can use, from Instagram, Twitter, Facebook, YouTube, Kaskus, and many more. Maybe you are confused, which social media should you use to promote a blog.

    No need to worry because we already discussed the topic on the blog. You can read the complete guide on how to implement social media marketing in the Complete Social Media Marketing 2019 Guide article .

    The article will guide you in choosing the right social media platform, planning social media strategies, and creating interesting content for social media.

    5. Keep the Blog Reader Trust

    Starting a quality blog is not easy. And maintaining those qualities is even more difficult. Although difficult, it does not mean impossible to do.

    You must maintain a consistent quality blog to still get the trust of readers. Always ask for feedback, criticism, and suggestions from readers so that you understand what needs to be improved and maintained on your blog.

    That way readers will be more loyal to your blog. And it is not impossible they will voluntarily share your blog with friends.

    6. Determine How to Monetize a Blog

    After creating a quality blog , you can now start thinking about how to make money from blogs. Remember, without a quality blog, you can't get money from blogs! So make sure to follow the steps above first.

    Now is the time for you to learn how to make money from blogs that you have created. There are many ways to get money from blogs. You can choose one or several of the ways below:

    1. Blog income sources from Google AdSense

    GOOGLE ADSENSE
    Google Adsense is an advertising service that is most popular today, owned by large companies namely Google. This service is intended for publishers or website owners to display advertisements.

    Adwords and Adsense are essentially the same service. What distinguishes, for Adwords they provide services for advertisers to buy ads.

    Whereas publishers make money from advertisements displayed on their blogs from the Adsense service. The process is quite simple:
    1. As a website owner, you place the Adsense code on your website.
    2. Advertisers or Advertisers make an offer for advertising, and the offer with the largest price will be displayed on your website.
    3. You will get paid every time there is an ad click by your website visitors. Google will take care of billing to advertisers and ensure you receive payment.
    Google Adsense uses complex algorithms to analyze the content of your website. This ensures that the ads appear according to your website. For example, if you have a website about cats, Andsense will display advertisements in the form of promotions related to pets.

    Pay for each click varies from $ 0.1 to $ 5 depending on the country, competitors among advertisers and articles discussed, for Indonesia itself ranges from $ 0.01 to $ 5.

    For example, advertisements that appear on websites with articles about car ads are more expensive when compared to children's toy websites. Simple, for cars the price is more expensive, so for advertising investment is also more expensive.

    If you want to take advantage and start earning money by displaying Adsense ads, please register your blog by creating an Adsense account . This usually takes just a few minutes to register.

    After that you just have to wait for the notification email within a few days whether it is approved or not. If you have received, it's time you put adsense ads on the blog .

    2. Blog Income Sources from Endorsements

    Maybe you often see bloggers promoting certain products or services in their blog content. Whether it's in the form of reviews, unboxing, or just a description of the product.

    What you see on these blogs is endorsement. Bloggers can work with certain companies to endorse their products or services. The benefits can vary, from cash to free products. Depending on the agreement between the blogger and the company.

    You can also apply this method to make money from blogs. Usually the company will contact you first to invite cooperation. Therefore, make sure you have built a quality blog so that more companies want to work with you.

    3. Blog income sources from affiliates

    Blog income sources from affiliates
    How to get money from other blogs that are quite popular is with affiliate programs. Through this program you will get a commission every time a blog visitor makes a purchase or completes data through an affiliate link or banner.

    The amount of commission earned varies by company. Some give a commission of 25 percent, 50 percent, up to 70 percent. For example, in the Niagahoster Affiliate program you will get a commission of 70 percent. Pretty tempting, right?

    You can directly open the Niagahoster Affiliate page to register as an affiliate. If you still want to learn more about affiliate programs, you can read the article Success Strategies Running Affiliate Marketing 2019 first.

    4. Blog Income Sources of Services

    Blog Income Sources of Services
    Through blogs, you can also offer services to blog visitors, such as website creation services, graphic design, article creation. In addition there are many other services that you can offer according to their expertise.

    Great tips: If you want to offer a service, it is recommended to make articles that relate to the services you offer. For example, you want to offer travel package services, meaning the blog that you created an article about travel. 

    5. Blog income sources of products

    Blog income sources of products
    You can make money from blogs by selling products you have through blogs, which can be digital products or physical products. If you have expertise in writing tutorials, you can create ebooks for sale. In addition to selling ebooks, for those of you who have programming skills, can start by offering applications that you make for sale.

    Whereas for physical products, you can sell a variety of goods. For example you have cooking skills, you can make snack products and sell them through your blog.

    6. Blog income sources from the webinar

    You can also make money from blogs through webinars. Usually this method is applied by bloggers who are already professional and trusted in their fields.

    If you have built a positive and professional image in the field you are in, you can also apply this method. On the webinar you can share your professional knowledge and experience. Of course webinar participants must pay a certain fee to be able to get it.

    7. Sources of Income Other Blogs her

    Apart from several types of ways to get money from the blog above, there are still many ways you can try, here are three of them:

    1. PayPal to accept donations - PayPal provides a tool that can be used for donations from website visitors. This is the best way to monetize for non-profit websites. More information about PayPal donations please go to the following link
    2. Infolinks - With InfoLinks you can place text ads. This ad network will pay every time there are clicks from visitors. Although it will only generate enough payment on a site with many visitors, it doesn't hurt you to try it.

    3 Examples of Blogs that Make Money

    Making money from blogs is not new. Many people have practiced it, both from Indonesia and from abroad. Below we will give three examples of successful bloggers who make money from blogs.

    1. Website Class

    Website Class has proven that getting money from blogs for each visit is not impossible.

    Willya Randika, the owner of the blog, decided to fill his blog with very specific content, which is a guide to creating a website / blog. By creating specific content, it is easier to convince readers that he is indeed an expert on the topic.

    When people have begun to believe that you are an expert in their field, it will be easier to recommend products or services to them.

    This is what ClassWebsite is doing. One method of monetizing a blog that he does is to use affiliates. Website Class has been trusted as an expert in making websites so that it is easier to invite readers to buy hosting products that work with them.

    Make Money from Blog Ala Class Website:

    1. Create specific content
    2. Gaining the trust of readers as experts in the topic of making a website / blog
    3. Earn money from blogs by affiliating

    2. Diana Rikasari

    If Website Class can make money from blogs through affiliate programs, this second example uses a quite different method. Diana Rikasari, a well-known fashion blogger, does not focus on just one way to monetize a blog.

    Through blogs, he can make money in many ways. Some of these include becoming a product ambassador (endorsement), writing books, and building a fashion brand.

    Being a unique fashion blogger led him to become a brand ambassador for some well-known products like Sony Xperia. Not quite up there, he also published a book called # 88 Love Life which managed to become a best seller.
    The last way Diana used to make money from blogs was to sell her fashion products. Diana has spawned two fashion brands, namely UP and Schmiley Mo . He put his fashion brand website link on the blog so that visitors to his blog could easily buy his products.

    Making Money from Ala Diana Rikasari's Blog:


    1. Establish themselves as experts in their fields (fashion)
    2. Create personalized content
    3. Smart looking for opportunities to make money in many ways

    3. Children's Snack

    There are many ways to get money from blogs for each visit. Mr. Snacks and Mrs. Snacks can get money from blogs through food reviews and tourist attractions.

    The interesting thing from AnakJajan's blog is the variety of culinary reviews and tourist attractions provided. You can find culinary reviews and tourist attractions from various countries. From Indonesia, Malaysia, Thailand, Taiwan, Japan, South Korea, Spain, England, China, Dubai, to New Zealand, everything is there.

    With diverse content, this blog has succeeded in building an image as a complete culinary reference and tourist destination. Not only complete, the photos and reviews presented are also of high quality. So the reader will be truly satisfied by reading it.
    What monetization method does AnakJajan use? Judging from the blog, there are two ways that they use, namely partnership and AdSense. AnakJajan provides a special partnership menu to make it easier for people to work together. In addition, on his blog also appear advertisements from Google AdSense which can also be a source of blog income.

    Making Money from Ala AnakJajan Blog:


    1. Create complete content with good quality photos and reviews
    2. Provides a special menu for partnerships
    3. Make use of Google AdSense

    The three blogger examples above use different ways to get money from blogs. However, there are similarities of the three. The first equation is that they are consistent with the topic at work.

    This consistency is important so you can build reader confidence. For example, Diana Rikasari always talks about fashion and lifestyle on her blog. Likewise with AnakJajan who consistently discusses culinary issues. The first key in making money from blogs is consistency!

    Second, the third equation lies in the focus on creating quality and useful content. Three bloggers above can not be successful in making money from blogs if they do not create useful and quality content.

    Last and not least is they both need a long process to finally be able to make money from blogs. They need to build a reputation, create quality content, and determine the best monetization method. So you really have to be prepared to go through a long process to be able to make money from blogs.

    Make Money from a Blog Right Now!

    When is the best time to start making money from blogs? The answer is of course now. Procrastinating will only make you lazy and forget. So it's better to start quickly.

    From what? Of course starting from creating a quality blog. Then create useful and interesting content. Bring readers from various sources. Only then can you start earning money from the blogs that you build.

    Indeed the journey of making money from blogs is not short. It takes a lot of processes to go through and of course it requires a lot of energy. However, with persistence and the right guide you can certainly succeed.

    Hopefully this article is enough to help you understand how to get money from the blog in full. You can leave comments below to ask questions that you don't understand or input.

    Don't forget to subscribe to Blog Niagahoster to get the latest updates on websites, blogs, internet marketing and domain promos and cheap hosting . Congratulations on getting money from your blog!

    How to Make Floating Night Mode Features on Blogger

    How to Make a Night Mode Floating Feature on Blogger - there are already many tutorials on how to create a night mode on blogger, but the admin gives a tutorial that is quite different, that is, a floating or floating feature.


    Night Mode on bloggers is indeed the same as the night mode feature on other applications, namely: to save battery life and reduce the light on your smartphone screen.

    Alright, there's no need to say much more, let's just go straight to the article, so consider the following article carefully so that it's not wrong in the installation.

    HOW TO INSTALL FLOATING NIGHT MODE FEATURES IN BLOGGER


    First, log into Blogger > Theme menu > click Edit HTML button , add CSSbelow right above the code ]]></b:skin> or </style>
    /* Button Night Mode*/
    .btn-nightmode{position:fixed;float:left;z-index:99;bottom:20px;left:20px;font-size:15px;padding:10px;border-radius:50%;background:#00A3FE;text-align:center}
    .btn-nightmode svg{width:24px;height:24px;vertical-align: -5px;background-repeat: no-repeat !important;content: ''}
    .btn-nightmode svg path{fill:#fff}
    .check {display: none}
    .btn-nightmode .iconmode .openmode{display:block}
    .btn-nightmode .iconmode .closemode{display:none}
    .btn-nightmode .check:checked ~ .iconmode .openmode{display:none}
    .btn-nightmode .check:checked ~ .iconmode .closemode{display:block}
    /* Night Mode */
    .Night{background:#202124;color:rgba(255,255,255,.9)}
    .Night blockquote,.Night kbd{background:#17181a;color:rgba(255,255,255,.9)}
    To add more CSS add CSS1 .Night sample tags .Night, .Night CSS2 {background: #fff}
    Next, add the HTML and JavaScript code below right above the code </body>
    <div class='btn-nightmode'><input class='check' id='btn-nightmode' title='Night Dark' type='checkbox'/>
    <label class='iconmode' for='btn-nightmode'>
    <svg class='openmode' viewBox='0 0 24 24'><path d='M12,18C11.11,18 10.26,17.8 9.5,17.45C11.56,16.5 13,14.42 13,12C13,9.58 11.56,7.5 9.5,6.55C10.26,6.2 11.11,6 12,6A6,6 0 0,1 18,12A6,6 0 0,1 12,18M20,8.69V4H15.31L12,0.69L8.69,4H4V8.69L0.69,12L4,15.31V20H8.69L12,23.31L15.31,20H20V15.31L23.31,12L20,8.69Z'/></svg>
    <svg class='closemode' viewBox='0 0 24 24'><path d='M20 8.69V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69L23.31 12 20 8.69zm-2 5.79V18h-3.52L12 20.48 9.52 18H6v-3.52L3.52 12 6 9.52V6h3.52L12 3.52 14.48 6H18v3.52L20.48 12 18 14.48zM12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5z'/></svg>
    </label>
    </div>
    <script type='text/javascript'>
    //<![CDATA[
    // Night Mode
    $(document).ready(function(){$("body").toggleClass(localStorage.toggled),$("#btn-nightmode").on("click",function(){"Night"!=localStorage.toggled?($("body").toggleClass("Night",!0),localStorage.toggled="Night",$(".section-center").css("display","block")):($("body").toggleClass("Night",!1),localStorage.toggled="",$(".section-center").css("display",""))}),$("body").hasClass("Night")?$("#btn-nightmode").prop("checked",!0):$("#btn-nightmode").prop("checked",!1)});
    //]]>
    </script>
    Finally save the Theme and see the results, for a demo can be seen in this blog.

    Thus the tutorial on how to create a floating night mode feature in blogger this time, if you have trouble doing the installation do not forget to comment below.

    How to Get Rid of Previews on Blogger

    How to get rid of previews on Blogger - the actual preview writing will not interfere at all in blogger speed and in visitors. It's just that the preview text can't click on a link or copy the code or text.

    If you feel disturbed by the preview writing, maybe this time the admin gives a little turtorial to remove it or delete it.

    HOW TO REMOVE BLOGGER


    First, log in to Blogger > select Theme > click the Edit HTML button , find and replace the code below.

    Search for the code.
    </body>
    Change to this one.
    &lt;!--</body>--&gt;&lt;/body&gt;
    If so, then just save the Theme .

    Thus a brief tutorial How to eliminate the preview in blogger this time, please forgive if there are any words from me. That is all and thank you.

    Quảng Cáo Gần Cuối Bài

    Inilah Solusi Jasa Pembuatan Website Praktis, Terbukti Klien Puas!

    "Penawaran ini cocok untuk Anda yang ingin memulai membuat sebuah website hingga pemain portal berita / media online yang ingin bersaing langsung dengan situs web populer di kota Anda... Efektif, All in One pasti lebih Efisien!" Klik Disini

    Themes for Members

    avatar
    Admin Welcome to NQnia, if you have anything to ask please via our WhatsApp
    Admin Stress Hi there! Hello, Can I help you?
    :
    Chat with WhatsApp