Hide Empty Terms Didn’t Work for Custom Taxonomy in Multiple Custom Post Type
-
I have custom taxonomies (TUJUAN) which registered in multiple custom post type (WISATA, TOUR, RENTAL).
TUJUAN has term ARAB SAUDI which exist in TOUR but empty in WISATA & RENTAL.
The problem is, in archive-RENTAL.php & archive-WISATA.php, BTF show empty term (in this case ARAB SAUDI).
I already copy this code in function.php but to no avail:
function modify_hide_empty( $bool, $current_post_type ) { return $bool; } add_filter( 'beautiful_filters_show_empty', 'modify_hide_empty', 10, 2 );
Checking the “Hide Empty Terms” checkbox in settings also failed.
Can you help me please, thank you!
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Hide Empty Terms Didn’t Work for Custom Taxonomy in Multiple Custom Post Type’ is closed to new replies.