Uh oh – I deleted the logo!

Home Forums GovIntranetters Uh oh – I deleted the logo!

Viewing 3 reply threads
  • Author
    Posts
    • #1739
      lloydengland
      Participant

      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!

    • #1742
      adbutt
      Participant

      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.

    • #1743
      adbutt
      Participant

      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.

    • #1747
      lloydengland
      Participant

      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!

Viewing 3 reply threads
  • You must be logged in to reply to this topic.