This is by request and quite frankly quite simple. In following build on "Multiple upload inputs in a WordPress theme options page?" If you theme options page is constructed in a different manner, it's still possible this will still be of help. First, get the script I like jscolor. It's simple, lightweight and real easy to use. Go there, download it and put it in your ... Read On →
Multiple custom buddypress avatars
Mar 02 12
I while back I wrote blog on custom buddypress avatars. A commenter asked about using more then one avtar. Hmmmm, good idea! Simple solution? Sure! We got that. Create your avatars And name them something like: my-avatar-1.png my-avatar-2.png my-avatar-3.png And so on for as many as you'd like. Mix it up function myavatar_add_default_avatar( $url ){ $randomNumber = rand(1, 3); $imgPath = '/_inc/images/default-grav-' . $randomNumber . '.png'; return $imgPath; } add_filter( 'bp_core_mysteryman_src', 'myavatar_add_default_avatar' ); How does ... Read On →
Best way to embed non-flash video?
Jan 23 12
Video is a bit of a sticky wicket when it comes to web development. There are a number fo different approaches, all of wich have drawbacks. As of WordPress 3.3.1 there is nothing built into the core that allows easy video embedding via the post editor. The following are the most common ways to embed video. See for yourself wich technique(s) work best for your combination of operating system, browser, browser version and connections speed. ... Read On →
Toggle divs independently with jQuery
Jul 26 11
Sorry, this post was outdated and has been removed.
query_posts breaks pagination
Mar 28 11
Everyone once in a while I’ll find myself amidst some sort of code riddle. More often then not it’s due to a plugin conflict, a CSS selector gone rogue or in most cases some typo where I’m missing a closing bracket, parenthesis or something like that. Although sometimes totally maddening, it’s generally pretty easy to trouble shoot and for the most part I at least know what’s up, just a matter of sifting ... Read On →