CPT-onomies breaks wp_query
-
First of all I want to thank you, Rachel for your outstanding work. No other solution even come close to the conviniency of the tool that you developed. Thank you!
Here is my problem.
I get no posts in wp-admin/edit.php?post_type=page (but post count is ok there).
There is no such issue on any other post type page.
When I tried:global $wp_query; var_dump($wp_query->posts);
I got
array(0) { }
Though when CPT-onomies plugin deactivated it’s ok (array(37) { [0]=> object(WP_Post)#9667 (24) { ["ID"]=> int(1507) ["post_author"]= ...
and posts are shown).
BTW when after plugin re-activated my permalink structure is broken too, I need to update it on options-permalink.php page.
I’m using latest version WP 4.5.2 and CPT-onomies 1.3.4, but the problem has persisted since six monthes ago or more (just now I really need those pages working).
Looking forward for your reply. Thank you.
- The topic ‘CPT-onomies breaks wp_query’ is closed to new replies.