Skip to content

Instantly share code, notes, and snippets.

@frasten
Created May 4, 2010 17:03
Show Gist options
  • Save frasten/389656 to your computer and use it in GitHub Desktop.
Save frasten/389656 to your computer and use it in GitHub Desktop.
--- lib/core.php (revisione 12229)
+++ lib/core.php (copia locale)
@@ -256,7 +256,7 @@
elseif($navtype=='pages'):
mystique_list_pages(array('exclude' => get_mystique_option('exclude_pages'), 'sort_column' => 'menu_order'));
else:
- mystique_list_menu(array('slug' => trim($navtype, 'menu-')));
+ mystique_list_menu(array('slug' => substr($navtype, 5)));
endif;
do_action('mystique_navigation'); ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment