next_post_link "TRUE" not including parent category
-
On my website, http://www.katiesonger.com, I’ve got three blogs. Each is located on its own category page:
http://www.katiesonger.com/category/writing
http://www.katiesonger.com/category/health
http://www.katiesonger.com/category/politicsMy goal is to have next/previous post links that point to next/previous post in the same parent category for each blog. Following the instructions from my theme’s administrators in this thread, I modified my child theme’s single.php file with next_post_link and previous_post_link language, with the third parameter set to “TRUE”.
The result is only partly effective. The next/previous post links are only pointing to the next/previous posts in the same child category, not the same parent category. My guess is that this relates to my using category pages: perhaps the next_post_link operation is excluding the parent categories because these links appear on parent category pages?
How can I fix this? Thanks very much.
The blog I need help with is: (visible only to logged in users)
-
Hello, I’m sorry to hear that you are having trouble with your website. However, your site is not hosted with WordPress.com. It is a site using the open-source WordPress software (from WordPress.org) but hosted with Bluehost.
Because WordPress.com and WordPress.org are two entirely separate entities, we cannot access files or data for sites that are hosted elsewhere, so WordPress.com staff can only assist with sites that are hosted on our servers. You can find more information here about the differences between WordPress.org software and WordPress.com: https://en.support.wordpress.com/com-vs-org/
https://wordpress.org/support/ is a great resource for sites using the open source WordPress.org software, and you can find support for that at: https://wordpress.org/support/forums/
Also, you can reach your theme’s support at https://wordpress.org/support/theme/blog-way/
-
Ah, thanks, macmanx! I’ll look on that other support forum–sorry for my confusion and thanks for explaining this.
- The topic ‘next_post_link "TRUE" not including parent category’ is closed to new replies.