How to Use Easy WordPress Custom Post Types
Loading...
2,553
Loading...
Uploader Comments (nettutsplus)
see all
All Comments (25)
-
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...
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 4 months ago
@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.
nettutsplus 4 months ago
What about the "category type" taxonomy. Here I can see only the "tag type" taxonomy!
futeresisex 4 months ago
@futeresisex You'd do 'taxonomies' => array('category')
nettutsplus 4 months ago
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 4 months ago
@RaverDK It 100% won't work with anything below 5.3. (Wouldn't be hard to do so, just haven't provided a fallback).
nettutsplus 4 months ago