Home › Forums › Gillion Theme › Edit Courses pages in LearnDash in Gillion theme
Home › Forums › Gillion Theme › Edit Courses pages in LearnDash in Gillion theme
I logged into your website and resolved the issue by editing the gillion_header_layout function code as below in the theme file /gillion/inc/helpers.php
function gillion_header_layout() { $header_layout1 = esc_attr( gillion_post_option( gillion_page_id(), 'header_layout', '1' ) ); $header_layout2 = esc_attr( gillion_option( 'header_layout', '1' ) ); if( !is_singular('sfwd-courses') && !is_search() && !is_singular('product') && !is_archive() && !is_home() && !is_404() && !function_exists('is_bbpress') ) : $layout = ( isset($header_layout1) && $header_layout1 && $header_layout1 != 'default' ) ? $header_layout1 : ( ( isset($header_layout2) && $header_layout2 ) ? $header_layout2 : '1' ); else : $layout = $header_layout2; endif; return ( !function_exists( 'gillion_header_showcase' ) ) ? $layout : gillion_header_showcase( $layout ); }