“Rendering of admin template [path to template] failed”

Looks like an error related to the HeadSpace2 plugin, see. http://urbangiraffe.com/support/topic/rendering-of-admin-template-failed-2 http://urbangiraffe.com/support/topic/rendering-of-admin-template-failed-continued Perhaps the plugin has template support which you’ve enabled but not created the appropriate file for in the theme? I have no idea, i don’t use the plugin, just thinking out loud.. Hope that helps.

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

How to show multiple instances of the WP125 Widget?

You have two options: Create the widget yourself with the “new” widget api as a class an it will be multiple instance widget. Or find the line that registers the widget and register the same widget with a new name for example find: register_sidebar_widget(array(‘Content License’, ‘widgets’), ‘widget_cc’); and replace with: register_sidebar_widget(array(‘Content License 1’, ‘widgets’), ‘widget_cc’); … Read more

WP plugin repository didn’t parse readme.txt correctly

You can add a short piece of text above the description that will be the “short description”. You may need a blank line above and below. If it is not there, then the wp parser uses the first x characters of the description like this http://plugins.svn.wordpress.org/amr-ical-events-list/trunk/readme.txt http://plugins.svn.wordpress.org/amr-ical-events-list/trunk/readme.txt

Is there a (preferable built-in) way to check what custom queries are used in a theme?

I don’t really understand what you’re trying to do, so here goes nothing: There are a lot of hooks within WP_Query. Most of them pass the current instance as one of the arguments. So, here’s how you could check for a “custom query”: function check_wp_query( $posts, $wp_query ) { if ( $wp_query->get(‘my_arg’) ) { // … Read more

My plugin creates custom widgets, How can I programatically add them to existing sidebar widget areas?

Sidebars are registered in the option ‘sidebars_widgets’. To see what’s in and what not, try this: add_action( ‘wp_footer’, ‘show_my_sidebars’ ); function show_my_sidebars() { $sw = get_option( ‘sidebars_widgets’ ); print ‘<pre>’ . htmlspecialchars( print_r( $sw, TRUE ) ) . ‘</pre>’; } Sample output: Array ( [sidebar-footer-left] => Array ( [0] => archives-3 ) [sidebar-footer-right] => Array … Read more