Pagination and $posts_per_page issue
-
Hi!
First of all, I love the theme man.
I will absolutely buy you a drink after my portfolio site is finished.
This is what I’ve created with Maker this far.Today I ran into a little problem concerning the ‘posts_per_page’ option.
I would like to change the number of the posts that show up on the homepage to a number as high as possible. The pagination is great, but I fear that people won’t see that there’s another page.
So I went into ‘templates/portfolio-toolkit.php’ and set the value of $posts_per_page to 18. Like this:
// Default posts per page option. $posts_per_page = get_option( 'posts_per_page', 18 );
The problem is, it doesn’t change anything. It shows 10 projects and it shows that there’s a second page, which isn’t clickable. I’m using Portfolio Toolkit (not Jetpack) by the way, so that’s not the problem.
Do you know what could be the problem here?
Thanks for your time.
Kind regards,
Nyckle Sijtsma
- The topic ‘Pagination and $posts_per_page issue’ is closed to new replies.