Get 20% Straight Off On Premium WordPress Themes Use Code "MagMax20" !!

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 »