Like every day, I will give you a new blogging tips today and all of you. Which needs all. Who has its own website.And Blogger is the biggest platform. Everyone wants to be your career here I also want to be So everyone has their own blog too.
But it is also your responsibility to become a professional. Do you know this? So now we talk about today How To Add Responsive Page Navigation Widget For Blogger .
Best tips. Now you just think first of all. You have a blog. Which you have designed yourself. And write new articles every day in it.There are so many posts in this way. And you can not show all these content on your website on the same page.
You can show only 5 to 10 articles on one pge. But what will happen to old people? How will your visitor get to read it?.this is required to access every content. Which looks with numbers.
Perhaps your blog will already have this widget. But the old ones can be annoyed if your widget does not work or if that does not work.
Simple tricks for add multi author bio box
Because he will not be able to access all of your content until this widgt works properly. And in this way the traffic may also slow down gradually.So let us now teach you how to apply it. The easy way is the friends.
>>It will reach every single page on your visitor. She is also direct. Without any problem So let's start now.
✓First you log in your admin panel.
✓go to Theme option.
✓ Now EDIT HTML . Click it .simply press Ctrl+F . Search box.
✓ Find ]]>< /b:skin> tag.
✓Copy this bellow css code. And paste the above ]]></b:skin> tag.
Finally nw add to be js file on your this theme......
✓again press ctrl+f "find box". Search </body> tag.
👉Copy this bellow Javascript code. And paste the end of body tag.
SCRIPT IS UPDATED MORE THEN 500 POSTS.
How to creat sticky sidebar widget
Click the save theme button .😋👍
👉Please note :-
After installing so now you are change the default this script setting.
perPage : means how many content shown the one page.
numPages : This means how many page number shown this navigation Widget.(6)
Now save your template. Checking and see its worked properly. Enjoy....😁👍❤️
Hope You may have liked this post. Please give us your 1 minute. And share it in all the social sites. If you have any questions in your mind, please tell us by comment. We will do your best.
So bye Friends .Take care your self.
But it is also your responsibility to become a professional. Do you know this? So now we talk about today How To Add Responsive Page Navigation Widget For Blogger .
Best tips. Now you just think first of all. You have a blog. Which you have designed yourself. And write new articles every day in it.There are so many posts in this way. And you can not show all these content on your website on the same page.
You can show only 5 to 10 articles on one pge. But what will happen to old people? How will your visitor get to read it?.this is required to access every content. Which looks with numbers.
Perhaps your blog will already have this widget. But the old ones can be annoyed if your widget does not work or if that does not work.
Simple tricks for add multi author bio box
How To Add Stylish Responsive Page Navigation Widget
Because he will not be able to access all of your content until this widgt works properly. And in this way the traffic may also slow down gradually.So let us now teach you how to apply it. The easy way is the friends.
>>It will reach every single page on your visitor. She is also direct. Without any problem So let's start now.
✓First you log in your admin panel.
✓go to Theme option.
✓ Now EDIT HTML . Click it .simply press Ctrl+F . Search box.
✓ Find ]]>< /b:skin> tag.
✓Copy this bellow css code. And paste the above ]]></b:skin> tag.
✓that's it. You are done 50% . Click save button.#blog-pager{clear:both;margin:30px auto;text-align:center; padding: 7px;}.blog-pager {background: none;}.displaypageNum a,.showpage a,.pagecurrent{font-size: 14px;padding: 5px 12px;margin-right:5px; color: #666; background-color:#eee;}.displaypageNum a:hover,.showpage a:hover, .pagecurrent{background:#359BED;text-decoration:none;color: #fff;}#blog-pager .pagecurrent{font-weight:bold;color: #fff;background:#359BED;}.showpageOf{display:none!important}#blog-pager .pages{border:none;}
Add Page Numbers To Blogger
Finally nw add to be js file on your this theme......
✓again press ctrl+f "find box". Search </body> tag.
👉Copy this bellow Javascript code. And paste the end of body tag.
<b:if cond='data:blog.pageType != "item"'><b:if cond='data:blog.pageType != "static_page"'>
<script type='text/javascript'>
/*<![CDATA[*/
var perPage=3;
var numPages=3;
var firstText ='First';
var lastText ='Last';
var prevText ='« Previous';
var nextText ='Next »';
var urlactivepage=location.href;
var home_page="/";if(typeof firstText=="undefined")firstText="First";if(typeof lastText=="undefined")lastText="Last";var noPage;var currentPage;var currentPageNo;var postLabel;pagecurrentg();function looppagecurrentg(pageInfo){var html='';pageNumber=parseInt(numPages / 2);if(pageNumber==numPages-pageNumber){numPages=pageNumber*2+1}
pageStart=currentPageNo-pageNumber;if(pageStart<1)pageStart=1;lastPageNo=parseInt(pageInfo / perPage)+1;if(lastPageNo-1==pageInfo / perPage)lastPageNo=lastPageNo-1;pageEnd=pageStart+numPages-1;if(pageEnd>lastPageNo)pageEnd=lastPageNo;html+="<span class='showpageOf'>Page "+currentPageNo+' of '+lastPageNo+"</span>";var prevNumber=parseInt(currentPageNo)-1;if(currentPageNo>1){if(currentPage=="page"){html+='<span class="showpage firstpage"><a href="'+home_page+'">'+firstText+'</a></span>'}else{html+='<span class="displaypageNum firstpage"><a href="/search/label/'+postLabel+'?&max-results='+perPage+'">'+firstText+'</a></span>'}}
if(currentPageNo>2){if(currentPageNo==3){if(currentPage=="page"){html+='<span class="showpage"><a href="'+home_page+'">'+prevText+'</a></span>'}else{html+='<span class="displaypageNum"><a href="/search/label/'+postLabel+'?&max-results='+perPage+'">'+prevText+'</a></span>'}}else{if(currentPage=="page"){html+='<span class="displaypageNum"><a href="#" onclick="redirectpage('+prevNumber+');return false">'+prevText+'</a></span>'}else{html+='<span class="displaypageNum"><a href="#" onclick="redirectlabel('+prevNumber+');return false">'+prevText+'</a></span>'}}}
if(pageStart>1){if(currentPage=="page"){html+='<span class="displaypageNum"><a href="'+home_page+'">1</a></span>'}else{html+='<span class="displaypageNum"><a href="/search/label/'+postLabel+'?&max-results='+perPage+'">1</a></span>'}}
if(pageStart>2){html+=' ... '}
for(var jj=pageStart;jj<=pageEnd;jj++){if(currentPageNo==jj){html+='<span class="pagecurrent">'+jj+'</span>'}else if(jj==1){if(currentPage=="page"){html+='<span class="displaypageNum"><a href="'+home_page+'">1</a></span>'}else{html+='<span class="displaypageNum"><a href="/search/label/'+postLabel+'?&max-results='+perPage+'">1</a></span>'}}else{if(currentPage=="page"){html+='<span class="displaypageNum"><a href="#" onclick="redirectpage('+jj+');return false">'+jj+'</a></span>'}else{html+='<span class="displaypageNum"><a href="#" onclick="redirectlabel('+jj+');return false">'+jj+'</a></span>'}}}
if(pageEnd<lastPageNo-1){html+='...'}
if(pageEnd<lastPageNo){if(currentPage=="page"){html+='<span class="displaypageNum"><a href="#" onclick="redirectpage('+lastPageNo+');return false">'+lastPageNo+'</a></span>'}else{html+='<span class="displaypageNum"><a href="#" onclick="redirectlabel('+lastPageNo+');return false">'+lastPageNo+'</a></span>'}}
var nextnumber=parseInt(currentPageNo)+1;if(currentPageNo<(lastPageNo-1)){if(currentPage=="page"){html+='<span class="displaypageNum"><a href="#" onclick="redirectpage('+nextnumber+');return false">'+nextText+'</a></span>'}else{html+='<span class="displaypageNum"><a href="#" onclick="redirectlabel('+nextnumber+');return false">'+nextText+'</a></span>'}}
if(currentPageNo<lastPageNo){if(currentPage=="page"){html+='<span class="displaypageNum lastpage"><a href="#" onclick="redirectpage('+lastPageNo+');return false">'+lastText+'</a></span>'}else{html+='<span class="displaypageNum lastpage"><a href="#" onclick="redirectlabel('+lastPageNo+');return false">'+lastText+'</a></span>'}}
var pageArea=document.getElementsByName("pageArea");var blogPager=document.getElementById("blog-pager");for(var p=0;p<pageArea.length;p++){pageArea[p].innerHTML=html}
if(pageArea&&pageArea.length>0){html=''}
if(blogPager){blogPager.innerHTML=html}}
function totalcountdata(root){var feed=root.feed;var totaldata=parseInt(feed.openSearch$totalResults.$t,10);looppagecurrentg(totaldata)}
function pagecurrentg(){var thisUrl=urlactivepage;if(thisUrl.indexOf("/search/label/")!=-1){if(thisUrl.indexOf("?updated-max")!=-1){postLabel=thisUrl.substring(thisUrl.indexOf("/search/label/")+14,thisUrl.indexOf("?updated-max"))}else{postLabel=thisUrl.substring(thisUrl.indexOf("/search/label/")+14,thisUrl.indexOf("?&max"))}}
if(thisUrl.indexOf("?q=")==-1&&thisUrl.indexOf(".html")==-1){if(thisUrl.indexOf("/search/label/")==-1){currentPage="page";if(urlactivepage.indexOf("#PageNo=")!=-1){currentPageNo=urlactivepage.substring(urlactivepage.indexOf("#PageNo=")+8,urlactivepage.length)}else{currentPageNo=1}
document.write("<script src=\""+home_page+"feeds/posts/summary?max-results=1&alt=json-in-script&callback=totalcountdata\"><\/script>")}else{currentPage="label";if(thisUrl.indexOf("&max-results=")==-1){perPage=20}
if(urlactivepage.indexOf("#PageNo=")!=-1){currentPageNo=urlactivepage.substring(urlactivepage.indexOf("#PageNo=")+8,urlactivepage.length)}else{currentPageNo=1}
document.write('<script src="'+home_page+'feeds/posts/summary/-/'+postLabel+'?alt=json-in-script&callback=totalcountdata&max-results=1" ><\/script>')}}}
function redirectpage(numberpage){jsonstart=(numberpage-1)*perPage;noPage=numberpage;var nameBody=document.getElementsByTagName('head')[0];var newInclude=document.createElement('script');newInclude.type='text/javascript';newInclude.setAttribute("src",home_page+"feeds/posts/summary?start-index="+jsonstart+"&max-results=1&alt=json-in-script&callback=finddatepost");nameBody.appendChild(newInclude)}
function redirectlabel(numberpage){jsonstart=(numberpage-1)*perPage;noPage=numberpage;var nameBody=document.getElementsByTagName('head')[0];var newInclude=document.createElement('script');newInclude.type='text/javascript';newInclude.setAttribute("src",home_page+"feeds/posts/summary/-/"+postLabel+"?start-index="+jsonstart+"&max-results=1&alt=json-in-script&callback=finddatepost");nameBody.appendChild(newInclude)}
function finddatepost(root){post=root.feed.entry[0];var timestamp1=post.published.$t.substring(0,19)+post.published.$t.substring(23,29);var timestamp=encodeURIComponent(timestamp1);if(currentPage=="page"){var pAddress="/search?updated-max="+timestamp+"&max-results="+perPage+"#PageNo="+noPage}else{var pAddress="/search/label/"+postLabel+"?updated-max="+timestamp+"&max-results="+perPage+"#PageNo="+noPage}
location.href=pAddress}/*]]>*/
</script>
</b:if>
</b:if>
SCRIPT IS UPDATED MORE THEN 500 POSTS.
How to creat sticky sidebar widget
Click the save theme button .😋👍
how to add next and previous button on blogspot
👉Please note :-
After installing so now you are change the default this script setting.
perPage: 7,numPages: 6,var firstText ='First';var lastText ='Last';var prevText ='« Previous';var nextText ='Next »';}
perPage : means how many content shown the one page.
numPages : This means how many page number shown this navigation Widget.(6)
Now fixed the lebel
Find Bellow line 👇
expr:href='data:label.url'
Replace With Bellow code
expr:href='data:label.url + "?&max-results=7"'
Keep you mind :- ♡ '7' is No Of ur Website Post Appear On Per Page.
Now save your template. Checking and see its worked properly. Enjoy....😁👍❤️
Hope You may have liked this post. Please give us your 1 minute. And share it in all the social sites. If you have any questions in your mind, please tell us by comment. We will do your best.
So bye Friends .Take care your self.
Tags:
Blogger Tips