Support » Fixing WordPress » wp_list_categories() and ''walker'' class

  • Hello,,

    One of my widget’s is using the wp_list_categories() function.
    The code:

    <?php			    wp_list_categories( "title_li=&orderby=name&hierarchical={$show_hierarchy}&show_count={$show_post_counts}&use_desc_for_title=0&child_of=".$category_id ); ?>

    Everything works OK but the link target has the following form :

    I want to change that to:

    specific-city-shops is a subcategory with the shops category as a parent, and with id=15

    Any idea of how I can do that ? through the ”walker” class? but I don’t know how to use that..

    Thank you for your time.

  • The topic ‘wp_list_categories() and ''walker'' class’ is closed to new replies.