Archived topic
Logo Not Showing up After Upgrading GP
11 replies · Started by Baba on June 7, 2016
Hello. Tom
I am now struggling on GP theme not showing LOGO image on the header. I have reselected the logo image data (and cropped properly) but still same result.
I appreciate your assistance if there is a way to solve this.
The issue can be under this website
http://typograffit.com
GP Version:1.3.31
Are you using a child theme? If so, any custom page templates or custom functions?
Thanks for the quick reply.
yes I am using the child theme.
I don't think i am using custom templates or functions.
thx
Is there anything in the functions.php file found in "Appearance > Editor"?
Yes, we have added few codes regarding woocommerce & WPML.
Could this be causing the issue?
Anything referencing the generate_header_items() function?
If the logo is set in "Customize > Site Identity" but it's not showing up, it means you're either overwriting the generate_header_items() function, or the header.php file in your child theme.
I noticed the same thing on http://www.ValleyViewChiro.com today. My logo image was gone. I did realize that I had copied the header.php into my child theme because I needed to load some custom code into the <body> tag for Google Adwords custom phone numbers.
I am guessing I should just trash the child header.php file. Where would be the best place to put that code to get it into the <body> tag.
As always, thanks!
I would use GP Hooks and the wp_head hook :)
OK, so I finally got back to getting this all fixed.
There is a <script>...</script> that goes into the head, which I threw into the wp_head hook.
The second part is onload="...;" snippet that is in the <body> tag, can I put another body tag into the wp_head hook?
Thanks.
I'm not sure what you mean?
Definitely don't add another <body> tag, there can be only one.
Yeah that is what I thought. Basically there are two pieces of code to add into the page. One in the head and one within the body tag. I am wondering if there is any way to add into the body tag or if I just need to do it within the child theme and make sure it doesn't break on update.
thanks,
If you're using GP Hooks you can add it into the "Before Header" hook - that fires directly inside the body tag :)
