Widget which displays thumbnails, but links to urls?

You could create your own widget that queries posts from a certain category then displays the_post_thumbnail in an unordered list linking to the post. Example widget (add to functions.php): <?php class c3m_thumbnail_posts extends WP_Widget { function c3m_thumbnail_posts() { $widget_ops = array( ‘classname’ => ‘thumbnail-posts’, ‘description’ => ‘Displays post thumbnails’ ); $control_ops = array( ‘id_base’ => … Read more

Widget options – where to put them?

I have answered this myself by adding an options page and adding options to the database. The functions are add_option(‘yourpluginoption1′,’value’); add_option(‘yourpluginoption2′,’value’); add_action(‘admin_menu’, ‘yourplugin_menu_’); function yourplugin_menu_() { add_options_page(‘etc etc…

trying to Change to wp_register_sidebar_widget

function widget_sidebarLogin() { echo “Content of Your Widget”; } wp_register_sidebar_widget( ‘sidebarLoginId’, // your unique widget id ‘SidebarLogin’, // widget name ‘widget_sidebarLogin’, // callback function array( // options ‘description’ => ‘Some Descriptions’ ) );

Unique widget id in sidebar

No offense, but your code is a COMPLETE mess, so I’m just going to give you clean code and then tell you how to target it. register_sidebar( array( ‘name’ => ‘Post Sidebar’, ‘before_widget’ => ‘<div id=”%1$s” class=”widget widget-%2$s”>’, ‘after_widget’ => ‘</div>’, ‘before_title’ => ‘<div class=”titlediv”>’, ‘after_title’ => ‘</div>’, ) ); Then to target the title … Read more

Post Thumbnails on Sidebar Widgets

There is no ability in the default widget, you will need to use third-party plugins to acheive your goal. Here are some that I have found. http://wordpress.org/extend/plugins/yd-recent-posts-widget/ http://wordpress.org/extend/plugins/get-recent-comments/