LIbrary GRID layout won’t load after adding custom logo code
-
Hello! I apologize if I’m not posting this issue at the correct location.
My issue: After adding a logo to a custom ‘from scratch’ theme, I can’t access the GRID layout page of the Image Library–the list page works fine.
What is causing (or affecting) it: Not sure this is the CAUSE, but I can fix it by commenting out the: “if function exits…” code for the custom logo. But then my logo disappears from the page.WP Install: v6.5 as LOCALHOST
Server: XAMPP on Windows 10I’m new to WordPress (only using it for a few months), but I’ve build several website with another app, so I know enough about codding to be dangerous ?? I’ve been building a custom ‘from scratch’ theme following the Mr. Digital tutorials (been all the way thru his 2019 series). I haven’t had any issues with the custom code, until I tried to add the custom logo. Mr Digital didn’t show how to do that, but I figured it out from the WP.org support pages.
After adding the custom logo code, then choosing the logo through the dashboard, the logo was placed top left above the header bar. So I thought all was good. But then I noticed when I tried later to access the Library GRID layout page, it would freeze–just a little gray icon ball with the circling white dot next to ‘bulk select’ button. If I click the LIST layout icon, the images come up just fine.
Researching the issue, I found a few instances stating there was a glitch that caused it in a previous version, but that was a few years ago. So I wanted to look into that before I started suspecting it was due to my code. I also see you like to have access to the WEBSITE so you can VIEW the CODE. But how do you do that with a localhost setup? I can give you a screenshot of the affected (logo) code, if that will help.I followed all the suggestions: cleared the CACHE, checked PERMALINK settings, and tried disabling plugins. I only had two plugins installed (Imagemagick Engine and Force Regenerate Thumbnails). I turned them off, but it didn’t help. The only thing that fixes it is disabling the code mentioned earlier.
If there’s any other information I can offer, please let me know. Hope you can help.
Thanks…JEB
The page I need help with: [log in to see the link]
- The topic ‘LIbrary GRID layout won’t load after adding custom logo code’ is closed to new replies.