[Solved] Numbered Page Navigation For Blogger


#1

Hi!

I want a numbered page navigation for blogger, I searched it on Google but all of those that i checked didn’t worked. And most of the scripts of the widgets are hosted on Google Code which is going to shut down. So I need a working widget which is not hosted on Google Google. I also used the numbered pagination provided by @Shivansh

Waiting For a Reply From @Nafees @Shivansh @Mohammad and @Rohan


#2

So what error had came when you used my provided page navigation? :smile:


#3

The Widget Didn’t Shows off @Shivansh Please Help.


#4

You said:

So this is confirm that your template have issues. Let me check.


#5

@Hassan, add it again on your blog and them let me check the mistakes. :blush:


#6

@Shivansh I have added it again on my demo blog please check it and let me know.


#7

I Searched On Google And I Finally Founded A Working Numbered Page Navigation For Blogger…

Visit

alltipstricks.com/2015/05/how-to-add-next-previous-numbered-pagination-in-blogger.html

ThankYou


#8

@Anil_Kumar Well this one didn’t worked too.


#9

Thanks to all of you @Anil_Kumar @Shivansh I found a working script.


#10

Well @Hassan That’s good :smiley: Btw Anil Kumar that’s your blog’s link only :frowning:


#11

That’s the script which worked for me.

    <b:if cond='data:blog.pageType != &quot;item&quot;'> 
<b:if cond='data:blog.pageType != &quot;static_page&quot;'><script type='text/javascript'>
var postperpage=1;
var numshowpage=4;
var upPageWord="&#171;";
var downPageWord="&#187;";
var urlactivepage=location.href;var home_page="/"
</script>
<script type='text/javascript'>
    //<![CDATA[
/* 
Page Navigation Widget For Blogger with Colorful Styles
By Way2blogging
Url:http://www.way2blogging.org/
*/

eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('7 N;7 j;7 i;7 o;1K();J 1H(1w){7 6=\'\';P=Q(1i/2);5(P==1i-P){1i=P*2+1}D=i-P;5(D<1)D=1;e=Q(1w/k)+1;5(e-1==1w/k)e=e-1;L=D+1i-1;5(L>e)L=e;6+="<4 b=\'2i\'>27 "+i+\' 2b \'+e+"</4>";7 1o=Q(i)-1;5(i>1){5(i==2){5(j=="u"){6+=\'<4 b="24"><a 9="\'+E+\'">\'+16+\'</a></4>\'}c{6+=\'<4 b="g"><a 9="/r/s/\'+o+\'?&d-l=\'+k+\'">\'+16+\'</a></4>\'}}c{5(j=="u"){6+=\'<4 b="g"><a 9="#" x="O(\'+1o+\');z w">\'+16+\'</a></4>\'}c{6+=\'<4 b="g"><a 9="#" x="T(\'+1o+\');z w">\'+16+\'</a></4>\'}}}5(D>1){5(j=="u"){6+=\'<4 b="g"><a 9="\'+E+\'">1</a></4>\'}c{6+=\'<4 b="g"><a 9="/r/s/\'+o+\'?&d-l=\'+k+\'">1</a></4>\'}}5(D>2){6+=\' ... \'}1F(7 n=D;n<=L;n++){5(i==n){6+=\'<4 b="2c">\'+n+\'</4>\'}c 5(n==1){5(j=="u"){6+=\'<4 b="g"><a 9="\'+E+\'">1</a></4>\'}c{6+=\'<4 b="g"><a 9="/r/s/\'+o+\'?&d-l=\'+k+\'">1</a></4>\'}}c{5(j=="u"){6+=\'<4 b="g"><a 9="#" x="O(\'+n+\');z w">\'+n+\'</a></4>\'}c{6+=\'<4 b="g"><a 9="#" x="T(\'+n+\');z w">\'+n+\'</a></4>\'}}}5(L<e-1){6+=\'...\'}5(L<e){5(j=="u"){6+=\'<4 b="g"><a 9="#" x="O(\'+e+\');z w">\'+e+\'</a></4>\'}c{6+=\'<4 b="g"><a 9="#" x="T(\'+e+\');z w">\'+e+\'</a></4>\'}}7 1y=Q(i)+1;5(i<e){5(j=="u"){6+=\'<4 b="g"><a 9="#" x="O(\'+1y+\');z w">\'+1E+\'</a></4>\'}c{6+=\'<4 b="g"><a 9="#" x="T(\'+1y+\');z w">\'+1E+\'</a></4>\'}}6+=\'<1D><a 9="1e://1f.1h.B/" 1j="1k" M="S" V="R 2g" X="2j-2m: 1Z; 22: 1z; 25: 26;" M="S"><Z 11="0" A="15://U.B/17" 2q="3" 21="3" /></a><a 9="1e://1f.1h.B/" 1j="1k" M="S" V="1B R 1c"><Z A="15://U.B/17" F="1B R 1c" 11="0" X="1x: 1v; 1u: 10%; 1z: 0%; 2d: 2e;" /></a><a 9="1e://1f.1h.B/" 1j="1k" M="S" V="1R R 1c"><Z A="15://U.B/17" F="1R R 1c" 11="0" X="1x: 1v; 1u: 10%; 1z: 0%;" /></a><a 9="1e://1f.1h.B/" 1j="1k" M="S" V="1T"><Z A="15://U.B/17" F="1T" 11="0" X="1x: 1v; 1u: 10%; 2h: 0%;" /></a></1D>\';7 G=C.2l("G");7 1r=C.2n("2p-1Y");1F(7 p=0;p<G.1l;p++){G[p].1G=6}5(G&&G.1l>0){6=\'\'}5(1r){1r.1G=6}}J 1p(1n){7 1m=1n.1m;7 1W=Q(1m.28$2a.$t,10);1H(1W)}J 1K(){7 h=v;5(h.f("/r/s/")!=-1){5(h.f("?1g-d")!=-1){o=h.H(h.f("/r/s/")+14,h.f("?1g-d"))}c{o=h.H(h.f("/r/s/")+14,h.f("?&d"))}}5(h.f("?q=")==-1&&h.f(".6")==-1){5(h.f("/r/s/")==-1){j="u";5(v.f("#K=")!=-1){i=v.H(v.f("#K=")+8,v.1l)}c{i=1}C.1C("<m A=\\""+E+"1a/Y/1d?d-l=1&F=1b-18-m&13=1p\\"><\\/m>")}c{j="s";5(h.f("&d-l=")==-1){k=20}5(v.f("#K=")!=-1){i=v.H(v.f("#K=")+8,v.1l)}c{i=1}C.1C(\'<m A="\'+E+\'1a/Y/1d/-/\'+o+\'?F=1b-18-m&13=1p&d-l=1" ><\\/m>\')}}}J O(I){12=(I-1)*k;N=I;7 W=C.1I(\'1J\')[0];7 y=C.1X(\'m\');y.1L=\'1M/1N\';y.1O("A",E+"1a/Y/1d?1P-1Q="+12+"&d-l=1&F=1b-18-m&13=1t");W.1S(y)}J T(I){12=(I-1)*k;N=I;7 W=C.1I(\'1J\')[0];7 y=C.1X(\'m\');y.1L=\'1M/1N\';y.1O("A",E+"1a/Y/1d/-/"+o+"?1P-1Q="+12+"&d-l=1&F=1b-18-m&13=1t");W.1S(y)}J 1t(1n){1s=1n.1m.2k[0];7 1U=1s.1V.$t.H(0,19)+1s.1V.$t.H(23,29);7 1q=2o(1U);5(j=="u"){7 1A="/r?1g-d="+1q+"&d-l="+k+"#K="+N}c{7 1A="/r/s/"+o+"?1g-d="+1q+"&d-l="+k+"#K="+N}2f.9=1A}',62,151,'||||span|if|html|var||href||class|else|max|maksimal|indexOf|showpageNum|thisUrl|nomerhal|jenis|postperpage|results|script|jj|lblname1|||search|label||page|urlactivepage|false|onclick|newInclude|return|src|com|document|mulai|home_page|alt|pageArea|substring|numberpage|function|PageNo|akhir|target|nopage|redirectpage|nomerkiri|parseInt|Blogger|_blank|redirectlabel|bitly|title|nBody|style|posts|img||border|jsonstart|callback||https|upPageWord|24workpng1|in||feeds|json|Tricks|summary|http|24work|updated|blogspot|numshowpage|rel|dofollow|length|feed|root|prevnomer|hitungtotaldata|timestamp|blogPager|post|finddatepost|bottom|fixed|banyakdata|position|nextnomer|right|alamat|My|write|div|downPageWord|for|innerHTML|loophalaman|getElementsByTagName|head|halamanblogger|type|text|javascript|setAttribute|start|index|All|appendChild|techtunes|timestamp1|published|totaldata|createElement|pager|7pt||height|float||showpage|padding|2px|Page|openSearch||totalResults|of|showpagePoint|top|0px|location|Templates|left|showpageOf|font|entry|getElementsByName|size|getElementById|encodeURIComponent|blog|width'.split('|'),0,{}))
   //]]>
</script>
<style>
/*-------- Page Navigation ------*/
#blog-pager{clear: both;
margin: 50px 0px 0px 0px;
padding: 0px;
text-align: center;}
.showpageArea a {
clear:both;
margin:-5px 0 10px;
text-align:center;
font-size:11px;
font-weight:bold;
text-transform:uppercase;
}
.showpageNum a {
padding:6px 10px;
margin-right:3px;
display:inline-block;
color:#333333;
background-color:#ffffff;
border: 1px solid #dddddd;
}
.showpageNum a:hover {
border: 1px solid #aaaaaa;
}
.showpagePoint {
padding:6px 10px;
margin-right:3px;
display:inline-block;
color:#333333;
background-color:#ffffff;
border: 1px solid #aaaaaa;
}
.showpageOf {
display:none;
}
.showpage a {
padding:6px 10px;
margin-right:3px;
display:inline-block;
color:#333333;
background-color:#ffffff;
border: 1px solid #dddddd;
}
.showpage a:hover {
border: 1px solid #aaaaaa;
}
.showpageNum a:link,.showpage a:link {
text-decoration:none;
color:#666;
}
</style>
</b:if></b:if>

#12

@Hassan That’s so good of you that you are sharing it :blush:


#13

Good to know that you liked it Nafees Khan