• Hi,

    I would like to ask how to change the navigation category order manually? I had tried severeal plugins but they seems not to change the navigation category order (main menubar). I would like to customize my category order. How could I do this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter cylcathy

    (@cylcathy)

    But I had changed the “category-template.php” according to this link. I would like to order the navigation categories (main menu, not widget) according to slug rather than name as default. So I set the following:

    function wp_list_categories( $args = '' ) {
    	$defaults = array(
    		'show_option_all' => '', 'show_option_none' => __('No categories'),
    		'orderby' => 'slug', 'order' => 'ASC',
    		'show_last_update' => 0, 'style' => 'list',
    		'show_count' => 0, 'hide_empty' => 1,
    		'use_desc_for_title' => 1, 'child_of' => 0,
    		'feed' => '', 'feed_type' => '',
    		'feed_image' => '', 'exclude' => '',
    		'exclude_tree' => '', 'current_category' => 0,
    		'hierarchical' => true, 'title_li' => __( 'Categories' ),
    		'echo' => 1, 'depth' => 0,
    		'taxonomy' => 'category'

    But nothing changed to my site. Is there any setting I set wrongly?

    Thread Starter cylcathy

    (@cylcathy)

    Or this change is not for navigation bar?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘navigation category order’ is closed to new replies.