Hi, thank you for your quick response and for the code. But when I add the code to my functions.php file, I get the following error message:
Your PHP code changes were rolled back due to an error on line 310 of file wp-content/themes/education-hub-pro-child/functions.php. Please fix and try saving again.
syntax error, unexpected ‘&’, expecting ‘]’
Please advise. Thanks for your help!