Switch header files
-
I’m using Buddyboss 3.1.5 and would like to use this plugin to detect and load one of two header.php files – depending on whether this site is viewed from mobile or tablet/desktop.
Can you advise please?
I’m assuming once the two relevant header files are in my child theme and the plugin is activated, I can put something in the functions.php files to trigger this but I can’t seem to get it right.
I tried the examples you have in FAQ just for interest but they all return the same error “Parse error: syntax error, unexpected ‘<‘ in /home/xxxx/public_html/dev/wp-content/themes/buddyboss-child-fixed-header/functions.php on line 59”
Would be great it I could get this working.
Thanks,
Paul.
The topic ‘Switch header files’ is closed to new replies.