woocommerce - Wordpress theme header wont show up after database modification -
i've been working on wordpress theme integrated woo-commerce.
while editing theme header section states "free shipping on orders above $75". wanted $100 , managed find information inside wp_options
table in database. after editing text $100 header , footer sections won't show up.
i know issue , why both of sections won't show up.
the wp_options
table contains theme (and plugin) settings stored user options in database. user data many times saved serialized data; format saves space.
when directly edit , resave theme's data in wp_options
phpmyadmin or adminer, breaking serialized data string, , result, break theme's settings.
the database tools phpmyadmin or adminer not designed , have no way unserialize , reserialize editing.
so don't edit theme options directly in wp_options
unless absolutely necessary. make theme changes in theme's php code, in localization strings, in html, whatever.
to header , footer back, resave theme settings reset theme; or worst case, deactivate theme , hope theme clears out own database tables , settings can start on customizations.
Comments
Post a Comment