Home › Forums › GovIntranetters › Uh oh – I deleted the logo!
This topic contains 3 replies, has 2 voices, and was last updated by lloydengland 2 years, 7 months ago.
I had the header logo selected in Options, but I then deleted the image file from within the media library.
Now, when I try to edit the header logo in options, it just shows a blank space – with no edit/delete or add image buttons.
Could someone help me sort this!?
Hey Lloyd – tough one this. Needs a database tweak, do you have access to phpmyadmin or similar?
If so open up the _options table and search for options_login_logo in the option_name column.
Edit that row by removing the value contained in its option_value field.
When that has been completed go back to your site and refresh your options page you should now have the ability to upload a new logo.
Alternatively open up the functions.php file and search for header_logo around line 2369 modify the line from
‘type’ => ‘image’, to ‘type’ => ‘file’,
When that has been completed go back to your site and refresh your options page you should now have the ability to upload a new file/logo.
Thanks for that also!
Editing the db would have meant having to get someone else to do it, so I opted to edit the functions file instead as it’d be quicker – and it worked great!
Thanks a lot – I’ll think twice before deleting it directly from the media library again!
You must be logged in to reply to this topic.