Page Navigation is Awesome widget, and that will replace older link, home link and newer link with number mod style in home page and post page. Have you seen default blogger older, home and newer links are boring feel.You can get page navigation in almost every website which give you tutorial about blogging. But all the sites confer the same style page navigation, but, here i would like to share awesome style navigation with CSS. Just adding CSS and HTML code in template.
perpage : How many posts per page you want to display. You can change 7 (in blue color)
numpage : How many number will show in your page Navigation. You can change 5 (in red color)
3. Once again find the below code.
How To Add Awesome Page Navigation in blogger
1. Go to Design > Edit HTML > Check mark Expand Widget Templates and Find Below code.<b:includable id='mobile-index-post' var='post'>2. Paste below code before the above 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 src='http://awesome-navigation.googlecode.com/files/onlinetrick.js' type='text/javascript'/> <div class='clear'/> </div> </b:includable>Customize
perpage : How many posts per page you want to display. You can change 7 (in blue color)
numpage : How many number will show in your page Navigation. You can change 5 (in red color)
3. Once again find the below code.
<b:include name='nextprev'/>4. Replace above code with following 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>
5. Now the CSS. Find ]]></b:skin> and copy the below code and paste before the
]]></b:skin>.
#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: #e06666; -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: #e06666; }
6. huhh!!!!. Done, click SAVE TEMPLATE and If you have any doubt, drop your comment below.
This comment has been removed by the author.
ReplyDeleteit only coming in home page
ReplyDeletenow its ok ,thanks
ReplyDelete@Mubashir Gafoor
ReplyDeleteYour Welcome bro....
very nice !!!
ReplyDeleteThanks for sharing =)
ReplyDeletehi, my template has image slider at the home page and when page navigation is showing only on the home page, not on every page, i mean after clicking the next page button of page navigation, it disappears in the next page,,, can u help for this problem,,, thanks in advance...
ReplyDeleteHello!
ReplyDeleteMy site - http://www.mypress-release.biz/ - has 1850 articles, but navigator shows only 500 ( 50 pages x 10 articles on each = 500 articles)?
Pls, help me. What can I do?
Thank you!
Hi, am having same problem also.
DeleteHow were you able to solve yours?
Your reply will be appreciated.
Thanks,
ReplyDeleteThanks, it's good!
ReplyDeleteReally nice post sir,implemented on my blog
ReplyDeletewww.jobsonchoice.com
Its Really Awesome Tnx Bro...
ReplyDeletethanks for the simple technique... keep posting. thanks alot. free website ideas
ReplyDeleteThis comment has been removed by the author.
ReplyDeletewhat if i don't have those codes described in #1 and #3?? :(
ReplyDeleteYour template is not followed by the structure of blogger template, so you cannot able to find those codes..
DeleteThanks, its awesome!:)
ReplyDeleteGood and work in my blog, thanks friends i used it.
ReplyDeletethank you for a nice post
ReplyDeletethanks i use on my site.. http://nicezones.blogspot.com
ReplyDeleteWell done, I'm very pleased with the result, good job.
ReplyDeleteIS possible to hide it from the main page? i want the nav only on my labels.
ReplyDeleteI loved as much as you'll receive carried out right here. The sketch is attractive, your authored material stylish. nonetheless, you command get bought an edginess over that you wish be delivering the following. unwell unquestionably come more formerly again as exactly the same nearly a lot often inside case you shield this increase.
ReplyDeleteAlso visit my weblog Visit Website
you are a very intelligent and kind person. Thank you for taking the time to making others happy without asking for anything in return. This really helped my site. Thank you kindly.
ReplyDeleteI am curious about one thing, is there any way of reversing the page navigation numbers so that the earliest post is number one?
thank you very much......... i hope you should create more developments for blogger. Thank your.......
ReplyDeletethank you very much......... i hope you should create more developments for blogger. Thank your.......
ReplyDeletei has try it in my blog but not working..
ReplyDeleteyou are awesome dude.............
ReplyDeleteThis working well in my blog.
ReplyDeleteYou are always Making awesome on your blog....Thank
Very Nice..
ReplyDeleteUsing at my site now! Thanks admin :)
This worked great, just had to edit the color code and now it looks great on my blog. Thank you.
ReplyDeletewell, thanks for share
ReplyDeletehi is it possible for add some coding so that your numbered page navi coding applies too when viewing the blog using label? cause if i check my blog using label, page 1 shows 20 posts rather than the value assigned (which i assigned 5 posts per page). and page 2 to 4 will be a repeat of the 5th post to 20th post respectively. thank you!
ReplyDeletethanks for sharing :)
ReplyDeletewoow,,its a perfect trick, thanks
ReplyDeleteThank you .....This is the right code for page number which will work for labels as well.
ReplyDeletesomething happend to mine see its not coming
ReplyDeletedesiheroines.blogspot.in please help me
Found that you missed 3rd and 4th step, follow all the step and try again.
Deletethank you very much :))
ReplyDeleteHello!
ReplyDeleteMy site - http://www.arabmoviez.org/ - has 1850 articles, but navigator shows only 500 ( 50 pages x 10 articles on each = 500 articles)?
Pls, help me. What can I do?
Thank you!
Thanks for your sharing. It helps very much.
ReplyDeleteGreat work. Thank you for this wonderful tutorial.
ReplyDeleteBut I am wondering why the Page Navigation only works on some pages. If I click on my labels it works: http://www.chamy.at/search/label/Event
On my home page or in the individual months not: http://www.chamy.at/
Can you please help me?
Thank you and best regards from Austria.
mail@chamy.at
Thanks! This is the first one that has worked for me.
ReplyDelete