Show Mobile Navigation
, ,

Add a Numbered Page Navigation Widget

Hemant Verma - 2:28 PM

Numbered Page Navigation Widget is very unique style for blogger be'coz it gives a a very different look and feel to blogger and it also reduce the coding of Home, Newer, Older buttons and we can jump to any page directly from the home page and also come previous from any page. Most important thing is that we can easily customize and designed this widget according to our needs.

  


Read Also- More Numbered Page Navigation Widget

2. Add a Numbered Page Navigation Widget



Add Page Navigation Widget in Blogger

  • Login to Blogger > Dashborad
  • Click on Drop Down Menu and select Template
  • Backup your Template before making any changes to your blog
  • Now Click on Edit HTML > Proceed > Expand Widget Templates
  • Press Ctrl + F and search the code shown below.

]]></b:skin>

  • Paste below code just before it.

.pagenavi{
clear:both;margin:10px auto;text-align:center
}
.pagenavi span,.pagenavi a{
padding:10px;
margin-right:5px;
padding-top:5px;
padding-bottom:5px;
background:#FFFFFF;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}
.pagenavi a:hover,.pagenavi .current{
background:#ff8400;color:#fff;text-decoration:none
}
.pagenavi .pages,.pagenavi .current{
font-weight:bold
}
.pagenavi .pages{border:none}

  • Now find below code

<b:widget id='Blog1' locked='true' title='Blog Posts' type='Blog'>

  • If above code doesn't found then search for below code

<b:widget id='Blog1' locked='false' title='Blog Posts' type='Blog'>

  • Now paste below code after above codes.

<b:includable id='page-navi'>
<div class="pagenavi">
<script type="text/javascript">
var pageNaviConf = {
perPage: 5,
numPages: 5,
firstText: "First",
lastText: "Last",
nextText: &quot;&#187;&quot;,
prevText: &quot;&#171;&quot; }
</script>
<script type="text/javascript" src="https://dl.dropbox.com/u/63968842/navigation%20numbered%20widget%28www.widgetgenerators.blogspot.com%29.js"></script>
<div class="clear" />
</div>
</b:includable>

  • Now again find below code

<b:include name='nextprev'/>

  • Now replace it with below codes.

<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:if>
 

  • Now Finally Save Your Template and you are done


Benefit

      You can easily jump to any page from home page. 




If Any Problem Comes, Ask in Comments


20 comments:

  1. well it doesnt displayes all my posts..when pages should be 69 it is 32... same amount of posts on each page.

    ReplyDelete
  2. what i mean is that i have 1116 posts , 16 posts per page (changed your 5 to 16) and pages on home page are only 32 instead of 69. Please Help..

    ReplyDelete
  3. @Hemant Verma

    Here it is..
    http://techinpro.blogspot.gr/

    ReplyDelete
  4. @Hemant Verma

    so??? is there any fix?? iam waiting for your responce as soon as possible..
    thanks in advance..

    ReplyDelete
  5. thanks for trying to helping me , code above replacing didnt solved the problem..i dont know if i was understandable. the real problem is that pages on navigation are (page 1 of 32) 32 never changes. if i get more and more posts the older of page 32 are lost..
    see it your self i have 1200+ posts and pages are only 32 ..with 16 posts on each page...

    ReplyDelete
  6. @Hemant Verma
    thanks for trying to helping me , code above replacing didnt solved the problem..i dont know if i was understandable. the real problem is that pages on navigation are (page 1 of 32) 32 never changes. if i get more and more posts the older of page 32 are lost..
    see it your self i have 1200+ posts and pages are only 32 ..with 16 posts on each page..

    ReplyDelete
  7. thx it works for me,i tried some widgets but this one works thx u a lot

    ReplyDelete
  8. @howaves lui

    you want this :
    tips for forex trade beginner ,make money online,backlinks seo for blogger
    http://ectheme.blogspot.com/

    ReplyDelete
  9. Code not working but widget works 4 m2

    ReplyDelete
  10. @Sam PeterSend me your template here

    rhverma@widgetgenerators.com

    ReplyDelete
  11. plzz Help!when i try to save the template,it gives this error>>
    The widget with id "Blog1" cannot contain element: "#text". A widget can only contain b:includable elements.

    ReplyDelete
  12. @uzair iqbalReplace Blog1 with Blog333, it will solve.

    ReplyDelete
  13. Bro!not working,,it again says"The widget with id "Blog333" cannot contain element: "#text". A widget can only contain b:includable elements"plzzzzzz help1

    ReplyDelete
  14. @uzair iqbalok, send me your template. I'll try to resolve it.

    Send me Here - vhemant03@gmail.com

    ReplyDelete

You may use these HTML tags and attributes: <a href="" title=""> </a> <b> </b><strong> </strong>

 



Make Your Blog Like a Pro
About | Contact | Affiliates | Privacy Policy | TOS