Tagged: stray code
May 21, 2020 at 6:35 am #1214897
Ever page has some stray code at the top of it just above the nav menu
I have narrowed it down, it is being caused by the header.php file in my child theme. I can’t ficure out whats wrong with it. I don’t really know any PHP.
I have copied the file below.
Your help would be appreciated.
ThanksMay 22, 2020 at 12:57 am #1215136
Please provide admin info so we can login and try to fix this.
Jordan ShannonMay 22, 2020 at 1:15 am #1215140May 22, 2020 at 2:10 am #1215145
I logged in and removed the offending code. Please check, though you may need to clear your cache.
Jordan ShannonMay 22, 2020 at 4:28 am #1215150
It was having some teething problems but it seems to have sorted itself out now.
Seems to be working fine.
What was the problem code? i would like to know so i do’t repeat it.May 22, 2020 at 6:23 am #1215162May 23, 2020 at 8:00 am #1215365
I have a much larger problem now..
The whole website is barely working since you removed the tag. At the moment it looks like there is no css or structure, like everything is just bullet points.
It started happening when you removed the open tag. For a while it looked like it fixed itself but its back now.
Please help ASAP. We are losing a ton of business over this.May 23, 2020 at 8:06 am #1215366
Once again it looks like its fixed. All i did was switch to the parent theme and back to the child theme. Do you know what may have caused this? It has happened a few times now and will probably happen again.May 23, 2020 at 8:13 am #1215368May 24, 2020 at 1:02 pm #1215715
Thanks for the update. Your site looks fine on my end, so I think your problems are solved? The missing CSS could have been caching.
RikardMay 24, 2020 at 1:17 pm #1215730
I tried uninstalling a couple plugins, including a caching plugin. It hasn’t happened since their morning so that may been it.
Thanks for your help I’ll let you know if I have more problems.May 25, 2020 at 3:57 am #1215913
You must be logged in to reply to this topic.