Previous & Next links use different templates for pages and categories
-
I’m trying to figure out which page template is being used when I click on my previous_posts_link or next_posts_link on a page template and category template?
For my blog page template it successfully pulls my (page-blog.php) template and I’m able to click back and forth without issue.
When I click on a category page it successfully pulls my (category.php) template, but when I go to a sub-category and click on the next or previous links, it automatically takes me to (index.php). It doesn’t go through my list of categories like it does on the blog page.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Previous & Next links use different templates for pages and categories’ is closed to new replies.