[Resolved] Categories messing up?

Home Forums Support Categories messing up?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #974068
    Philippe

    Hi,

    I do not understand why under the category field at the end of a post, categories will appear where they do not belong. For instance:

    Categories Bookclub, Doughnut Economics
    < The Answer to Climate Change is Democracy
    > From GDP to the Doughnut

    “Bookclub” is the parent category. The post “From GDP to the Doughnut” belongs to the child category “Doughnut Economics” that belongs itself to the “Bookclub” one. The post “The Answer to Climate Change is Democracy”, on the other hand, belongs to another category entirely; so why is it mentioned here?

    Thank you,

    Philippe

    #974088
    David
    Staff
    Customer Support

    Hi there,

    the default for the post navigation is not category specific. If you want it to be then Tom provides a PHP snippet here which works with the GP Post Nav:

    https://generatepress.com/forums/topic/post-nav-stay-in-current-category-loop/#post-485099

    #974145
    Philippe

    I see. I was assuming that the default for the post navigation is category-specific.

    The snippet works. Thank you!

    #974163
    David
    Staff
    Customer Support
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.