Uh oh – I deleted the logo!
- This topic has 3 replies, 2 voices, and was last updated 9 years, 8 months ago by .
Viewing 3 reply threads
Viewing 3 reply threads
- You must be logged in to reply to this topic.
Home › Forums › GovIntranetters › Uh oh – I deleted the logo!
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!?
Thanks!
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!
Cookie | Duration | Description |
---|---|---|
comment_author_email_{HASH} | Under 1 year | This is purely a convenience, so that the visitor won’t need to re-type all their information again when they want to leave another comment. |
comment_author_url_{HASH} | Under 1 year | This is purely a convenience, so that the visitor won’t need to re-type all their information again when they want to leave another comment. |
comment_author_{HASH} | Under 1 year | This is purely a convenience, so that the visitor won’t need to re-type all their information again when they want to leave another comment. |
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |
wordpress_logged_in_[hash] | Indicates when you’re logged in, and who you are, for most interface use. | |
wp-settings-{time}-[UID] | This is used to customize your view of admin interface, and possibly also the main site interface. |
Cookie | Duration | Description |
---|---|---|
_ga | 2 years | Used to distinguish users. |
_gat | 1 minute | Used to throttle request rate. |
_gid | 24 hours | Used to distinguish users. |