Switch header on mobile
I’d like to switch header if device is mobile. I have this in my child themes page.php but no success:
if ( wp_is_mobile() ) : get_header( 'mobile' ); else : get_header(); endif; ?>
Using Buddyboss 3.1.6
Any suggestions very much appreciated.
- The topic ‘Switch header on mobile’ is closed to new replies.