The following warnings occurred:
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 745 errorHandler->error_callback
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
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1650) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1650) : eval()'d code 46 errorHandler->error_callback
/showthread.php 1650 eval




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QUESTION Modify output of get_navigation
#4
(2015-08-30, 08:42:30)vallhund Wrote:
(2015-08-30, 00:41:32)frixelsolutions Wrote: Please let me know how to do this in GetSimple, if it is even possible. Thank you!

In my one-page theme, I used the menu_data():



PHP Code:
$menu "";

foreach (
menu_data() as $page) {
 
 $menu .= "<li class='".$page['slug']."'><a href='#'>".$page['menu_text']."</a></li>";
}

echo 
$menu


Quite useful and easy.

Thank you - that's the solution I was looking for. Will update the theme with doing this right tomorrow.
Reply


Messages In This Thread
RE: Modify output of get_navigation - by shawn_a - 2015-08-30, 03:36:18
RE: Modify output of get_navigation - by vallhund - 2015-08-30, 08:42:30
RE: Modify output of get_navigation - by frixelsolutions - 2015-08-31, 03:26:53



Users browsing this thread: 1 Guest(s)