Hello,
I have an issue with a sidebar not showing in a Custom Post Type built with Layout Builder.
I am using Pro theme with Integrity stack and Wordpress version 5.9.1
The sidebar is not showing whatsoever: I looked for plugin conflict, updated everything, and read some other threads about this issue. Unfortunately nothing works.
I also tried to edit the theme php file with the documented code:
add_filter( ‘ups_sidebar’, ‘assign_sidebars’ );
function assign_sidebars($sidebar){
if(is_woocommerce()){
return ‘ups-sidebar-about-sidebar’;
}
return $sidebar;
}
But it does not work.
What can I do please?
Thank you in advance