About a month ago, WPCandy released The WordPress Help Sheet, a PDF packed with PHP snippets, the basic template files, and other extra stuff for WordPress. It became pretty popular around the Blogosphere within a couple of days and was translated into quite a few languages. The WordPress Help Sheet was a great success and allowed WPCandy to become known to the rest of the world.
The WordPress Help Sheet was a good WordPress resource, but it was pretty limited and only had the basics of WordPress. I kept thinking to my self, “What about more advanced WordPress developers? They need something too!”. I felt they were being left out of all the fun. So here’s something for all you WordPress gurus…

I’m proud to announce The Advanced WordPress Help Sheet, another PDF packed with snippets that help extend WordPress’ capabilities. Although the Advanced WordPress Help Sheet is mainly aimed for more advanced WordPress developers, beginning WordPress developers can use it to further their knowledge.
The Advanced WordPress Help Sheet includes snippets from Styling Different Categories to Dynamic Page Titles. This is also only the first of a few I’ll be releasing. I plan on having at least three Advanced WordPress Help Sheets, totaling to around 9 or 10 pages of WordPress goodies.
Anyways, I hope you enjoy the Advanced WordPress Help Sheet and it can be of some use to you. If you like it, please consider supporting us by sharing this post, leaving a comment, and subscribing to our RSS Feed.
Post Revisions:
- 5 August, 2010 @ 4:51 [Current Revision] by michael castilla
- 3 January, 2008 @ 6:00 by Ryan Imel
Posted January 3, 2008
Adii said:
As a WP designer, I must admit that I expected some more advanced code snippets… Some of the snippets included are pretty basic indeed – like the Theme Details & Next/Prev Links. I still think it’s a great release!
But not advanced enough for me to actually use it…
Irrespective, keep up the good work and I’m sure this release will bring another glut of traffic to a great WP Resource!
on January 3, 2008 at 8:28 am
Andrew said:
I find that it is really difficult to judge what is basic, general, advanced, etc. I think this is a really good start.
on January 3, 2008 at 8:49 am
bboywicked said:
Wow, WP is a really tricky system huh. Theres so much things to do with it, well anyways nice post mike. Thanks for sharing!
Keep it up, WPCandy is doing a great job!
on January 3, 2008 at 11:37 am
hellyeahdude.com said:
Well I must admit this is a great resource for people looking to get into WordPress designs. They can print out this sheet and reference it as much as possible. That is the best way to learn web design and code, to memorize the code by referencing it.
I must say Adii, I think Michael is saying this WordPress Help Sheet is more advanced than the previous. This doesn’t cut him back from releasing all of these help sheets as a “series.” Just like calling a product organic or calling it fresh. He next release might be advanced enough for your site. Even though, I don’t think your Web site is even using any “advanced” code. Releasing an actual media medium is much better than just blogging about how much traffic you get. Contribute don’t gloat!
on January 3, 2008 at 12:34 pm
Adii said:
@ Patrick – I’m definitely not gloating and even though my own blog doesn’t neccessarily use “advanced” code, it doesn’t mean that I can’t code it. I’ve actually been in contact with Michael and I’ll be contributing to the next sheet. When I commented, I was just suprised some (what seems to me) like pretty standard snippets, whereas I expected something less well-known – but I definitely wasn’t trying to knock this release.
I love the initiave and ideas behind it and the WP community can only benefit from blogs such as WPCandy and passionate community members like Michael Castilla.
on January 3, 2008 at 12:42 pm
Ehab said:
Obviously better than the previous one, but not necessarily “advanced” as in Advanced
Replaces the previous one for good though. Keep up the good work Mike.
on January 3, 2008 at 12:43 pm
Michael Castilla said:
Hopefully the next sheet will be more advanced.
Thanks for the comments guys. I’m glad you like it (for the most part).
on January 3, 2008 at 12:59 pm
Mike Diesel said:
You rock man. Thanks for putting together another help sheet.
on January 3, 2008 at 1:07 pm
Michael Castilla said:
@Mike Diesel: No problem man.
on January 3, 2008 at 1:16 pm
CP said:
Thanks Michael. This is very helpful.
on January 3, 2008 at 2:47 pm
Ali Salem said:
Thanks a lot Michael. Helps a lot!
on January 3, 2008 at 2:53 pm
Michael said:
Just what I needed, Michael. I’m just starting to tinker with some styling on separate pages, and your Help Sheet will be right by my side.
It really helps to have all that stuff in one easy sheet, rather than scattered through the Codex.
Happy New Year!
on January 3, 2008 at 3:08 pm
Jake said:
A great idea and definitely useful.
One potential pitfall though is that the behaviour of “is_home()” is not as straightforward as might be anticipated: it will only return true when “Front page displays: Your latest posts” is set on the options > reading page – not when “Front page displays: A static page”
Looking forward to the next installments!
on January 3, 2008 at 4:08 pm
hellyeahdude.com said:
@adii -
If you are a wordpress designer you should know that probably 80% of the people who use wordpress only use it with theme’s and to do personal blogging. Thus, someone even informing others of these code snippets would be considered advanced to many.
on January 3, 2008 at 4:16 pm
Kevin King said:
I wish I would have had something like this when I first started.
Thanks.
on January 3, 2008 at 4:20 pm
Referáty zeměpis said:
Thank you for this guide especially for showposts
on January 3, 2008 at 5:22 pm
Hannah Warmbier said:
What a great resource! I’m looking forward to more of these in the future.
on January 3, 2008 at 5:36 pm
Michael Castilla said:
Your welcome everyone!
If there are any snippets you think are worthy of being on the next Advanced WordPress Sheet, feel free to send them to me using the contact form.
on January 3, 2008 at 5:39 pm
Michael Cromarty said:
I’m lovin it pal!
Lets carry on releasing them!
on January 3, 2008 at 6:10 pm
Gary R. Hess said:
Nice cheat sheet. I’m sure this will come in handy with my never ending quest of editing my template
on January 3, 2008 at 6:23 pm
Jermayn Parker said:
Thanks for this and the past “tip/ cheat sheet”, I have downloaded both and will print off soon…
I also look forward to Adii’s contribution for a ‘more’ advance sheet.
Could we also put a wish list together of what we would like to see??? I personally would like to see more on editing and changing the admin side of things…
Thanks
on January 3, 2008 at 10:51 pm
Mark Penix said:
Nice contribution, however I’d call this intermediate not advanced… these are things you can get from the codex… I’d say advanced are things not necessarily available via the codex.
P.S. you have a typo under “Unique Templates for Categories” you list in_category 3, cat4.php not cat3.php… just FYI.
Again nice contribution
on January 4, 2008 at 1:59 am
Matt Packer said:
Thanks for putting the time in to create this. As a relatively new WP user this is guaranteed to coming in handy for me.
Cheers
Matt
on January 4, 2008 at 6:18 am
Lifestyle Blog StyleSpion said:
This is an amazing piece. Thank you so much!
on January 4, 2008 at 6:47 am
Hafiz Rahman said:
Thanks for the Help Sheet! Looking at the PDF is definitely much more pleasant than looking around the WordPress Codex for the same info.
on January 4, 2008 at 6:57 am
Pchere said:
This is a truly wonderful compilation. A must download for wordpress users.
on January 4, 2008 at 8:36 am
Vijay Teach Me $$ said:
Hi Mike,
A nice collection for my wp websites, it is a powerfull combination.
on January 4, 2008 at 10:32 am
Michael Castilla said:
Thanks for your kind words everyone.
I’ve uploaded an updated version with some fixed typos.
on January 4, 2008 at 11:41 am
Steve Bruner said:
Nice job on the cheat sheet.
You may want to revise one section: Unique Templates For Categories.
There is no need to write all that code to provide a unique template for a category.
Just create a file called: category-3.php if you want a unique template for category 3.
on January 4, 2008 at 12:19 pm
Michael Castilla said:
@Steve: Really? So WordPress would automatically assign category-3.php to Category 3?
on January 4, 2008 at 3:57 pm
Steve Bruner said:
Absolutely!
It’s the WordPress Template hierarchy:
“The Template Hierarchy specifies that WordPress will use the first Template file it finds in your current Theme’s directory from the following list:
1. category-6.php
2. category.php
3. archive.php
4. index.php”
You can find out more here: http://codex.wordpress.org/Category_Templates
on January 4, 2008 at 4:04 pm
Bram said:
A very nice one mate! Quite the valuable thing!
on January 5, 2008 at 8:02 am
CP said:
Michael, I used the “Previous & Next Posts Links” on my site but the previous link doesn’t seem to show on the “next” pages. Any ideas? Thanks.
http://knoxify.com/
on January 6, 2008 at 4:37 pm
Michael Castilla said:
Hey CP,
Try this:
If that works, then I’ve made a type in the sheet and I’ll update it. Thanks for asking.
on January 6, 2008 at 4:42 pm
CP said:
That was it Michael. Thank you.
on January 6, 2008 at 4:45 pm
Michael Castilla said:
No problem CP. Sorry for messing it up on the sheet. My apologies.
on January 6, 2008 at 4:50 pm
cjp said:
Very useful thank you, I will have this pinned up on my wall whilst I write my new theme for my site. Though I would agree with a previous poster that an even more advanced version would be useful, the WP codex can be a little dry so having it is this straight-to-the-point form is ideal.
Thanks again.
cjp
on January 6, 2008 at 5:34 pm
Thássius V. said:
I enjoyed it a lot. Congrats, Mike!
on January 9, 2008 at 4:30 am
readywpthemes said:
It’s a good resource for beginners but not for advanced users.
on January 10, 2008 at 11:03 am
Jason said:
This is such a great resource… True, it’s good for beginners… but even for advanced users, it’s great for a quick-reference. Thanks!
on January 13, 2008 at 10:09 pm
Kiran said:
I had been looking for something like this for a long time, thank you! Love the very web2.0′e layout!
on January 18, 2008 at 5:59 pm
vladbuk said:
Russian translate: http://networkforpeople.blogspot.com/2008/02/wordpress.html
on February 8, 2008 at 5:05 am
yanuar said:
thank you so much, this is exactly what I was looking for
on February 24, 2008 at 2:03 am
Mike Roussell said:
This is great.
I wanted to use the customize category template addition but my theme (Revolution) doesn’t have a category.php file
What do I do?
These are the files I have:
* Stylesheet
* tab.css
* Archive Page
* page_section.php
* Search Results
* Main Index Template
* r_sidebar.php
* s_footer.php
* Footer
* Sidebar
* 404 Template
* functions.php
* Comments
* l_sidebar.php
* Archives
* home.php
* Page Template
* Header
* tabber.php
on March 26, 2008 at 12:15 pm
brad said:
This is a great big help! Thanks a lot!
on April 2, 2008 at 11:57 am
G4HQ Forum said:
Thanks!
on April 17, 2008 at 4:31 pm
Graham said:
Absolutely fantastic – thank you!
I have only been into WordPress for around 4 months and already I am loving it. This is going to help me stax!
on June 24, 2008 at 8:02 am
Lina said:
What is wrong with your typeface?
I am using FireFox 2.0 and I see the text all broken-up, extremely difficult to read.
In Internet Explorer it looks fine.
Check your website in FireFox!
(thought I’d drop you some feedback)
on July 4, 2008 at 10:29 am
Max said:
I’m about to make my first WP design on my own. These Help Sheets are a great help!
Thank you very much.
on August 3, 2008 at 7:50 am
Kriszha | Graphic Design said:
Great Michael, You rock
on September 10, 2008 at 3:36 pm