Every web developer should keep useful code snippets in a personal library for future reference. Today, I'm showing you the 10 most useful snippets and functions I have added to my snippet library from the past 3 months.
Excellent source of help for WordPress development. Snippets are a great way to get information on how to complete simple and even complex tasks without having to reinvent the wheel.
Very handy tool to have around
Plug-in is small snippets of code allowing you to add extra functionality to your site! Like, if you want to get idea of the statistics of your site, WordPress.com stats plug-in can help, which helps you measure your number of page view matrix and it can also help you know where your traffic is coming from.
Two of my favorite web designers with super helpful blogs, Chris Coyier of CSS Tricks and Jeff Starr of Perishable Press, have just released their new collaboration! The book, "Digging Into WordPress," is now available as a PDF download, and if you buy the PDF book now, you will be eligible for a "sweet discount" on the hard copy of the book when it comes out, plus receive updates free.
They've done a great job on this book, which covers setting up WordPress, anatomy of a WordPress theme, theme design and development, extending functionality including using WordPress as a CMS, working with RSS feeds, SEO, dealing with comments, and keeping your site "healthy." I already followed both of these designers before they began their collaboration, and have found countless useful tutorials, code snippets, design ideas, and much more on both of their sites - I've relied on Perishable Press as a source for great unobtrusive javascript code, and on CSS-Tricks for all kinds of other useful tools for making valid, functional, and beautiful sites.
This book is bound to be a valuable reference to anyone who works with WordPress.
This article is 1 of 2 in an article set I've named "Ghost Posts". In this article I'll show you how to display random posts grabbed from any category of your choosing in Wordpress without the use of plugins. You can also view this same code snippet being used on JungleJar right now.
You may remember a previous article I wrote here on JungleJar.com called Using Custom Fields To Post Your Images, but if not, I'm going to reintroduce a few of the code snippets and methods I wrote about in the tutorial about how to save and display image data from custom fields within Wordpress. In this article I'm also going to cover a few of the small yet robust code block methods I myself tend to practice quite a bit that I didn't previously touch on. So, if you're looking for a solid tutorial on how to use Wordpress Custom Fields to display blog post thumbnails in an easy and flexible manner, then this article is for you.