Hey there,
I tried to find right solution for my problem but I couldnt find. I have a clonable template which is manually reordered. I want to show previous & next post in page-view. I use the code below but it didn't work. Can you help me please?
I tried to find right solution for my problem but I couldnt find. I have a clonable template which is manually reordered. I want to show previous & next post in page-view. I use the code below but it didn't work. Can you help me please?
- Code: Select all
<div id="single-pagination" class="portfolio-pagination">
<ul class="pagination">
<cms:pages stop_before=k_page_date limit='1'>
<li class="prev"><a href="<cms:show k_page_link />" title="<cms:show k_page_title />">Previous<span class="icon"></span></a></li>
</cms:pages>
<li class="back"><a href="/works.php" title="All Works"><span class="icon"></span></a></li>
<cms:pages start_on=k_page_date order='asc' limit='1' offset='1'>
<li class="next"><a href="<cms:show k_page_link />" title="<cms:show k_page_title />">Next<span class="icon"></span></a></li>
</cms:pages>
</ul>
</div>