WordPress.org

Ready to get started?Download WordPress

Forums

Pilot Fish
[resolved] Number of projects per page (5 posts)

  1. T-M
    Member
    Posted 1 year ago #

    Could you please help me out with this: how I can define the number of projects per page? Now it paginates the projects 5 per page, and I'd like to decide it by myself. I'd like to have at least 9 per page as Danni has here: http://wordpress.danielatwork.com/pilotfish/project/

  2. jdettoni
    Member
    Posted 1 year ago #

    yeah...looking for the same...did u manage to fix it? how?

  3. T-M
    Member
    Posted 1 year ago #

    No, I'm still struggling with this! I'd hope that someone could help us and give some advice here.

  4. T-M
    Member
    Posted 9 months ago #

    Ok, 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.

  5. Andrew
    Forum Moderator
    Posted 9 months ago #

    But you're not using a Child Theme, so won't you lose that change every time the theme is updated?

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic