Hello there,
Following this topic : Polylang HEADER/FOOTER Issue that was closed because i took too long to answer (sorry about that)
Is there any news regarding this issue ?
Thank you kindly
Hello there,
Following this topic : Polylang HEADER/FOOTER Issue that was closed because i took too long to answer (sorry about that)
Is there any news regarding this issue ?
Thank you kindly
Hi @Thaelys,
I have checked with our development team, and they are still working on it. As a temporary solution, you can add the following code into the functions.php of your child theme.
add_filter("pll_get_post_types", function($args) {
unset($args['cs_header']);
unset($args['cs_footer']);
unset($args['cs_layout_single']);
unset($args['cs_layout_archive']);
unset($args['cs_layout_single_wc']);
unset($args['cs_layout_archive_wc']);
return $args;
});
Hope it helps.
Thanks
Hi Tristup,
Thank you for the update and that bit of code, it worked.
Hey @Thaelys,
You’re most welcome and we’re glad that it is now working properly on your end.
Cheers!
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.