Support » Fixing WordPress » Where are the actual contents of widgets stored?

  • Where are widgets stored exactly? I don’t see them in the database or widgets.php files at all! I’m trying to help someone edit theirs because they’ve messed it up and now the admin won’t let them click to edit and an error line 44 appears.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The info for the default Widgets are kept in the wp_options table with these option_names:

    I’m not seeing that in mine.

    *Knock Knock*

    Change to the WordPress Default 1.6 theme.

    Now drag a Widget into the Sidebar 1 area, and save.

    Look at wp_options for those values.

    I’d like to amend the code of one of the Recent Comments widget to display an extra field that I’ve added to Comments form – where can I do this?
    (I have the form working – just need to know where to find the ‘recent comments’ widget code to edit)

    Thanx in advance.

    Strike my daft question! All default wp widgets are found in wp-includes/widgets.php and can be edited there.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Where are the actual contents of widgets stored?’ is closed to new replies.