Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

wordpress widgets will not save

Tags:

php

wordpress

I followed this tutorial here to get a "base" theme set up:

http://themeshaper.com/2009/06/22/wordpress-themes-templates-tutorial/

Everything has been working great, but now on the last part, styling the "news feed" page I want the sidebar to show up. Everything in the theme, for what I can understand is set up correctly. There are two widget areas defined in the functions.php "primary" and "secondary", the unmodified functions.php and sidebar.php can be viewed here:

http://code.google.com/p/your-wordpress-theme/source/browse/trunk/functions.php and http://code.google.com/p/your-wordpress-theme/source/browse/trunk/sidebar.php

So this is what happens, I go into the appearance -> widgets manager in the admin. The primary and secondary widget area show up on the right.

I drag the categories and recent posts widgets to the primary (or secondary it doesnt matter). I click save on each widget for good measure and then if I browse away and come back the widgets are gone. Nothing is saved.

I'm not using any plugins, I have no 3rd party or custom widgets. These are just the default vanilla wordpress widgets.

I have debugging enabled in the config file but I get no output of any error when I save the widget config. I've even checked the page source after updating the widget and there is no hidden errors at the bottom as some have suggested.

If someone cannot tell me how to fix this, is there anyone that can at least tell me how to debug this, or get some sort of error message from this thing?

like image 573
Rick Kukiela Avatar asked Sep 06 '12 16:09

Rick Kukiela


2 Answers

Some suggestions:

  • -install debug bar http://wordpress.org/extend/plugins/debug-bar/
  • enable WP_DEBUG in wp-config
  • try to clear cache / use different browser or computer
like image 33
alexndm Avatar answered Sep 29 '22 07:09

alexndm


Try this

Go to your wp-admin --> and appearance --> widgets

then on the right top you will see a screen options button (a popdown menu) from there Enable accessibility mode and try your widgets

like image 123
Hareesh Avatar answered Sep 29 '22 06:09

Hareesh