I am trying to work out how to have a different menu for logged out users and logged in users.
This is the functions.php that I have in the child theme.
This works, nearly but it creates problems whenever a page is saved and users are facing issues when logging in.
I checked the error log and I think this could be the error that is indicating the problem.
PHP Warning: Cannot modify header information – headers already sent by (output started at /home/woodwork/public_html/wp-content/themes/jumpstart-stretch/functions.php:62) in /home/woodwork/public_html/wp-includes/pluggable.php on line 875
Can someone please take a look and tell me what I am doing wrong?
- You must be logged in to reply to this topic.