User : adambundy

Title User Language Tags Description Date
jQuery wrap every X elements in a set with a div adambundy jQuery

myEls should be the selector statement for whatever elements you want to effect. The example wraps every 3.

March 1
Wordpress - get an RSS feed, display items with a loop adambundy PHP

Thanks Dan Gayle. http://www.dangayle.com/import-feeds-wordpress-fetch-feed/

January 8
WordPress - change the password request form on password-protected posts and pages adambundy PHP

Thanks to Tummel.me

Works on newer (~3.4) versions of WP.

November 15
Wordpress - list author comments on Author page adambundy PHP

Thanks to @kaiser on WP answers for this.

Place this function in your functions.php file, then use it in your template with the function call like:

wpse19316authorcomments( 100 );

November 6
Wordpress exclude certain category IDs from main or front page adambundy PHP

Add to functions.php. Replace IDs (64, 104 below) with categories you want to exclude.

October 25
New CSS image replacement technique adambundy CSS

Thanks to Scott Kellum (http://scottkellum.com/) via Zeldman

September 19
CSS inset text-shadow trick adambundy CSS

Courtesy http://designshack.net/articles/css/inner-shadows-in-css-images-text-and-beyond/

September 14
Vertically center an image in a container adambundy CSS

Thanks to Brunildo.org for this: http://www.brunildo.org/test/img_center.html

July 9, 2012
Wordpress - Add Buttons in the Visual Editor adambundy PHP

Courtesy CSSTricks (http://css-tricks.com/snippets/wordpress/turn-on-more-buttons-in-the-wordpress-visual-editor/)

December 18, 2011
Wordpress Image Gallery Short Code Using Post Attachments adambundy PHP

**courtesy Pippin Williamson (http://pippinsplugins.com/image-gallery-short-code-using-post-attachments/)

use shortcode [photo_gallery] to display the gallery

December 17, 2011
Wordpress redirect non-logged-in visitors adambundy PHP October 15, 2011
basic javascript string replace adambundy JavaScript October 13, 2011
WordPress Enqueue jQuery - Google CDN adambundy PHP August 24, 2011
Wordpress pre-populate main content with content, restrict to post type adambundy PHP April 19, 2011
Basic jQuery Function Template adambundy jQuery March 18, 2011