Image Uploader API

This tutorial explains basic use of WordPress media uploader. http://wp.tutsplus.com/tutorials/creative-coding/how-to-integrate-the-wordpress-media-uploader-in-theme-and-plugin-options To add image sizes use <?php add_image_size( $name, $width, $height, $crop ); ?> Read more on this at Codex http://codex.wordpress.org/Function_Reference/add_image_size

Dynamic Sidebars & Echo

You don’t need to echo dynamic_sidebar(). End your echo, call dynamic_sidebar(), and then start a new echo. To make it easier, just close/reopen your PHP tags: <?php if( fake if code ) { if( another fake if code ) { ?> <div class=”sidebar sidebar-first”> <ul class=”widget-area first”> <?php dynamic_sidebar( ‘pop-news-sidebar’ ); ?> </ul> </div> <?php … Read more

Displaying a widget in sidebar only when no other widgets rendered?

I not 100% clear what your question is so hopefully this can point you in the right direction for conditional widgets. I will give you 3 options. 1. is_active_widget checks if widgets are active based in the widget ID. http://codex.wordpress.org/Function_Reference/is_active_widget 2. Using is_active_sidebar and creating more sidebars usually gives you better control over widget output. … Read more

Print owned created widget

For reference, the_widget The way the_widget() works, is that you must either pass it $instance (array/string) which will have all of the form values of the widget. They give an example of the Archives Widget on the codex page. You can also pass $args which controls what text is displayed before/after the widget and the … Read more

Adding widgets to header and footer from plugin

Actually including that code in your theme template files is the only surefire way to include those widgets in various themes. It’s also the best to get them where you want them. Alternatively, you could accomplish this using hooks, but that relies on your themes actually calling the hook, and in the proper location. The … Read more

Making footer widgets responsive

Set the width of the div to 100% and remove the float for the media query used for smaller screens like this: @media screen and (max-with 600px){ .widget-area{ float: none; width: 100%; } } And for the desktop view: @media screen and (min-with 600px){ .widget-area{ float: left; width: 25%; } } BTW, this is just … Read more