adambundy


Member since 10/30/2009

29 snippets

5619 profile views

0 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet popular snippet:having a snipplet with 20 favorites

adambundy's Recent Snippets



« Prev 1 Next »
Courtesy Kevin Chard at WPSnipp.com. Adding this snippet to the functions.php of your wordpress theme will redirect your search to the post automatically when wordpress only returns a single search result.
1 1367 posted 9 years ago by adambundy
Thanks to Tom McFarlin for this: https://gist.github.com/tommcfarlin/86e4f040bcc641a86f59
1 1003 posted 10 years ago by adambundy
Thanks to Tom McFarlin for this. http://tommcfarlin.com/wordpress-post-exists-by-id/#more-30264
1 1770 posted 10 years ago by adambundy
To insert custom loop of post attachments as images (at core or custom size) linked not to full size image but custom-configured (or core) size.
2 1068 posted 11 years ago by adambundy
Thanks to Stephen Harris for this > http://wordpress.stackexchange.com/questions/50425/show-current-navigation-path-from-menu
1 1313 posted 11 years ago by adambundy
myEls should be the selector statement for whatever elements you want to effect. The example wraps every 3.
1 1231 posted 11 years ago by adambundy
Thanks Dan Gayle. http://www.dangayle.com/import-feeds-wordpress-fetch-feed/
2 1193 posted 11 years ago by adambundy
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: wpse19316_author_comments( 100 );
1 930 posted 12 years ago by adambundy
Add to functions.php. Replace IDs (64, 104 below) with categories you want to exclude.
1 956 posted 12 years ago by adambundy
Thanks to Brunildo.org for this: http://www.brunildo.org/test/img_center.html
15 3507 posted 12 years ago by adambundy
Courtesy CSSTricks (http://css-tricks.com/snippets/wordpress/turn-on-more-buttons-in-the-wordpress-visual-editor/)
1 932 posted 13 years ago by adambundy
UPDATE: might be easier or faster to use this now (also courtesy Pippin): http://pippinsplugins.com/get-all-attached-media/ **courtesy Pippin Williamson (http://pippinsplugins.com/image-gallery-short-code-using-post-attachments/) use shortcode...
1 985 posted 13 years ago by adambundy
Place at the top of your header.php to redirect visitors who are not logged-in to the Wordpress admin. I use this to redirect to a simple HTML 'coming soon' page while sites are in development.
1 890 posted 13 years ago by adambundy
'container' => ' ' -- removes the container div
1 910 posted 13 years ago by adambundy
1 812 posted 13 years ago by adambundy
1 828 posted 14 years ago by adambundy
1 784 posted 14 years ago by adambundy
3 1158 posted 14 years ago by adambundy
thanks to Perishable Press
1 812 posted 14 years ago by adambundy
thanks to Perishable Press
1 753 posted 14 years ago by adambundy
thanks to Perishable Press
1 881 posted 14 years ago by adambundy
3 954 posted 14 years ago by adambundy
2 876 posted 15 years ago by adambundy
display: block; needed for IE7 to enable the negative text-indent.
2 1147 posted 15 years ago by adambundy
« Prev 1 Next »