2010-12-31, 07:35:57
o - Create a functions.php file in your template folder.
o - Copy the function get_navigation() from the file "admin\theme_functions.php" and copy and paste to your functions.php file.
o - Rename the function so is doesn't conflict , say get_mynavigation()
o - change the line beginning with
and change it to
Then just call get_mynavigation() in your template..
Mike
o - Copy the function get_navigation() from the file "admin\theme_functions.php" and copy and paste to your functions.php file.
o - Rename the function so is doesn't conflict , say get_mynavigation()
o - change the line beginning with
Code:
$menu .= '<li class="'. $classes .'">
and change it to
Code:
$menu .= '<li>
Then just call get_mynavigation() in your template..
Mike