I’m having some problems with the title that wp_title function generates for my site.
When browsing category pages, the function outputs the category name as the title, as it should. Except when pagination is working: if there is more than one page, wp_title will return “page not found” as the title for the last page in the pagination. The category name displays fine for the rest.
I’m using the filter for wp_title found in the TwentyTen theme which adds some other stuff to the title, but that’s not causing the problem, I tried removing it.
I checked the wp_title function in general-template.php, and the “page not found” should be retuned in a “if(is_404())” condition only, which obviously is not the case.
Thanks a lot!
- The topic ‘wp_title problem with pagination’ is closed to new replies.