Structure, templates and post_type parent of another post_type?
-
Hi!
I’m a webdesigner, designing simple WordPress blogs. Now I’ve got a little bit more complicated site to create.
It’s a golf travel agency and the guy wants to be able to add more stuff.
I’m currently looking into custom post_type and managed to create those and also custom taxonomies…
I’ve got these post types:
countries, cities, hotels and golfcourses.QUESTION 1:
Is it possible to make these post_types hierarchical to each other?
So that “countries” is the parent of “cities”, cities parent of “hotels” and “golfcourses” and so on.QUESTION 2:
How do I assign templates to my post_types?
Like a Page always uses page.php, can I make my “cities” always use cities.php?QUESTION 3:
I would also like to be able to add pictures on my post_types (or templates). Just the way you can add a custom header in the new default theme “twentyten”. For example on “hotels” there will always be one large pic and three smaller ones.
Anyone knows how to?———————————-
Are you following me? 🙂
Are these things too complicated? Is it at all possible to achieve?Should I just go back into creating Pages for all of it and just style the templates?
Or does anyone have any other suggestion???
Thanks a lot for your help!
/Malin
- The topic ‘Structure, templates and post_type parent of another post_type?’ is closed to new replies.