How to show custom taxonomie instad of category on this?
-
Hi,
I’m using a Frontend plugin that shows categories in a div like this:
<div id="lvl0"> <?php $exclude = wpuf_get_option( 'exclude_cats' ); $cat_type = wpuf_get_option( 'cat_type' ); if ( $cat_type == 'normal' ) { wp_dropdown_categories( 'show_option_none=' . __( '-- Select --', 'wpuf' ) . '&hierarchical=1&hide_empty=0&orderby=name&name=category[]&id=cat&show_count=0&title_li=&use_desc_for_title=1&class=cat requiredField&exclude=' . $exclude ); } else if ( $cat_type == 'ajax' ) { wp_dropdown_categories( 'show_option_none=' . __( '-- Select --', 'wpuf' ) . '&hierarchical=1&hide_empty=0&orderby=name&name=category[]&id=cat-ajax&show_count=0&title_li=&use_desc_for_title=1&class=cat requiredField&depth=1&exclude=' . $exclude ); } else { wpuf_category_checklist(); } ?> </div>
I need to replace the content of that div for a list of terms from my custom taxonomy “pa_attribute” (Woocommerce). I can’t find the fuction that calls this attribute. I’ve been checking this out, but can’t get to a solution.
Any ideas?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to show custom taxonomie instad of category on this?’ is closed to new replies.