RSS Images Widget

Multi Category Selection Widget

Search Type

RSS Image Widget

You can see the widget in action on the sidebar to the right.

I used the jQuery Colorbox plugin and some javascript in my theme.js file to make the images open a modal window. This is standard for most external links on all my customer’s websites. You can view the code below:

jQuery(document).ready(function($) {
    $('.rss_image a').colorbox({width:"90%", height:"90%", iframe:true, title:'» Back to Zack Design\'s Plugin Site »'});
});

This code is loaded into my theme by functions.php in my theme folder. This is the code I used for functions.php (don’t forget to change the theme name to the one you’re using!):

wp_enqueue_script(‘theme_js’,'/wp-content/themes/atahualpa/js/theme.js’, array(‘jquery’, ‘colorbox’));