How I Add Number Next Page Navigation on Blogger/Blogspot. guess you usually see next page or previous page number navigation button on most website at the footer area but don't know how to do it.ever since i Changed my template to the new one, i have been fixing errors on the template and number page navigation is one of the error i have just succeeded in fixing.i noticed most of my visitors could not navigate to the next post by clicking next numbered page so they can see more post after viewing the latest post from the home page of my site and that could make visitors leave the site as a result of not able to navigate through the next page.this got me into action to fix it.so if your template does not have the numbered next page navigation button, then in this post i will show you
how to add number next page navigation on blogger / blogspot site without stress.
in my own case, the number page navigation was showing only on mobile custom template but not present on the full desktop template, so i had to include it to appear in both mobile custom blogger template and also the full desktop template of my site.this is how i fixed it.just follow the steps below
How I Add Number Next Page Navigation on Blogger/Blogspot
==> back up your template before making any changes.
==> go to your dashboard=template=edit Html
== search for this line of code in your template using Ctrl F
]]></b:skin>
==> above the code, paste this code
#blog-pager, .pagenavi {
clear: both;
text-align: center;
margin: 30px auto 10px;
}
#blog-pager a, .pagenavi span, .pagenavi a {
margin: 0 5px 0 0;
padding: 2px 10px 3px;
text-decoration: none;
color: #fff;
background: #2973FC;
-moz-border-radius: 2px;
-khtml-border-radius: 2px;
-webkit-border-radius: 2px;
border-radius: 2px;
-webkit-transition: all .3s ease-in;
-moz-transition: all .3s ease-in;
-o-transition: all .3s ease-in;
transition: all .3s ease-in;
}
#blog-pager a:visited, .pagenavi a:visited {
color: #fff;
}
#blog-pager a:hover, .pagenavi a:hover {
color: #fff;
text-decoration: none;
background: #000;
}
#blog-pager-older-link, #blog-pager-newer-link {
float: none;
}
.pagenavi .current {
color: #fff;
text-decoration: none;
background: #000;
}
.pagenavi .pages, .pagenavi .current {
font-weight: bold;
}
.pagenavi .pages {
color: #fff;
background: #2973FC;
}
==> now search for this line of code below
<b:includable id='mobile-index-post' var='post'>
==> paste this code before the given line
<b:includable id='page-navi'>
<div class='pagenavi'>
<script type='text/javascript'>
var pageNaviConf = {
perPage: 7,numPages: 5,firstText: "First",
lastText: "Last",
nextText: "»",
prevText: "«"
}
</script>
<script type="text/javascript" src="https://www.googledrive.com/host/0B2ww3WS8P1MJYUpZd21XNXBYYW8"></script>
<div class='clear'/>
</div>
</b:includable>
==> we are not done yet.now search for this line of code below
<b:include name='nextprev'/>
==> replace the above line with this code
<b:if cond='data:blog.pageType == "index"'>
<b:include name='page-navi'/>
<b:else/>
<b:if cond='data:blog.pageType == "archive"'>
<b:include name='page-navi'/>
</b:if>
<b:else/>
<b:if cond='data:blog.pageType == "item"'>
<b:include name='nextprev'/>
</b:if>
</b:if>
==> Save your template and you should see the numbered next page navigation button.this is exactly how i fixed mine and now you can see the number page navigation button on my blogger blog.cheers.
visit
www.gurubest.com to view the latest post update you are not seeing right now.
more articles update is posted on
gurubest every day,so don't be the last to get update to your email.
Subscribe by email
DON'T FORGET TO SHARE WITH YOUR FRIENDS ON FACEBOOK BY CLICKING THE SHARE BUTTON.
Thank you so much. You are a life saver. The previous page number widget stopped working. Now this one helped :D
ReplyDeletei am glad you were able to get it fixed. would love to see more of your comments.cheers
Deleteo my god, bro tanx so much, this post is wonderful, bro u a life saver, this is my first visit to ur blog, nd it will never be d last, dont know how to thank you
ReplyDeleteall i can say is keep up the good work
but pls i need one more thing from you, pls i want the html code for ur email subscription box, my email is dannyfrancis136@gmail.com,
ReplyDeletehi, Mr Ricky, don't worry i will share a post to get the email subscription box for every one to use. hope you meant the one i have at the sidebar on my blog
ReplyDeleteCan't i change the color of the navigation button? Please reply fast...
ReplyDeleteyou can change it if you like.
Deletewhat I wanna add is numbers 1, 2, 3, 4, 5 etc to my blog's hompage.. byt it didn't work for me
ReplyDeletewhere exactly did you insert it on your blog. although template might be different, so try other spot on the template
Delete