WordPress.org

Ready to get started?Download WordPress

Forums

How to edit function reference for wp ecommerce dropdown product categories? (2 posts)

  1. cynzdareveur
    Member
    Posted 1 year ago #

    Hi, I want to apply this code in the link below:
    http://codex.wordpress.org/Template_Tags/wp_dropdown_categories

    Can somebody help me how can I apply the codes? I've tried to change or add the codes in wp-includes/category-template.php to find wp_dropdown_categories but there has not been any changes. I think I didn't arrange the codes correctly.

    Any help would be highly appreciated. I really need to get my product categories to be displayed in dropdown menu because I have hundreds of them.

    Thank you.

  2. webstandardcss
    Member
    Posted 1 year ago #

    taxonomy=wpsc_product_category

    <li id="categories">
    	<form action="<?php bloginfo('url'); ?>" method="get">
    	<div>
    	<?php wp_dropdown_categories('show_count=1&hierarchical=1&taxonomy=wpsc_product_category'); ?>
    	<input type="submit" name="submit" value="view" />
    	</div>
    	</form>
    </li>

Topic Closed

This topic has been closed to new replies.

About this Topic