GetSimple Support Forum
Get category - 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: Get category (/showthread.php?tid=6348)



Get category - paul59 - 2014-05-23

Hi,

Is there a way to get all the category and sub-category ?

Tx


RE: Get category - xxdex - 2014-05-23

plugin i18N
http://get-simple.info/extend/plugin/i18n/69/

in template use (you will get a navigation from level 0 to 99 lv):
<?php
get_i18n_navigation(return_page_slug(),0,99);
?>

if you want to get only a submenu named "oferta" where is a only visible active menu and submenu
<?php
get_i18n_navigation(return_page_slug('oferta'),0,99,I18N_FILTER_CURRENT );
?>
all menu and submenu from menu named "oferta"
if you want to get only a submenu named "oferta" where is a only visible active menu and submenu
<?php
get_i18n_navigation(return_page_slug('oferta'),0,99,I18N_SHOW_MENU);
?>

more here:
http://mvlcek.bplaced.net/get-simple/multi-level-navigation/