Hello,
Following the wiki, I need <?php if (return_page_slug()!='PAGE') get_component('COMPNAME'); ?> in my template.php to disable a component on a certain page.
It is not working for me.
I am trying to disable sidebar on a page.
I am adding the line right after <?php get_component('sidebar'); ?>
Anything I am missing?
Thank you.
Following the wiki, I need <?php if (return_page_slug()!='PAGE') get_component('COMPNAME'); ?> in my template.php to disable a component on a certain page.
It is not working for me.
I am trying to disable sidebar on a page.
I am adding the line right after <?php get_component('sidebar'); ?>
Anything I am missing?
Thank you.