Get The Best WP Offer With 20% On Our Bundle of 70+ WordPress Themes Use Code "MAGMAX23" Buy Now

Reply To: Show and Hide Sections

Home Forums Themagnifico Show and Hide Sections Reply To: Show and Hide Sections

#6778
Knut Steinar Fremme
Participant

In the Tutor University the code looks like :

$about_section = get_theme_mod( ‘tutor_academy_pro_find_tutor_enable’ );
if ( ‘Disable’ == $about_section ) {
return;
}

‘Disable’ == $about_section ??

get_theme_mod returns == 0 and not the word ‘Disable’

[tutor_academy_pro_find_tutor_enable] => 0

Translate »