If I use CKEditor to edit pages in the 'Define Pages' section something puzzling occurs.
For example, in one page I have this code
And that is how it appears if I use the 'Plain text' editor.Code:<?php if ($this_is_home_page) { ?> <?php if (RAP_SLIDES_STATUS == 'true') { ?> <?php require($template->get_template_dir('tpl_home_slider.php',DIR_WS_TEMPLATE, $current_page_base,'common') . '/tpl_home_slider.php');?> <?php } ?> <?php } ?>
The page will appear with a slide show on it.
However if I then open the same page using CKEditor the page content is shown as
and the source now looks like thisCode:get_template_dir('tpl_home_slider.php',DIR_WS_TEMPLATE, $current_page_base,'common') . '/tpl_home_slider.php');?>
This happens on two different sites so I wonder if anyone has any idea what is happening here.Code:<!--?php if ($this_is_home_page) { ?--><!--?php if (RAP_SLIDES_STATUS == 'true') { ?--><!--?php require($template---> <p>get_template_dir('tpl_home_slider.php',DIR_WS_TEMPLATE, $current_page_base,'common') . '/tpl_home_slider.php');?> <!--?php } ?--> <!--?php } ?--></p>


Reply With Quote
it was a main page in one of your templates I was trying to alter - so for that I guess I'll have to create it elsewhere and past the code using the Plain Text editor.

