Thanks for a quick turn-around. I implemented your solution by creating a new header.php in my child theme containing only the above code & now my site is blank. Do I need to copy the entire code of parent theme’s header.php file to the child’s header.php or do I need to add it as a function as far as I’m aware with functions.php we use filters/actions(no idea how it works though).
Please guide me on where exactly the code will go. Below header.php code for site-title:
Thanks for the reply, I think I have a similar code in my theme’s header file but as I’m new to coding & don’t know what to change so could you please provide the correct code/function where site-title is activity page regardless of the front page which I can add to the header.php under a child theme. Thanks.