I have a plugin that is overriding the permalink rules on my "page" post type, which interferes with the forum links. There is an option on that plugin to disable the behavior for certain post types. So, I created a new post type to host the forum landing page, and changed the post type of the forum home page, but when I did so - it created a new post of the "page" post type, and used that for the root of the forum. Is there a way to set the post to accept a custom post type? Is there a register_post_type param that needs to be set in order for this to work?
Thanks!
Gregg
Hi @tsd_gregg,
Is there a way to set the post to accept a custom post type?
I'm sorry but currently we don't have such functionality. The code designed to works on the "page" content type.
Also, please describe in detail why you can't do what you want by using the "page" content type?
I spoke too soon! It looks like non-logged-in users aren't having their current_object set properly when navigating to the root url of the forum, so the ?foro=login link breaks.
I manually re-set the missing values to $this->GET in init_current_object() and that's bringing up the missing pages. Other than that, we're sailing smoothly.