Custom CSS : where is it saved ?

Viewing 2 posts - 1 through 2 (of 2 total)
  • #20674
    Rosdoza
    Participant

    Hello everyone,
    I had to re-install wordpress on my server. I saved everything before (DB and folder on the server) and then reinstalled WordPress, and finally Pinboard.
    Everything is fine BUT I’m looking into my backup for the hundreds lines of custom CSS I wrote via the wordpress interface > Theme Options > Layout (I stupidly didn’t saved them before deleting everything…).
    Could anyone tell me where to look ? They should be stored somewhere, right ?
    Thanks.

    #20880
    Daniel Tara
    Keymaster

    They are located in the wp_options table inside an option called pinboard_theme_options. It’s a serialized array that you will need to unserialize and extract the user_css key. If you are not comfortable enough with code, the easiest way is to restore your backup on a local installation of WordPress and just copy the CSS from the options page.

Viewing 2 posts - 1 through 2 (of 2 total)

Tagged: 

You must be logged in to reply to this topic.