Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to set class on li of navigation menu
#1
Question 
The <li> of the navigation element seams generated by GS via the:
PHP Code:
<?php get_navigation(); ?>
How can I add a class on the navigation <li> in the theme's html code?
Reply
#2
its a hack but you can pass a prefix with a space in it

function get_navigation($currentpage,$classPrefix = "")

get_navigation($slug,"custom ");
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#3
Ok thanks, I didn't understand that part of the wiki-documentation
Reply




Users browsing this thread: 1 Guest(s)