$post == NULL when using category base
-
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/postHowever, 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!
The topic ‘$post == NULL when using category base’ is closed to new replies.