Project

General

Profile

Actions

Bug #12953

closed

Pagination Issue on Customizr theme

Added by scott voth over 4 years ago. Updated about 4 years ago.

Status:
Resolved
Priority name:
Normal
Assignee:
-
Category name:
WordPress Themes
Target version:
Start date:
2020-06-17
Due date:
% Done:

0%

Estimated time:
Deployment actions:

Description

Lidia is trying to get the home page to paginate posts - display 5 posts at a time. The Customizr theme seems to provide this option (see attached). But the number of posts per page seems to be the same as the "Show number of Posts" on the WP Reading settings page. That is, if you change one the other changes. Is this a bug in the theme?

Her site is https://clacls.commons.gc.cuny.edu


Files

customizer.png (73.6 KB) customizer.png scott voth, 2020-06-17 03:53 PM
Actions #1

Updated by Boone Gorges over 4 years ago

  • Status changed from New to Reporter Feedback

It looks to me like the setting applies to date archives, taxonomy archives, etc, but not to the home page. Are you seeing something similar?

Actions #2

Updated by scott voth over 4 years ago

Yeah, but if you go to the Front Page content, it links to the same setting. I don't see how pagination could ever work if it is updating number of posts to display (i.e. Settings>>Reading: "Blog pages show at most:").

I see others are complaining about this: https://www.google.com/search?client=firefox-b-1-d&q=customizr+pagination

I also see that Lidia opened a ticket: https://wordpress.org/support/topic/pagination-not-working-on-front-page-customizr-theme/

Actions #3

Updated by Boone Gorges over 4 years ago

Thanks, Scott. I've traced the behavior to this point https://github.com/presscustomizr/customizr/blob/c6fcfa1475a1fbc9ac660ecc9a584d007fef262e/templates/index-no-model.php#L183, which returns true on archive pages but false on the home page. I don't know how to debug this further without extensive digging. I'll leave a comment on the wordpress.org ticket.

Actions #4

Updated by scott voth over 4 years ago

Thanks Boone!

Actions #5

Updated by Boone Gorges over 4 years ago

The theme author responded at https://wordpress.org/support/topic/pagination-not-working-on-front-page-customizr-theme/#post-13009712. In my tests, this fixed it - you have to explicitly toggle "Display navigation in your home page". Perhaps you could ask Lidia to confirm?

Actions #6

Updated by scott voth over 4 years ago

Hi Boone - I found that she has a bunch of custom css including this line:

.post-navigation {
display:none;
}

When I commented it out, I see that the navigation is now appearing. I don't think it was a settings issue, but let me know if you disagree.

Actions #7

Updated by Boone Gorges over 4 years ago

Aha, very interesting. Yes, I'd say you're correct.

Actions #8

Updated by Boone Gorges about 4 years ago

  • Status changed from Reporter Feedback to Resolved
  • Target version set to Not tracked

I'm going to close on the basis of the conversation above. Please reopen if we think there's more steps to perform here.

Actions

Also available in: Atom PDF