WordPress.org

Ready to get started?Download WordPress

Forums

WP User Frontend
Using Woocommerce attributes instead of categories? (3 posts)

  1. MarceFX
    Member
    Posted 1 year ago #

    Hi,

    Is there any way we can use attributes (custom taxonomy) from the Woocommerce plugin?

    It looks like WP User Frontend calls the category function in PHP, but I don't know how to call the custom taxonomies ('pa_attribute', instead os 'category').

    Any ideas?

    Thank you

    http://wordpress.org/extend/plugins/wp-user-frontend/

  2. korabd
    Member
    Posted 1 year ago #

    Hi MarceFX,

    I have the same problem!?

    Did you find any solution.

    Thanks :)

  3. MarceFX
    Member
    Posted 1 year ago #

    Try this in wpuf-addpost.php:

    wp_dropdown_categories( 'show_option_none=' . __( '-- Select --', 'wpuf' ) . '&hierarchical=1&taxonomy=pa_attribute&hide_empty=0&orderby=name&name=category[]&id=cat&show_count=0&title_li=&use_desc_for_title=1&class=cat requiredField&exclude=' . $exclude );

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic