2013-01-26, 06:39:18
(This post was last modified: 2013-01-26, 06:43:09 by lakechicago.)
Why does my php code continue to be converted into a comment? I've installed DynPages and other times the code seems to work but mostly not.
In other words, when I type in this:
<?php get_i18n_navigation(return_page_slug(), minlevel, maxlevel, show); ?>
...it ends up like this:
<!--?php get_i18n_navigation(return_page_slug(), minlevel, maxlevel, show); ?-->
Any help would be appreciated.
-Don
OOOps. I answered my own question. The code is supposed to go in the template, not on the page.
In other words, when I type in this:
<?php get_i18n_navigation(return_page_slug(), minlevel, maxlevel, show); ?>
...it ends up like this:
<!--?php get_i18n_navigation(return_page_slug(), minlevel, maxlevel, show); ?-->
Any help would be appreciated.
-Don
(2013-01-26, 06:39:18)lakechicago Wrote: Why does my php code continue to be converted into a comment? I've installed DynPages and other times the code seems to work but mostly not.
In other words, when I type in this:
<?php get_i18n_navigation(return_page_slug(), minlevel, maxlevel, show); ?>
...it ends up like this:
<!--?php get_i18n_navigation(return_page_slug(), minlevel, maxlevel, show); ?-->
Any help would be appreciated.
-Don
OOOps. I answered my own question. The code is supposed to go in the template, not on the page.