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: Featured, Page Navigation, Tips and Tricks Blogger

Tags: ,

Enjoyed this Post?

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

Trackback
Leave a response

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

  1. joaolemes says:

    Hello Abul’m from Brazil and tested the browser with numbered pages in my blog is working properly. Congratulations on the site.
    hugs

  2. Pets Lover says:

    Thank you .Good work…

  3. Pets Lover says:

    Thank you .Good work

  4. Thank you very much. Thank you

  5. Taiwan Pop says:

    Why is it not working? I have added it properly.. but when you already preview it, it doesn’t work?

    • Zaidi says:

      cuz u r making mistake in 1st step bro.
      i think u r applying other Styles (not the one as mention above), when you apply other stlyles, just simply add

      ]]>”
      it will work InshAllah.
      at the end of those customized styles.
      thanks, pardon me for my bad English.

      • Zaidi says:

        cuz u r making mistake in 1st step bro.
        i think u r applying other Styles (not the one as mention above), when you apply other stlyles, just simply add

        ] ] > ”
        (without space)it will work InshAllah.
        at the end of those customized styles.
        thanks, pardon me for my bad English.

  6. mido says:

    thank you bro

  7. Murali says:

    Well, Abu, firstly Congrats on a creating a nice widget..

    This widget is fine on home pages of blogger blogs, but when it comes to “Label pages”, the same old “Newer post, Home, Old Post” appears..

    When one clicks on old posts your widget appears again..

    This is rather weird and ungainly and could confuse blog visitors.

    You can visit my site and click on “Trivia” link from horizontal menu.. It shows up 20 posts per page instead of 6 or 7(or ‘n’ posts for that matter)as mentioned in the widget variables..

    Hope you will rectify it at the earliest. At least, plz give a reply on my comment..

    Thanks

    • Murali says:

      Hi there again,

      Your page navigation widget is not working on “Label pages” and I’m frustrated as you could not reply..

      I’m taking down your widget until you fix the bug..

      I understand that you could be totally busy, but you know, there is nothing worse than being ignored..

      We sure, are using your widget but we are also giving back a free one-way backlink.

      Think over…

      Also, what’s the point, if you can’t offer support.

      Regards

  8. karsono says:

    Assalamualaikum

    Alhamdulillah

    Akhirnya bisa juga, terima kasih kang abu, mohon izinya untuk mengedit scriptnya, haturnuhun.

  9. jobsplanet says:

    i am helpless to change widget and moving of widgets on my blog, as i have added new template arthemia new..

    please help me out

    actually allignment of text is not right, also i am not able to remove some widgets which i dont need.

  10. taufikdisc says:

    Assalamu’alaykum…
    Ahlan Wa Sahlan!

    Syukron Katsiron Mas Abu Farhan..
    Ilmunya berhasil saya terapkan di blog saya..

    Mas Abu..
    Apa bisa saya Mohon izin hilangkan linknya?

Leave a Reply

Copyright 2009 - 2010  Choen