Learndash, sidebars not showing on topics

Thank @thai

You’re welcome, @julezedward. Alternatively, you can take what @RueNel’s code suggestion and convert it for posts instead of your Learndash post types like this:

add_filter('x_option_x_layout_content', 'fullwidth_single_post',999);
function fullwidth_single_post($layout) {  
    if ( is_singular( 'post' ) )  {      
       $layout = "full-width";
   }
  return $layout;
}

Or, you can copy the x_get_content_layout function in \framework\functions\frontend and paste it in your child theme’s functions.php override the content layout output of the theme.

Thanks.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.