Archived topic
Page count is off
15 replies · Started by Kevin on February 7, 2019
I have the pages set to 3 images per row, but it is showing 7 per page. How do I set it to show 9 for 3 rows of 3? If I set it to 2 then it works. If I set it to 4 then I get the last row or 2 but the other rows with 4. I have tried everything and nothing works. There is also no setting to say, set the page to x total post with x columns. I can only set columns.
image: https://www.dropbox.com/s/ebwvt2qou8o62tm/Screenshot%202019-02-06%2021.54.52.png?dl=0
image: https://www.dropbox.com/s/g610ujhyo7cydqs/Screenshot%202019-02-06%2021.54.42.png?dl=0
Hi there,
Have you fixed this?
Looks like it's working for me on the Poetry page:
https://www.screencast.com/t/z5PHNXducCz2
No, scroll to the bottom. It is not fixed. Look at the last row. It isnt fixed
Hmm can't duplicate it on my install.
Can you try #1 here to eliminate any plugin conflicts first?
https://docs.generatepress.com/article/debugging-tips/
Let me know :)
Already done that. It happens on all sites. I have a feeling we are not on the same page. Set your columns to 3 under posts. Then have 20 - 30 post. Set to 3 per row in the customizer. Then go to a category and the LAST row will not be 3. It shows 7 even though there are more pages. Thanks.
What's your WordPress setting for Blog pages show at most?
https://codex.wordpress.org/Settings_Reading_Screen#Reading_Settings
10 so it should display 9, but it doesn't, it shows 7.
Hey Kevin,
Just taking a look, but not sure I understand 100%.
I'm looking at the Poetry page, which is showing 12 posts in 3 columns, making up 4 rows.
The second page is doing the same.
The third page is displaying 11 posts, so there's on empty space at the end where that 12th post would go.
Is there a specific page I can look at to see the issue maybe?
I just changed the number of post to 12. I had it at 10. I assumed it would do 3 of 3. But for some reason, it made the last row 1. Are you doing a mod operation to calculate it?
12 is working correctly from what I can see:
https://www.screencast.com/t/5TFoXKUon
4 rows total and 3 posts in each row.
Yes, but if you put in 10, what should the output be? It is always 4 rows per page? Or can I configure the number of row? I would like to have 3 of 3. 9 total per page, not 12?
If you put 10, then it should show 10 posts.
So 3 rows of 3 posts and last row would be 1 post.
If you put 9, then it should just show 3 rows of 3 posts.
Ok, so setting the reading post per page is what drives it in conjunction with the cols per page? Sorry for being a pain.
There are two options you can set:
- Number of columns: https://docs.generatepress.com/article/using-columns-in-the-blog/
- Posts per page: https://codex.wordpress.org/Settings_Reading_Screen#Reading_Settings
The number of rows is calculated based on the two settings above.
Does that make sense?
ok, got it. Makes perfect sense. I assumed the setting would have been with the col setting under the customizer. Thank you!