Cara Membagi Postingan Blog Jadi Beberapa Halaman

9:00 PM
Cara Membagi Postingan Blog Makara Beberapa Halaman, menjadi solusi baik untuk meningkatkan jumlah jam tayang pada blog anda Ini, Jika sangat kuat terhadap SEO.


tertarik mencoba nya ?

pertama buka Blogger 
> Setelan > Tema > Edit Html
lalu tambahkan instruksi dibawah ini sempurna di bawah </body>

<b:if cond='data:blog.pageType == &quot;item&quot;'>  <b:if cond='data:blog.isMobile == &quot;false&quot;'>   <script type='text/javascript'>   //<![CDATA[ document.addEventListener('DOMContentLoaded', function() {    function checkChildren(nodes, elemId){     for(i=0;i<nodes.length;i++){      if(nodes[i].id==elemId){       return nodes[i];      }else{       return checkChildren(nodes[i].children, elemId);      }     }    }        function isNumeric(value) {     var type = typeof value;     return (type === 'number' || type === 'string') && !Number.isNaN(value - Number.parseFloat(value));    }        var nodes = document.querySelector('div.post-body').children;    var splitdong = checkChildren(nodes, 'postsplit').innerHTML;     var content = splitdong.split('<!--nextpage-->');        var url = window.location.href;    var url = url.split('?');    var no = url[1] + '&m=4';    var no = no.split('m');    var no = no[0];    var no = no.replace('&', '');    var url = url[0];    var i = 1;        if( !isNumeric(no) ){     var no = 1;    }        document.getElementById('postsplit').innerHTML = content[no-1];        if( content.length > 1 ) {     document.getElementById('postsplit').innerHTML += "<div class='cm-pagenav cm-clearfix' id='post-pager'><span class='page current'>Page :</span> </div>";    }      if( no>1 ){     document.getElementById('post-pager').innerHTML += "<a href='"+url+"?"+(no-1)+"' title='Previous Page'> Previous</a>";    }    content.forEach(function(item) {     if( no == i ){      document.getElementById('post-pager').innerHTML += "<span class='current'>"+i+"</span>";     } else {      document.getElementById('post-pager').innerHTML += "<a href='"+url+"?"+i+"' rel='nofollow' title='Page "+i+"'>"+i+"</a>";     }     i++;    });     if(content.length > no){     var nn = parseInt(no) + 1;     document.getElementById('post-pager').innerHTML += "<a href='"+url+"?"+nn+"' rel='nofollow' title='Next Page'>Next</a>";      }   });  //]]>   </script>  </b:if> </b:if>


selanjutnya nya cari instruksi </style> dan copy instruksi di bawah ini sempurna di bawah <style>

/* Page Navigation */ .cm-pagenav{text-align:center;line-height:1.4em;margin:15px 0 30px 0;text-align:center;font-size:14px}.cm-pagenav span,.cm-pagenav a{background-color:#4e92df;box-shadow:0px 6px #4886ca;-moz-box-shadow:0px 6px #4886ca;-webkit-box-shadow:0px 6px #4886ca;-moz-transition:none;-webkit-transition:none;transition:none;display:inline-block;padding:10px 15px;margin-left:3px;margin-right:3px;vertical-align:middle;font-size:14px;color:#fff !important;text-decoration:none !important}.cm-pagenav .pages{background:#4e92df;color:#fff}.cm-pagenav .current,.cm-pagenav a:hover{top:4px;position:relative;box-shadow:0px 2px #4886ca;-moz-box-shadow:0px 2px #4886ca;-webkit-box-shadow:0px 2px #4886ca}.cm-pagenav a:active{top:6px;position:relative;box-shadow:none;-moz-box-shadow:none;-webkit-box-shadow:none}.cm-pagenav .pages{display:none}.cm-clearfix{clear:both}

lalu klik simpan tema , gimana gampang bukan 

0 Response to "Cara Membagi Postingan Blog Jadi Beberapa Halaman"

Post a Comment