Support » Plugin: Convert Post Types » [Plugin: Convert Post Types] Converting post types broke taxonomy queries though still associated to

Viewing 2 replies - 1 through 2 (of 2 total)
  • fully functioning site is online at http://writershouses.com which is on 3.0.1 without the above plugins all upgraded.

    and everything is definitely publicly queryable in the original upgrade test version.

    in a third test copy, when I use ‘post type switcher’ to convert the post types, everything works as expected and the taxonomies are retained and queryable. So I will be doing them one by one I guess!

    scratch that, when using post_type switcher, the same problem occurs.

    Is there some trick to querying a post_type and a custom taxonomy at the same time?

    ok, in case anyone comes across this, you need to specifiy what post types you are querying otherwise it will just query the default post type. additionally, you need to specify that the post_status is ‘publish’. to query all post types, you can do

    $post_types = get_post_types();

    and for the query argument

    post_type = $post_types

    that may not be entirely accurate but I am not going back into the code right now.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Convert Post Types] Converting post types broke taxonomy queries though still associated to’ is closed to new replies.