How to Use Easy WordPress Custom Post Types

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
2,553
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Oct 6, 2011

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (nettutsplus)

  • A much appreciated tutorial!

    Anyone know how I would go about create a meta box that allows an image upload or wysiwyg as appoosed to a textarea etc?

  • @danielpaulmeade I just added the script on GitHub (see link above). You can upload an image with a metabox by doing. $post_type->add_meta_box('Box Title', array('Avatar' => 'file')

    This will add a file upload input. Then, when you upload a file or image, it will display a link or image below the input.

  • What about the "category type" taxonomy. Here I can see only the "tag type" taxonomy!

  • @futeresisex You'd do 'taxonomies' => array('category')

  • Any one got this working with older versions of PHP then 5.3?

    (Know the github page tells me that i requires 5.3, but aint possible @hostingsite).

  • @RaverDK It 100% won't work with anything below 5.3. (Wouldn't be hard to do so, just haven't provided a fallback).

see all

All Comments (25)

Sign In or Sign Up now to post a comment!
  • How can I query through custome post-types?

  • holy cow, what a HUGE TIME SAVER! Im new to custom post types, but have been using rewrite and menu icons. How would you get those in here? Will there be a part 2, utilizing the new post types on a page template? Good Stuff Here!

  • @nettutsplus Thanks a ton for the replay, it's a nice project, that im sure alot have great use of... I got it working the manual way on older PHP versions, so im all set...

    Thanks again for sharing it with the public, keep up the good work.

  • @massimo83 That was a bug with that specific commit. It's fixed now. Update jw_custom_posts.php to the lastest version that is on GitHub, and it'll work. Sorry about that!

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more