Posts: 45
Threads: 12
Joined: Nov 2010
Hi, I've been looking how to strip off class="page name" out of the <li></li> so I can modify my theme a little bit more. I know this may seem like a simple question and I apologize! I want to integrate mootools into my theme, and i have to use a static class in order to make this happen.
Sam C.
Posts: 1,108
Threads: 70
Joined: Aug 2009
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
Code:
$menu .= '<li class="'. $classes .'">
and change it to
Then just call get_mynavigation() in your template..
Mike
Posts: 45
Threads: 12
Joined: Nov 2010
Awesome, thank you noodles