├── images ├── dribbble-bottom-sm.png ├── dribbble-check-sm.png ├── dribbblesprite.png └── zoom-bg-white.png ├── readme.txt └── wp-dribbble.php /images/dribbble-bottom-sm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davatron5000/WP-Dribbble/9b5071e40dd88730025ef9ff4565b43b8aba20e2/images/dribbble-bottom-sm.png -------------------------------------------------------------------------------- /images/dribbble-check-sm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davatron5000/WP-Dribbble/9b5071e40dd88730025ef9ff4565b43b8aba20e2/images/dribbble-check-sm.png -------------------------------------------------------------------------------- /images/dribbblesprite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davatron5000/WP-Dribbble/9b5071e40dd88730025ef9ff4565b43b8aba20e2/images/dribbblesprite.png -------------------------------------------------------------------------------- /images/zoom-bg-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davatron5000/WP-Dribbble/9b5071e40dd88730025ef9ff4565b43b8aba20e2/images/zoom-bg-white.png -------------------------------------------------------------------------------- /readme.txt: -------------------------------------------------------------------------------- 1 | === WP Dribbble === 2 | Contributors: davatron5000 3 | Donate link: http://github.com/davatron5000 4 | Tags: dribbble, designer, social media, widget 5 | Requires at least: 2.9.2 6 | 7 | A sidebar widget for Dribbble, the show and tell social network for web designers, developers and other creatives. 8 | 9 | == Description == 10 | 11 | By request, I've created a sidebar widget for Dribbble, the show and tell social network for web designers, developers and other creatives. 12 | 13 | Until the fine folks at Dribbble release their fully functioning API, this plugin will take the latest shots from your RSS feed. 14 | 15 | The page was created to mimic the Popular page (design by Dan Cederholm, aka @simplebits) with the small 200x150 thumbs. 16 | 17 | Features 18 | 19 | * Specify the number of shots (up to 10). 20 | * You can enable/disable drop shadow. 21 | * You can choose to ignore the CSS from the plugin and create your own. 22 | 23 | 24 | == Installation == 25 | 26 | There are a few ways to get the plugin working. Here's the normal way: 27 | 28 | 1. Upload the plugin to your plugins directory. 29 | 1. Activate the plugin. 30 | 1. Drag the widget into your sidebar and configure the widget. Click save and visit your site and you should see it in the sidebar. 31 | 32 | If you don't use sidebars and are a SUPER-DIY "roll your own" kind of guy/gal, then here's what you do: 33 | 34 | 1. Upload the plugin to your plugins directory. 35 | 1. Activate the plugin. 36 | 1. Drag the widget into your sidebar and configure the widget. Click save. 37 | 1. "Remove" the widget immediately or drag it to "Inactive Widgets". 38 | 1. In your theme add the following php snippet `` 39 | 40 | = Roll Your Own CSS = 41 | 42 | By default the application will include the following CSS in an inline CSS block, which may or may not validate. If you hate inline CSS or think you can it CSS better, just uncheck the option. 43 | 44 | Below is the sample CSS block that will load by default. 45 | 46 | ` 47 | 61 | ` 62 | 63 | And here's the generated code (pretty much the same as Dribbble's). 64 | 65 | ` 66 |
143 | 144 | 145 |
146 |147 | 148 | 149 | Default: Dribbble Shots 150 |
151 |152 | 153 | 165 |
166 |167 | 168 | > 169 | Default: On 170 |
171 |172 | 173 | > 174 | Default: On 175 |
176 |177 | 178 | > 179 | Default: Off 180 |
181 | 182 | 183 | 'Pull in your latest Dribbble shots')); 196 | register_widget_control( 'Dribbble', 'wpDribbble_control'); 197 | add_action( 'wp_dribbble', 'wpDribbble' ); 198 | if($options['includeCSS']){add_action('wp_head', 'wpDribbble_head');}; 199 | } 200 | 201 | add_action("plugins_loaded", "wpDribbble_init"); 202 | //end dribbble shots plugin 203 | ?> --------------------------------------------------------------------------------