(2012-12-11, 22:36:55)hameau Wrote: Is it possible to inhibit the FAQ effect from certain parts of a page, please?
I have a page of FAQ, which works correctly.
Part of the sidebar content is dynamically filled with the content of a (hidden) page, using this code in the template:PHP Code:get_i18n_content('sb-'.return_page_slug()) || get_i18n_content('sb-default')
Unfortunately, this sidebar content is also wrapped in <div class="faq-wrapper">, so it is displayed collapsed. What can I do to prevent this sidebar content from being treated as part of the FAQ?
PHP Code:
global $faq_parameters;
$faq_parameters_bak = $faq_parameters;
$faq_parameters = false;
get_i18n_content('sb-'.return_page_slug()) || get_i18n_content('sb-default');
$faq_parameters = $faq_parameters_bak;