widgets in contacts only

there are many plugins for that, try this one, its pretty easy: http://wordpress.org/extend/plugins/widget-context/ or if you dont want to use a plugin, add a new sidebar to the specific page u desire: http://www.blogohblog.com/adding-extra-sidebar-to-your-wordpress-theme/

How to remove calendar widget?

It’s easy to remove a default widget from WordPress. Just add this to your functions.php file: function remove_calendar_widget() { unregister_widget(‘WP_Widget_Calendar’); } add_action( ‘widgets_init’, ‘remove_calendar_widget’ ); See more here: http://codex.wordpress.org/Function_Reference/unregister_widget

Tabbed navigation in widget backend

I checked the markup and core WordPress code to find out how it handles categories and came to the conclusion that all the categories are get loaded on page load and at a time either All Categories or Most Used is displayed by manipulating it using jQuery(on mouse click showing and hiding category-pop & category-all … Read more

Widget Development – Displaying dropdown content

$instance[‘page_id’] should be the post ID of the selected post. So … function widget($args, $instance) { $post = get_post( $instance[‘page_id’] ); echo $post->post_content; // you should add the common filters here var_dump( $post ); // more data } … should be a good start. To save the last value in the configuration form use selected(): … Read more

Call sidebar from a template

Impossible with get_sidebar(). From that function’s body: function get_sidebar( $name = null ) { do_action( ‘get_sidebar’, $name ); $templates = array(); if ( isset($name) ) $templates[] = “sidebar-{$name}.php”; $templates[] = ‘sidebar.php’; So if you pass a $name or any other custom value to the function, they will be set between two fixed strings. You can … Read more

user definable sidebar per page

There’s a brute force method you can use. When you register your sidebar, you give it an ID and a name, then you use that ID and name on the sidebar template to display it. What if you appended the ID of the page to that identifier? So instead of ‘mainsidebar’ you had ‘mainsidebar’.$post->ID? Step … Read more