TECRIDIBLE
i want to change panation of my blog to this style
https://www.w3schools.com/w3css/tryw3css_templates_blog.htm (Previous & next) how to?
Graham
TECRIDIBLE In that style
<!--parser:xtscript-->#<?
function paging_template $url;$page;$active_page;$total_pages;
if $total_pages == 1
goto @end
endif
if $page > 1
goto @next
endif
print <div class="w3-container w3-dark-grey w3-padding-32 w3-margin-top" style="clear:both">
if $active_page == 1
print <div style="float:left"><span class="w3-button w3-black w3-disabled w3-padding-large w3-margin-bottom">PREV</span></div>
endif
@next
if ($page+1) == $active_page
print <div style="float:left"><span><a class="w3-button w3-black w3-padding-large w3-margin-bottom" href="$url">«PREV</a></span></div>
elseif ($page-1) == $active_page
print <div style="float:right"><span><a class="w3-button w3-black w3-padding-large w3-margin-bottom" href="$url">NEXT»</a></span></div>
endif
if $page < $total_pages
goto @end
endif
if $active_page==$total_pages
print <div style="float:right"><span class="w3-button w3-black w3-disabled w3-padding-large w3-margin-bottom">NEXT</span></div>
endif
print </div>
@end
endfunction
#?><!--/parser:xtscript-->
Copy code
TECRIDIBLE
Graham thank you so much is that possible to align them right & left
Graham
TECRIDIBLE I edited the previous code to have float wrappers
sudahpernahblog
Graham Sir, please code pagination and css like this
Graham
sudahpernahblog copy this to your global_stylsheet
.xt_pagination {
margin: 3px 0;
}
.xt_pagination a, .xt_pagination span a {
margin: 0 2px;
background-color: #117ac6;
color: #ffffff;
padding: 2px;
text-decoration:none
}
.xt_pagination span.selected span {
background-color: #ffae19;
color: #ffffff;
padding: 2px;
margin: 0 2px;
}
Copy code
MoynaLink
sudahpernahblog Sir , I need help in Paging Next Page link replace to parking domain link . And where to place that code help me