-
AuthorPosts
-
October 28, 2020 at 2:57 am #1256253
HI,
I just moved my site from staging to production. On mobile, the homepage of the site has the logo but not any other pages of the site. They can’t find the logo. How can it find the home page but not the other pages???
October 28, 2020 at 7:19 am #1256283Hi mclweb,
The pages like archives that have a missing logo seems to be pointing to this image URL (link in private content) and it returns nothing.
Please update the URL and that should work properly.Best regards,
NikkoOctober 28, 2020 at 5:35 pm #1256424how do I update the URL? I reentered the main logo. I think I’m losing my mind as this URL has an ending that obviously I would have created but I’m not see where I originally applied this logo. What am I missing?
October 28, 2020 at 5:57 pm #1256429O.K. I found it. It was in functions.php. Sorry for the run around. I built the site over a year ago and I forgot how I added the mobile logo.
Thanks for your help.October 28, 2020 at 6:15 pm #1256430Hold on a minute… on further looking I’m getting not consistent returns on the mobile site. Some pages are showing the main logo, some the mobile logo and one page (visit) nothing at all.
This is the code I have in the function file.
add_filter(‘avf_logo’,’av_change_logo’);
function av_change_logo($logo) {
if(wp_is_mobile( ) )
{
$logo = “https://monova.ca/wp-content/uploads/2020/05/monova-mobile.png”;
}
return $logo;
}Is this right?
October 28, 2020 at 7:03 pm #1256436I had to go in and update each page to get it display correctly. But, got it working.
October 29, 2020 at 5:33 am #1256568Hi mclweb,
The code you posted is indeed the code responsible for it.
I’m glad that you got it working.
Let us know if you need further assistance.Best regards,
NikkoJanuary 19, 2021 at 12:43 am #1273530Looks like my mobile replacement version on the logo isn’t working. Got any ideas?
January 19, 2021 at 6:56 am #1273569Hi mclweb,
Please post us your login credentials (in the “private data” field), so we can take a look at your backend.
- Install and activate ” Temporary Login Without Password “.
- Go to ” Users > Temporary Logins ” on the left-side menu.
- Click ” Create New “.
- Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
( to be sure that we have enough time to debug ). - Click ” Submit “.
- You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.
When your issue is fixed, you can always remove the plugin!
If you prefer to not use the plugin, you can manually create an admin user and post the login credentials in the “private data” field.Best regards,
NikkoJanuary 19, 2021 at 7:24 pm #1273814Info in private content.
Thanks
January 20, 2021 at 9:06 pm #1274214Hi mclweb,
Thanks for giving us admin access.
It’s working properly now, the single quotes in the code above it are causing the issue.Best regards,
Nikko -
AuthorPosts
- You must be logged in to reply to this topic.