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!
@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 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!
@kanonbob "immature response", ok mr Mature, wtf you still doing on youtube? inb4 another "smart" statement. Enjoy life, sounds pretty mat(boring)ure to me.Do's your boss make you act mature? Owning my own business, not giving a fuck and talking how ever i fucking want. I still make money and drive an 2010 audi ;) Fkn web designers pretending to be web developers. Go make me a logo bitch.
I'm with gr33nman here. Maybe because I'm new to editing WP functions and this seems all so cool, I would be very interested in either another class for templating or another video demonstrating how you'd do it.
What's the icons in the dock by the way? The heart and the 'rocket' magic mouse?
It would be great of adding the public page templates were as simple as adding custom post types is with this class. Is it likely there will be a sister class to introduce take advantage of the easy custom post types for page templating, or does that already exist?
How can I query through custome post-types?
Skare567 1 week ago
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!
digitalrenewal 3 months ago
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
@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.
RaverDK 4 months ago
I'm getting 'post tags' instead of the taxonomy just created, any suggestion on how to solve this?
massimo83 4 months ago
@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!
nettutsplus 4 months ago
Shock! Jeff used the Shawshank Redemption again!
Well done Jeffery, I just put WP on localhost to play with as I have no idea of how to add it to Codeigniter on the web. Will give this a shot
MrMrwilson11 5 months ago
WP is for noob php developers.
Cezarijus 5 months ago
@Cezarijus And Youtube Comments should have an age restriction.
kanonbob 5 months ago
@kanonbob so what, only people over 20? Hmm.. When you learn php you will understand my above statement.
Cezarijus 5 months ago
@Cezarijus I don't need to understand php, to know that your statement is an immature response, to what I can only guess is a personal reference.
kanonbob 5 months ago
@kanonbob "immature response", ok mr Mature, wtf you still doing on youtube? inb4 another "smart" statement. Enjoy life, sounds pretty mat(boring)ure to me.Do's your boss make you act mature? Owning my own business, not giving a fuck and talking how ever i fucking want. I still make money and drive an 2010 audi ;) Fkn web designers pretending to be web developers. Go make me a logo bitch.
Cezarijus 5 months ago
@Cezarijus You certainly come across as a kid. Adults don't advertise the type of car they drive, as proof of...well anything.
nettutsplus 5 months ago
@Cezarijus We'll leave it at that then :)
kanonbob 5 months ago
This will make things much easier and quicker, thanks. Can we set up hierarchal taxonomies with this class?
genuinep 5 months ago
as usual another AWESOME jeffrey way tutorial ! keep up the good work dude , and thanks for all those tuts.
arvesh9 5 months ago
This seriously needs to be adopted by WordPress. I'm seriously excited to play around with this. Thanks, Jeff!
DavidVII7 5 months ago
nice, now it's easier than ever :)
vnzinki 5 months ago
I'm with gr33nman here. Maybe because I'm new to editing WP functions and this seems all so cool, I would be very interested in either another class for templating or another video demonstrating how you'd do it.
What's the icons in the dock by the way? The heart and the 'rocket' magic mouse?
lither 5 months ago
It would be great of adding the public page templates were as simple as adding custom post types is with this class. Is it likely there will be a sister class to introduce take advantage of the easy custom post types for page templating, or does that already exist?
gr33nman 5 months ago