Upgrade not working & themes not supporting

Could be a whole host of problems but it seems you’ve tracked it to a plugin. Try deleting the entire plugin directory and re-downloading your plugins. It is also possible that something went wrong during the transfer (some files didn’t transfer….became corrupt, etc.). If worst comes to worst, try the transfer again. You can also … Read more

Problems with jQuery and is_admin()

Is it possible that you are not adding the jQuery() within an ‘init’ or ‘admin_init’; my guess is ‘yes’. Further, if you use an ‘admin_init’ hook you won’t need to call is_admin(). Better yet, here’s an answer about best practices when using jQuery within WordPress: What is the best way to add custom javascript files … Read more

best way to run a php script away from the template?

Hi @Mild Fuzz: Sounds like what you might be looking for is the template_redirect hook. If you add a function for that hook then you can output whatever you want and end with an exit; statement. add_action( ‘template_redirect’, ‘yoursite_template_redirect’ ); function yoursite_template_redirect() { if (isset($_GET[‘foo’]) && $_GET[‘foo’]==’bar’) { // Do whatever you want when $_GET[‘foo’]==’bar’ … Read more

unregister a sidebar widget

If the theme or plugin that adds a widget or sidebar is removed, then essentially it’s removed from the system, what is not cleared out on deactivation/removal is widget data that’s stored in the option table(applicable to widgets, not sidebars). If a sidebar is removed, any widgets that were previously in that sidebar i believe … Read more