Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
stripping class="" off of things
#2
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


Code:
$menu .= '<li>

Then just call get_mynavigation() in your template..

Mike
My Github Repos: Github
Website: DigiMute
Reply


Messages In This Thread
stripping class="" off of things - by samrocksc - 2010-12-11, 04:38:52
stripping class="" off of things - by n00dles101 - 2010-12-31, 07:35:57
stripping class="" off of things - by samrocksc - 2011-01-21, 00:25:02



Users browsing this thread: 1 Guest(s)