I have the cPanel access to a website but no wordpress login info. So I wants to change a widget content in the website.

How can I change it through phpmyadmin. Where are that widgets sidebar data actually stored? Is it inside wp-options table?

1 Answer 1


Widget options are stored in the options table under 'sidebars_widgets' as a serialized array. See this post for a longer explanation.

enter image description here

Changing the field per PHPMyAdmin is not recommended, use PHP, get_option() and update_option() instead, WordPress will take care for correct serialization then.

  • Impressive! I don't know how to update the values using that function. Anyway I solved my problem by creating another user through phpmyadmin. Thank You.
    – Libin
    Jul 11, 2012 at 6:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.