Cimy Navigator WordPress doesn't have a good way to generate pages or categories lists, this plug-in is inspirited by the one from Adi Sieker, that was a very good base to start. It uses an array because it can provide better tag options than a simple string launch, but every option has a default value, so if the default one is the one desired can be omitted in the initialization. If you have your custom css with this plug-in you can create also interactive menu or very useful site maps, see screenshots. Bugs or suggestions can be mailed at: cimmino.marco@gmail.com REQUIREMENTS: - WordPress = 2.x INSTALLATION: - just copy whole Cimy_Navigator subdir into your plug-in directory and activate it USAGE EXAMPLES: This is only a small example how to use the plug-in, of course you can add options or just modify them. EXAMPLE FOR PAGES: $params = array( 'show_previous_levels' => "all", 'show_same_level' => 1, 'show_next_levels' => "all", 'sort_column' => 'menu_order', 'a_class_current' => 'a_current', 'a_class_nocurrent' => 'a_nocurrent', 'nested_li_ul_li' => 0, ); if (!is_page()) /* change with a valid page_id from your blog */ $params['current'] = ; $result = init_args($params); /* gives the root item ID */ $root = $result['root']; /* this function can be called more than one time without calling init_args again, because all options are saved into $result array */ $links = cimy_navigator($result); EXAMPLE FOR CATEGORIES: $params = array( 'type' => "categories", 'show_previous_levels' => "all", 'show_same_level' => 1, 'show_next_levels' => "all", 'sort_column' => 'menu_order', 'a_class_current' => 'a_current', 'a_class_nocurrent' => 'a_nocurrent', 'nested_li_ul_li' => 0, ); if (!is_category()) /* change with a valid category_id from your blog */ $params['current'] = ; $result = init_args($params); /* gives the root item ID */ $root = $result['root']; /* this function can be called more than one time without calling init_args again, because all options are saved into $result array */ $links = cimy_navigator($result); PARAMETERS (should be added in $params array): 'type' choose what should be displayed: 'pages' or 'categories' [default: 'pages'] 'current' set the current item [default: the current item visited or if it's not a page (or not a category) then default is 0] 'list_tag' [0 or 1] add following tags:
and