i have a customer who had 3 different sites and they wanted to bring all 3 sites under one umbrella site. however, each of the companies have different logos. when i define a logo for the site, it shows all-tru the site.
what i need is a particular logo for each of the sites;
main (landing) site -> logo-main.png art site -> logo-art.png print site -> logo-print.png
i am not a coder, just a designer so if i am to do some php editing, please be as specific as possbile.
thank you.
i have a customer who had 3 different sites and they wanted to bring all 3 sites under one umbrella site. however, each of the companies have different logos. when i define a logo for the site, it shows all-tru the site.
what i need is a particular logo for each of the sites;
main (landing) site -> logo-main.png art site -> logo-art.png print site -> logo-print.png
i am not a coder, just a designer so if i am to do some php editing, please be as specific as possbile.
thank you.
Share Improve this question asked Sep 19, 2019 at 16:58 aliselvialiselvi 11 Answer
Reset to default 0Considering you'll use multisite and for adding logo you just need to go to individual site and enable option to add logo(will be available in the theme you are using).
Next step is to alter header.php from your theme and add following lines of code where you have the_custom_logo();
TO:
switch_to_blog( $blog_id ); //where `$blog_id` is current site id
the_custom_logo();
restore_current_blog();
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745119710a4612338.html
评论列表(0条)