WPML taxonomies not translated

hack for filter the_terms: $terms = get_terms(‘YOUR-TAXONOMY’,’hide_empty=1′ ); if (!empty( $terms )){ $term_links = “”; foreach ( $terms as $term ) { if($term->term_id == icl_object_id($term->term_id,’YOUR-TAXONOMY’,false,ICL_LANGUAGE_CODE)){ $term_links[] = ‘<li><a href=”‘.$category_url.’?YOUR-TAXONOMY=’. $term->slug.'”> ‘ . $term->name . ” . $term->name . ‘</a></li>’; } } echo join( ”, $term_links ); }

Multiple Drop-Down custom taxonomies search

WordPress in version prior to 3.1 does not support querying multiple taxonomies, you will need to install Scribu’s plugin Query Multiple Taxonomies to fix that. and in order to get the dropdown select box you can use wp_dropdown_categories() like this: $args = array( ‘taxonomy’ => ‘location’, ‘hide_empty’ => 0, ‘echo’ => 1, ‘name’ => ‘location’ … Read more

Random category URLs not working

Did you flush your rewrite rules after you created the taxonomy? I tested your code (only changing ‘videos’ to ‘post’) by adding to my functions PHP (TwentyEleven Theme WordPress 3.2 Trunk) then flushed my rewrite rules and created a post and gave it the testcat of test1 and the URL worked. add_action( ‘init’, ‘c3m_wp_stackx’); function … Read more

Taxonomy dropdown metabox in the back-end

I had the same question. You use the remove_meta_box functions mentioned in a previous answer, but you have two options: tagsdiv-{$tax_name} for non-hierarchical taxonomies and {$tax_name}div for hierarchical taxonomies (like categories). So in your case: remove_meta_box(‘tagsdiv-brands’, ‘post’, ‘normal’); remove_meta_box(‘brandsdiv’, ‘post’, ‘normal’);