snee
how split blog page eg:
page 1 next page last page
Weezy
snee u mean next and previous paging for xtgem blog?
snee
Weezy yes.i want html code for blog page break.
Weezy
snee Copy the next and previous paging code below
<!--parser:xtscript-->
# Paging function
function paging_template $url;$page;$active_page;$total_pages;
# Only one page so exit
if $total_pages == 1
goto @end
endif
# Paging container
if $page == 1
endif
# Previous
if ($page+1) == $active_page
print <a class="full" href="$url"><b>« Previous</b></a>
# Next
elseif ($page-1) == $active_page
print <a class="full" href="$url"><b>Next »</b></a>
endif
if $page == $total_pages
endif
@end
endfunction
<!--/parser:xtscript-->
Copy code
snee
Weezy ok.but this code didnt work on blog.i need to ad page break and split pages in blog.
Weezy
snee its working for my blog page
snee
Weezy i dont want to view full blog post in one page i want to add pagin function in my post.i copy that code to blog posts but it didnt work
Weezy
snee blog post content can't have paging function