How to customize headers via php for multisite installation

[ad_1]

Hi @huzaifazoom First of all before make any changes in your theme, create a child theme and actiate. Then whatever you want edit just create that file in your child theme here your header.php.

Thanks @alithewpdev for the quick reply. That seems simple enough.
Will try it out and see how it goes.

And I was able to i) set up and upload the child theme, ii) Network activate it and choose it for one of the multisites, iii) adding some text to the child theme’s header.php, and iv) seeing the change reflected on the header.

This is where I wanted to get at. I can now start the customization experimentation with PHP, which is independent of a multisite setup.

Thanks so much @alithewpdev
Huzaifa.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer