The Magic of WordPress Custom Post Types: New on Premium
plusvideos

The Magic of WordPress Custom Post Types: New on Premium

In this in depth Premium video tutorial, I’ll teach you how to use custom post types, taxonomies, and meta boxes to extend your WordPress application into CMS-like territory.

Become a Premium member to read this tutorial/screencast, as well as hundreds of other advanced tutorials and screencasts from the Tuts+ network.


You’ll Learn About…

  • What are custom post types, and why would you want to use them?
  • How to take advantage of custom taxonomies to provide additional grouping and filtering functionality
  • How to use custom meta boxes to save and display custom meta information for a specific post type.
  • Implement nonces to provide additional security.
  • New PHP 5.3 features, such as anonymous functions and closures.
  • Plenty more…

Become a Premium member to read this tutorial/screencast, as well as hundreds of other advanced tutorials and screencasts from the Tuts+ network. For more WordPress tutorials every day, be sure to subscribe to our sister-site, WPtuts+!

Note: Want to add some source code? Type <pre><code> before it and </code></pre> after it. Find out more
  • http://innovateas.com Mike Henken

    Thanks for the article. This would have been highly useful for me about a year ago when most my clients blogs/sites were made with wordpress.

    Jeffrey I recommend you check out a newer CMS called get-simple (http://get-simple.info)..
    It is structured similar to wordpress but has the easiest and most intuitive template system and plugins system I have ever seen.

  • Aryan

    I’d like an advanced WP plugin development tutorial.

    I have seen a lot of tutorials on it but all of them are just a joke. Very kisddish.

    I hope Nettuts would like to consider it.

    Thanks!

  • Chris M.

    This was amazing… Thanks for sharing Jeffrey!

    One thing though, I know some people had commented on some of your other videos saying they were too slow and drawn out, now I think this one is way too fast! I don’t think you need to edit so tightly. Sometimes it is really hard to follow along and see what you added exactly (especially little things like commas and semicolons, etc.). I would balance it: not toooooo long, but not this short either!

    Also, the video screencast stops at 25 minutes for me. It seems to be cut short. Am I missing something here?

    Thanks once again! Keep these things coming!

    Respectfully,
    Chris M.

    • Jeffrey Way

      Hey Chris, it’s separated into two videos. Did you download the second part as well?

      And yeah, the speed thing is tough. Everyone is at a different skill level, so it can be difficult to find a pace that fits everyone’s needs.

      • http://www.bumstaerk.com Martin Haakansson

        Hey Jeffrey,

        I haven’t been able to find the other part of the video. While I’m logged in, I only see one Video avaible, through the View Screencast. Am I missing something?

      • http://www.jeffrey-way.com Jeffrey Way
        Author

        Try clicking on the Net Premium specific tab in the sidebar.

      • Chris M.

        Thanks Jeffrey!

        The link to the second video wasn’t there when you first posted this. It is there now though. Thanks again…

        I still think the videos should be a little slower. Find that sweet spot.

  • gavin

    one thing i must say the i do not like about the net.tutsplus site is trying to find the login for the premium content. call me stupid but it is not a user friendly at all. hate search for something as stupid as a login.

    • shae

      yeah, would be awesome if the premium login could get moved, every time I go to login I have to dig around for it…

      • gavin

        still trying to figure out where it is….

      • http://net.tutsplus.com Jeffrey Way
        Author

        Just go to tutsplus.com to login. :)

    • http://dridgett.com.au David

      Yeah I have trouble finding it too. I tweeted them about it a while ago and they said they were making some improvements to make logging in easier.

    • Chris M.

      Agreed… I always have to go and login, and then find the tut that I am looking for (again). This is not an intuitive process at all.

      I love the site and its offerings though! :-)

  • Fx

    Great tutorial thanks,

    i’m trying to internationalize the array but array of arrays couldn’t be translate.
    Do you have a clue for the ‘All’ and the “Add New”
    I could hard coded them of course but it’s not the point

    add_action(‘init’, function() use($name, $args) {
    $args = array_merge(
    array(
    ‘label’ => ‘All ‘ . ucwords($name) . ‘s’,
    ‘labels’ => array(‘add_new_item’ => “Add New $name”),
    ‘singular_name’ => $name,
    ……
    ),

    Thanks

  • http://funnyfail.org Muhammad

    Hmmm sounds interesting, very tempting to go out and buy that premium account :D

  • http://www.hivomark.com Hieu Vo

    Does this video instruct how to search on custom post type?

  • Purple

    Thanks for this Jeff.

    I have been busy with custom post types the past few months. They are pretty straight forward (until you get into heavy duty stuff). Just released my Event Planner plugin, built completely using custom post types. The nice thing was that I ended up using mostly wordpress functions for interacting with the database. The hard part was when I was designing the system and had to use the wordpress tables’ key/value storage method, especially for accurate querying of serialized data. Nevertheless, I am hooked and will be using custom post types for all my plugin development.

  • http://devindombrowski.com Devin

    Jeffrey, listen I don’t mean any disrespect. In fact I have a great deal of respect for you however the navigation on this site is making me a bit crazy. I can’t find the content for this tutorial anywhere. After dinging around just to log in, I still can not get access to this tutorial. Any advise?

    Thanks for sharing your knowledge and all your hard work.

    • http://www.jeffrey-way.com Jeffrey Way
      Author

      Did you go to tutsplus.com and login?

      • http://www.wordpressguru.com.au/ Wordpress Developer Sydney

        Hi Jeff,
        You always stick with the naming convention with your videos, is there a way or feedback form i can i use to request other tutors to do same … makes life easy …

  • http://devindombrowski.com Devin

    Sorry for this late response. Yes I am/was logged in.

    Anyway, the problem seemed to have resolved itself. Now I can get to the screencasts.
    Not sure what the difference was between then and now.

    Thanks!

  • Manos

    Hello I can view the screen cast on the premium members area but I cant download it .
    Is there a way to download it?

  • http://triskelwebdesign.com Caio SP

    I work with wordpress since a while and I didn’t know some of the things you mentioned, lol, good tutorial.

  • Carlos

    Hello Jeffrey, i was wondering if using those taxonomies we could create some sort of filter/ Advanced search in wordpress?

    If it can, could you create a tut for it? Thank you very much

    -Carlos

    • Carlos

      To give more info on the resquest, I you decide to create such a Tutorial, it would be great if only the taxonomies with posts on it will show on the search drop down. For Example, for the A dropdown you choose option 1, then all the other dropdowns get updated to meet with that selected option. Does that make any sense?

      Thank you very much Jeffre, i am waiting on this tut like crazy!

      Do you think you are going to make it? haha Thank you

      -Carlos

      • http://www.technoish.com/ Goce

        Great point @Carlos. I’ve been looking for that same thing lately and I’m glad somebody else requires it.

        It would be great if it’s possible to make queries by choosing from multiple subcategories and criterias. I totally get what you are referring to, but I haven’t find any solution. Maybe a plugin could do that?