2014-05-19, 06:07:56
i'm trying to do navigation-rendering, i'm using a tutorial:
http://mvlcek.bplaced.net/get-simple/mul...-rendering
i dont want do get a component but i want get a function from php file in theme folder, how to do it ?
it's possible ?
now i using as get back a menu:
get_i18n_navigation(return_page_slug(),0,0,I18N_SHOW_LANGUAGE);
and i want to get functions from external php file, like (example)
get_i18n_navigation(return_page_slug(),0,0,I18N_SHOW_LANGUAGE, $externalfunction='theme/my_theme_name/mainmenu.php');
i'm want change a some menus to always active or always red, yellow and others... (important link menu's) and i want to change some files. i don't want to do it with componets.. it's possible to add a function (name function) to load a php file in place where is load a component?
why? i think the easier is creating something from php files.. and create a own structure of php files in my own catalogs/ php files than a creating a components where a logged user can spoil something, or change...
it's a possible ?
http://mvlcek.bplaced.net/get-simple/mul...-rendering
i dont want do get a component but i want get a function from php file in theme folder, how to do it ?
it's possible ?
now i using as get back a menu:
get_i18n_navigation(return_page_slug(),0,0,I18N_SHOW_LANGUAGE);
and i want to get functions from external php file, like (example)
get_i18n_navigation(return_page_slug(),0,0,I18N_SHOW_LANGUAGE, $externalfunction='theme/my_theme_name/mainmenu.php');
i'm want change a some menus to always active or always red, yellow and others... (important link menu's) and i want to change some files. i don't want to do it with componets.. it's possible to add a function (name function) to load a php file in place where is load a component?
why? i think the easier is creating something from php files.. and create a own structure of php files in my own catalogs/ php files than a creating a components where a logged user can spoil something, or change...
it's a possible ?
user plugin: scroll to top