Namaste conflict with custom post types
-
My site has a few custom post types of its own, with associated taxonomies. One such is named ‘sessions’. When I visit the taxonomy page for one term, the relevant bit of WP’s query SQL looks like this:
AND ((wpmm_posts.post_type = 'sessions' AND (wpmm_posts.post_status = 'publish' OR … etc
Now I activate the Namaste plugin, and nothing appears on the page. The same section of the WP query SQL now looks like this:
AND ((wpmm_posts.post_type = 'post' AND (wpmm_posts.post_status = 'publish' OR … etc
Namaste has overwritten my custom post type name with ‘post’, and it has added several of its own post types. Consequently, the query returns no results.
I can see a function ‘query_post_type’ in several Namaste PHP files, all of which manipulate the query, and my own post type goes missing.
This is using version 2.5.9 of the plugin, on WP 6.1.1.
I obviously won’t be able to use Namaste if it stays like this. Is there a solution?
- The topic ‘Namaste conflict with custom post types’ is closed to new replies.