When I view the list of posts in one category the links for Previous Entries/Next Page are broken: Instead of: /blog/category/category-name/page/2/
I get: /blog/page/2/?category_name=category-name And that takes me to page/2/ of all my blog posts so page 2 of category-name is not ac开发者_运维知识库cessible.
I changed some code in my template but I couldn't get it working. Can anyone help? Have you got any snippets of how to implement it?
It's long to explain in detail. See this Wordpress Codex guide:
http://codex.wordpress.org/Next_and_Previous_Links
And this function reference:
http://codex.wordpress.org/Function_Reference/next_post_link
精彩评论