Taxonomy is not searchable
-
Hi, I created a Taxonomy for a bookstore with the name book_author
I use this snippet to display the book author below the summary of single product and it is working fine.
add_action( 'woocommerce_single_product_summary', 'show_info_below_single_product_summary', 20 ); function show_info_below_single_product_summary() { the_terms( $post->ID, 'book_author', __("<div class='book_author'>Book Author:","storefront-child") , ', ', '</div>' ); echo $post->ID; }
My problem is that I am getting zero results when I am searching for a book author.
Is there any way to make this taxonomy searchable?
Thanks
WordPress version: 5.8.1
Custom Post Type UI: 1.10.0
WooCommerce: 5.8.0
Theme: Storefront 3.9.1
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Taxonomy is not searchable’ is closed to new replies.