• Hello

    In my theme, I use a special category for certain specific posts (quotes from various people) which are never displayed with the regular posts. These quotes are systematically filtered and they appear, one at a time, randomly, in the footer.

    However, I do have a problem with my number of pages. The blog appears to have, let’s say 20 pages, but 10 of them are just “empty”, since quotes are not taken into account.

    So if a reader tries to reach page 10 to 20 (the possibility is offered in my theme), there is just nothing ! Which is quite annoying.

    How coudl I solve that ?

Viewing 1 replies (of 1 total)
  • You would need to edit the function that is carrying out the post count in your theme so that it excludes posts in your special category.

Viewing 1 replies (of 1 total)
  • The topic ‘Number of pages and hidden posts’ is closed to new replies.