CloudVibe
Sir how do i set the pagination like <div class="row">
<!-- Pagination -->
<nav class="col full pagination">
<ul>
<li><span class="page-numbers prev inactive">Prev</span></li>
<li><span class="page-numbers current">1</span></li>
<li><a href="#" class="page-numbers">2</a></li>
<li><a href="#" class="page-numbers">3</a></li>
<li><a href="#" class="page-numbers">4</a></li>
<li><a href="#" class="page-numbers">5</a></li>
<li><a href="#" class="page-numbers">6</a></li>
<li><a href="#" class="page-numbers">7</a></li>
<li><a href="#" class="page-numbers">8</a></li>
<li><a href="#" class="page-numbers">9</a></li>
<li><a href="#" class="page-numbers next">Next</a></li>
</ul>
</nav>
</div>
</div> i need it badly
Lordeagle
CloudVibe U need no nav tag in paging u only need <ul class='pagination'> thats if u'r usin bootstrap
CloudVibe
Lordeagle Am using Kreative101 template, and its documented that way
Mwebvendor
CloudVibe You can add list item code outside of attribute of the xtscript pagination.
Mwebvendor
CloudVibe If you using xtblog,,, try this one.
Replace the css classes.
<!--parser:xtscript-->#<!--
# Paging function
function paging_template $url;$page;$active_page;$total_pages;
# Only one page so exit
if $total_pages == 1
return
endif
# Paging container
if $page == 1
print <nav class="pagination">
# First page button
if $page == $active_page
print <li class="active"><span>«</span></li>
elseif $page == 1
print <li><a href="$url">«</a></li>
endif
# Previous four pages buttons
if ($page+1) == $active_page or ($page+2) == $active_page
print <li><a href="$url">$page</a></li>
endif
# Current page button
if $page == $active_page
print <li class="active"><span><b>$page</b></span></li>
endif
# Next four pages buttons
if ($page-1) == $active_page or ($page-2) == $active_page
print <li><a href="$url">$page</a></li>
endif
# Last page button
if not $page == $total_pages
goto @skip
endif
if $page==$active_page
print <li class="active"><span>»</span></li></nav>
else
print <li><a href="$url">»</a></li></nav>
endif
@skip
endfunction
#</xt:code>
var $blog=<xt:blog tzone="0" format="Y-m-d" show_time="1" display="4" entries_per_page="12" comments_per_page="20" comments_sort="-1" display_limit="50" display_symbol="..." version="2" show_searchbox="1" t_back_to_posts="HOME" t_comments="" t_comments_empty="" t_post_a_comment="" t_name="" t_comment="" t_post="" t_tags="" t_search="" t_created="" t_showing_tagged_posts="Showing videos:" t_no_entries_found="" t_no_search_results_found="" t_show_all_comments="" t_see_parent_thread="" t_show_all_replies="" t_show_replies="" t_reply="" t_posting_as="" t_comments_login_required="" t_login="" t_signup="" t_confirm_email="" t_report_spam="" t_hidden_comment="" />
# <xt:code>
print $blog
<!--/parser:xtscript-->
Copy code