T-M
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
Forum: Themes and Templates
In reply to: [Pilot Fish] Pagination of projectsI got help with this from a frend, so here’s the answer.
Add this to the file archive-project.php after <div id=”thumbnail”>
<?php query_posts(array('post_type' => 'project', 'posts_per_page' => '9', 'paged' => $paged )); ?>9 is the number of projects per page and can of course be changed.
Forum: Themes and Templates
In reply to: [Pilot Fish] Number of projects per pageOk, now this is finally solved! I got help from a php guru friend. 🙂
Edit the file archive-project.php and this part:
<nav id="project-nav" class="pager"> <div class="next"><?php next_posts_link(__('next →', 'pilotfish')); ?></div> <div class="previous"><?php previous_posts_link(__('← previous', 'pilotfish')); ?></div> </nav>Next (next_posts_link) and previous (previous_posts_link) should be on those places. As default they were just in the opposite order.
Forum: Themes and Templates
In reply to: [Pilot Fish] Number of projects per pageNo, I’m still struggling with this! I’d hope that someone could help us and give some advice here.
Found it! It was in folder “js” in the file “main”.
Viewing 4 replies - 1 through 4 (of 4 total)