Custom post type and taxonomy permalinks – Structure

DID IT My problem was the miss code found in the array of the custom post type texturas_temp This: // Register Custom Post Type function texturas_temp() { $labels = array( ‘name’ => _x( ‘texturas_temp’, ‘Post Type General Name’, ‘text_domain’ ), ‘singular_name’ => _x( ‘Textura’, ‘Post Type Singular Name’, ‘text_domain’ ), ‘menu_name’ => __( ‘texturas_temp’, ‘text_domain’ … Read more

Outputting an array of term meta values in a custom WooCommerce tab?

For your author content display, instead of print_r($all_term_meta); try a foreach: foreach($all_term_meta as $meta) { return $meta[0]; } It’s possible you may need to use “echo” instead of “return” but try “return” first. To control whether or not there is an author tab, update your woo_new_product_tab function with the same condition: function woo_new_product_tab( $tabs ) … Read more

Custom Taxonomy Creates Unwanted Integer Terms on Post Save

This appears to be a result of the conflict between declaring a non-hierarchical custom taxonomy, and using the post_categories_meta_box (checkboxes) as an interface. You could call the discrepancy a bug in WP Core, certainly the fact that the conflict is allowed in the taxonomy declaration itself. The problem seems to be that for your non-hierarchical … Read more