The following warnings occurred:
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message



GetSimple Support Forum
How to set class on li of navigation menu - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16)
+--- Thread: How to set class on li of navigation menu (/showthread.php?tid=7412)



How to set class on li of navigation menu - datiswous - 2015-07-09

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?


RE: How to set class on li of navigation menu - shawn_a - 2015-07-09

its a hack but you can pass a prefix with a space in it

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

get_navigation($slug,"custom ");


RE: How to set class on li of navigation menu - datiswous - 2015-07-09

Ok thanks, I didn't understand that part of the wiki-documentation