Hello!
I have a post which is a child of a category, which is a child of another category, so the URL is something like this:
http//:domain.tld/categorybase/category/category/post
However, the $post variable is NULL here for some reason.. the_ID() etc. returns NULL as well.
If I remove the category base from the URL everything works as expected.
What am I doing wrong? Is it possible to get the_permalink without the category base?
Thanks in advance!