Can I create drag and drop widgets like iGoogle in WordPress?

This is an interesting question. Generally, I agree with EAMann – this would be better suited in a more general discussion. Seeing as you ask it here however, I’m going to give a WordPress specific approach you may want to use. In the context of WordPress, “widget” obviously has a specific meaning. The WordPress sidebar … Read more

List a current posts’ taxonomy terms in a widget in WordPress

This is a simple conversion of the Taxonomy terms list plugin to a widget: class WPSE_5394_Widget extends WP_Widget { public function __construct() { parent::__construct( ‘wpse5394_widget’, ‘Taxonomy Terms List’ ); } public function widget( $sidebar_args, $widget_options ) { if ( ! is_single() ) { // I don’t think we can display anything sensible on a page … Read more

Removing default theme widgets

you can remove them by adding a blank text widget or you can open the sidebar.php file of the theme witch looks like this: <!– begin box about –> <!– begin sidebar –> <div id=”sidebar”> <h2>About</h2> <div class=”sidebox”> <img id=”aboutimg” src=”https://wordpress.stackexchange.com/questions/7234/<?php echo get_option(“cici_about_image’)?>” alt=”about” /> <p><?php echo stripslashes(get_option(‘cici_about_txt’)); ?></p> </div> <h2>Advertisement</h2> <div class=”sidebox”> <?php if(get_option(‘cici_ads’)==’yes’){?> … Read more

Shortcode displays always first. Once again

Yes, look at the widget() method in your MyWidget class. Does it echo? Most likely it does, because that’s how widgets are normally written. In fact, I’d be surprised to see a widget that didn’t echo output in its widget() method. And when you call the_widget(), it fetches an instance of the widget you ask … Read more