Bismillah, Alhamdulillah

Skip to Content

Numbered Page Navigation For Blogger New Script

December 11th, 2009

Bismillah (in the Name of Allah), Alhamdulillah (All Praise to Allah)

Page navigation is need for all blogger because it can make navigation easy for your visitors. Previous script have some weakness :

  1. Maximum posts 500
  2. Have to read all JSON file if post so many make your blog slow
  3. Need long loop to calculate all posts (no body know this if they not read the script)

Now all those problems can be solved, Insya Allah. The script is different with My Previous Modification Nummbered Page Navigation for blogger, the script based on my own idea and for style I used from Mohamed Rias

image

To see the result open These demos:

Step 1 : Apply Style

  1. Login to Blogger Dashboard and navigate to Layout > Edit Html
  2. Don’t click the checkbox which says ‘Expand Widget Templates’
  3. Find this
]]></b:skin>

and replace it with


.showpageNum a {
  padding: 3px 8px;
  margin:0 4px;
  text-decoration: none;
  border:1px solid #999;
  -webkit-border-radius:3px;-moz-border-radius:3px;
  background: #ddd;
  }

.showpageOf {
margin:0 8px 0 0;
}
.showpageNum a:hover {
  border:1px solid #888;
  background: #ccc;
  }

.showpagePoint {
  color:#fff;
  text-shadow:0 1px 2px #333;
  padding: 3px 8px;
  margin: 2px;
  font-weight: 700;
  -webkit-border-radius:3px;-moz-border-radius:3px;
  border:1px solid #999;
  background: #666;
  text-decoration: none;
  }

]]></b:skin>

Above style use Old Style You can use Six other style from this Posts
Six Styles Page Navigation for Blogger

Step 2 : Aplly Javascript

Find This :

</body>

Replace with :


&lt;script type='text/javascript'&gt;
var home_page=&quot;/&quot;;
var urlactivepage=location.href;
var postperpage=7;
var numshowpage=4;
var upPageWord ='Prev';
var downPageWord ='Next';
&lt;/script&gt;
&lt;script src='http://scriptabufarhan.googlecode.com/svn/trunk/pagenaviv202-min.js' type='text/javascript'&gt;&lt;/script&gt;
</body>

Change based on your blog setting :
var postperpage=7;
var numshowpage=4;

Postperpage : How many Post every Page for your blog
numshowpage : how Many number will show in Your page Navigation

Step 3 : Customize Label (if you already use my previous Page Navi don’t use this step)

Go to the Edit HTML page and “Expand Widget Templates”
Find this (all of this text in your xml or template)

'data:label.url'

and Replace with this

'data:label.url + &quot;?&amp;max-results=7&quot;'

Change 7 base on how many post every page

only That, I hope it can work and make your blog easy to navigate, amiin

For All My Page Navi Can read from Read this :
  1. Six Styles Page Navigation for Blogger
  2. Beautiful New Page Navi For Blogger With Scroll
  3. Page navigation for Blogger with Google Style
  4. Page Navigation for Blogger (Problems Solved)

Categories: Blogger Tricks, Featured, Page Navigation

Tags: ,

Abu Farhan

I'm an Owner of this blog and it's always been a passion of mine to write about Blogger. I like to make original script for blogger. I also run the awesome Website at The Best Lists.

Enjoyed this Post?

Subscribe to our RSS Feed, Follow us on Twitter or Comments RSS Feed

Donate towards my web hosting bill!

Trackback
Leave a response

361 Responses to “Numbered Page Navigation For Blogger New Script”

  1. Paginas de salud…

    [...]Numbered Page Navigation For Blogger New Script | Blogger Templates and Tricks by Abu Farhan[...]…

  2. thanks tutorialnya, sekarang saya gunakan pada blog saya tanpa edit sedikitpun……..

  3. Soma says:

    Wow Working G8 in my site ty 4 this..:))

  4. rabiul says:

    Australian Finance and Lending company Brokers ink finance. We offer the best interest rates in Australia. Honest service and quick approvals. If you’re in the market for finance or require a loan to purchase a vehicle, boat, bike, truck, yacht, jet ski or farm and equipment lending please give our friendly staff a call. 7am – 7pm – 7 days a week
    Auto Loan

  5. Ishan says:

    When i open page two…. numbered navigation does not show….. it disappers….
    Some problem is with my theme…..please help me….

    directly contact
    http://www.facebook.com/FunTwixt

  6. ABDUL RAHIM says:

    Jazakallah Khair Brother Farhan,

    May Allah Guide us and bless us….

    Abdul Rahim

  7. Eric says:

    Hi, I’m french, thank you for all precious scripts which allow me to boost my blog !

  8. hevan says:

    not working on my blog why,… please help me.

  9. That’s helpful, really. altough just max 500 post

  10. thankz to share..
    i will to try it..

  11. vaggelis says:

    kalispera exo ena provlima sto blog pataw pano stis etiketes kai polles fores vgeni i selida de vrethike mpori kapoios na me voithisi se ayto mail info@larisanew.gr sas eyxaristo!!

  12. From says:

    Thank you, I have recently been looking for information about this subject for ages and yours is the best I have found out till now. But, what concerning the conclusion? Are you certain about the supply?

  13. Thanks says:

    thanks for the script..its make my blog looks smooth :)

  14. [...] 11th, 2011 Page navigation for blogger is most important widget for blogger. This widget can make visitor easy to navigate to [...]

  15. ousaf says:

    abu-farhan your web is really awsome for blogger
    it make blog a web like feature
    thanks for your contribution\
    KEEP IT UP MAN!

  16. BuLaDiFu says:

    Thanks Abu Farhan. Your widget helped me solve a broken page navigation problem caused by a free template i found online.

  17. [...] hack has been given to us by Abu Farhan, not only has he taken the time to give us a hack, he has given us six different designs that we [...]

  18. hay wonderful article i was looking for it

  19. User says:

    Hi Abu Farhan. Thanks, it really helped. But a question: Why do the page navigation only show up on first page? I want it to show on the labels section I created.(over there it shows previous post and newest post) Any idea, please?

  20. Salam..this info is very useful for a newbie like me…thank you so much!!!

  21. nieta says:

    karya keren… blogger pengharum nama bangsa

  22. santi says:

    Numbered Page Navigation For Blogger New Script pos ini bagus mas aku sangat terkesan sekali,..

  23. uklam says:

    senang berkunjung kembali :D

  24. 3 questions:

    1) How to put the gadget on top of messages.

    2) How to display the gadget on top and bottom of the page.

    3) Is it possible to put the code in a gadget, for example below the header, where the width is greater.

Leave a Reply


+ nine = eighteen

Dbestlists Dbestlists

Copyright 2009 - 2010  Choen