Thursday 19 April 2012

Adding Page Navigation In Blogger

0 comments
How to create a navigation page numbers to blogspot or blogger add Page Navigation onautomatically you can find hereyou already know the number navigation / page navigation that I mean like the picture below





How Adding plugins in your blogAdding Page Navigation In Bogger is very easy.
In this blog I will be sharing the manual waywe did some editing your blogger template,

Login first to blogspot / blogger blogger dashboard and clickChoose the layout or designthenselect edit htmlTick ​​the option expand widget templatesand then you find the following code:
]] > </b:skin> 

put the css code below right above the code “]] > </b:skin>" :
.showpageArea a {
text-decoration:underline;
}
.showpageNum a {
text-decoration:none;
border: 1px solid #cccccc;
margin:0 3px;
padding:3px;
}
.showpageNum a:hover {
border: 1px solid #cccccc;
background-color:#cccccc;
}
.showpagePoint {
color:#333;
text-decoration:none;
border: 1px solid #cccccc;
background: #cccccc;
margin:0 3px;
padding:3px;
}
.showpageOf {
text-decoration:none;
padding:3px;
margin: 0 3px 0 0;
}
.showpage a {
text-decoration:none;
border: 1px solid #cccccc;
padding:3px;
}
.showpage a:hover {
text-decoration:none;
}
.showpageNum a:link,.showpage a:link {
text-decoration:none;
color:#333333;
}
 
Find more code like this:
</body> 
If you have found, just above it put this script:
<b:if cond='data:blog.pageType != "item"'>
<script type='text/javascript'>
var pageCount=5;
var displayPageNum=5;
var upPageWord ='Previous';
var downPageWord ='Next';
</script>
<script src='http://tools.adityawebs.com/javascript/blogger-page-nav-v2.js' type='text/javascript'/>
</b:if>
 
This last step may be done or notthe search again following code:
'data:label.url'If you've Found remove and replace the code with the code below:

'data:label.url + "?&max-results=5"'
If you save the template has been replacedand can see the result.

Leave a Reply