Custom Post Type of all languages after update to 1.8
-
Hi,
First of all, thanks for this awesome plugin and your great job whit it. Now, my issue:
I have a Custom Post Type created, with a Custom Taxonomy for Custom Categories. I don′t have Polylang configured to have this categories translated, because they are categories only for programmatic purpose, I don’t use the archive page neither the slug of this categories are “public”.
Before the update of 1.8 version a query like this was working and showing each posts in their language:
$args = array( 'post_type' => 'custom-post-type', 'orderby' => 'menu_order', 'tax_query' => array( array( 'taxonomy' => 'custom-category', 'field' => 'slug', 'terms' => 'starred-list' ) ), 'order'=>'ASC', 'posts_per_page' => -1 ); $first_query = new WP_Query($args);
After the update this query is showing all posts of every language.
Does this mean that after the update I have to translate this custom categories? There is not another way to do it? WP_QUERY does not admit a language parameter, so I don′t know if theres is another way to do this.
Thanks a lot!
- The topic ‘Custom Post Type of all languages after update to 1.8’ is closed to new replies.