2011-08-26, 01:36:11
PMB Wrote:Still playing around with GetSimple and loving it. I would like to knew if there is a way to make this work.
call get_navigation(return_page_slug()) from a component ? When I attempt this it returns a error ?
example :
make a component named footer paste this inCode:<?php get_navigation(return_page_slug());?>
Thanks for any help.
Which error? This should work (although you should put <ul>...</ul> around it to get valid HTML).
Include the component in the template using
Code:
<?php get_component('footer'); ?>