Archive for: May 2012

WordPress: Adding Custom Columns

| 0 comments

This entry is part of my WordPress development series, providing tutorials on specific things you can do in WordPress. Read some more?

This tutorial is going to show you how to take the metadata stored in your custom meta box (or boxes) from your custom post type and display it as columns on the browse or “All” page – for my custom post type, that would be the page “Cats”. This is a great way to show some extra information about your custom posts at once without having to go to each individual post. Continuing on from the previous tutorial, I am going to display the age and favourite toy metadata that I stored for my cat Azaezel.

For simplicity, we will continue to work in our functions.php file. You can edit this file by going to Appearance > Editor in your WordPress admin panel, or using a text editor with FTP.

To begin, we first have to create the columns. We do this by using the function add_filter().

Read More »

Treehouse – Watch Videos & Unlock Badges

| 0 comments

Ever wanted to learn how to code HTML or CSS? JavaScript? Learn how to use Photoshop? Get started with HTML5 or CSS3? Well you can learn that and a whole lot more at Treehouse! From the Treehouse website:

Our mission is to teach Web Design, Development and iOS to people everywhere, in order to help them achieve their dreams and change the world.

I have been a member of Treehouse since the end of February and I love it! What’s so fantastic about it is you get to unlock badges as you go along watching videos that teach you things like:

  • HTML – Lists, Objects, Text, Forms, HTML5
  • CSS – Selectors, Box Model, Page layout, CSS3 Techniques
  • Typography, Web Fonts, Photoshop
  • JavaScript, Ruby, iOS
  • …and so much more!

Read More »

WordPress: Create a Custom Meta Box

| 0 comments

This is the second entry of my WordPress development series, providing tutorials on specific things you can do in WordPress. Stay tuned for more!

This tutorial is going to show you how to add your own Custom Meta Box to your posts, pages, or your own custom post types. Custom meta boxes allow you to save additional information. Continuing on from the previous tutorial, I am going to add a custom meta box to my custom posts type “Cats”, which I will use to save the cat’s age and favourite toy.

For simplicity, we will create our custom meta box in our functions.php file. You can edit this file by going to Appearance > Editor in your WordPress admin panel, or using a text editor with FTP.

To begin, we first have to create the custom meta box. We do this by using a function we have used already, add_action().

Read More »