Posts: 1,247
Threads: 82
Joined: Feb 2011
2015-07-09, 03:40:00
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?
Posts: 6,266
Threads: 181
Joined: Sep 2011
its a hack but you can pass a prefix with a space in it
function get_navigation($currentpage,$classPrefix = "")
get_navigation($slug,"custom ");
Posts: 1,247
Threads: 82
Joined: Feb 2011
Ok thanks, I didn't understand that part of the wiki-documentation