magic-fields-team / Magic-Fields-2

Magic Fields 2.X
http://magicfields.org
GNU General Public License v2.0
124 stars 47 forks source link

Choose another post type as parent? #77

Closed programedia closed 8 years ago

programedia commented 12 years ago

Awesome work with the new MF-version. Just got one big problem. I cant seem to figure out how to get one post type to be the parent of another, as you could do in the previous MF-version. I would like to have these nice looking hieracial URLs like mytravelcompany.com/country/travel-category/travel/ etc. where country is one posttype, travel-category is another with a completely different set of fields and travel is yet another post type and so on.

This is whats keeping me from using the new version. Is there anything I'm missing, because this was the single best thing that Magic Fields 1 contibuted to wordpress.

programedia commented 12 years ago

no one?

thommeredith commented 12 years ago

Hi Alexander, this is actually just a frontend issue with Wordpress, you can assign any ID to be the parent of a page. Please review this post: http://wordpress.org/support/topic/custom-post-types-as-children-on-other-custom-post-types

It would be nice if this was ported over to MF2, before with MF1 you were building pages with just another way of looking at them with panels, so you were essentially linking a page type to a page type, with MF2 we are at the mercy of WP. I think that this should be brought up in the next version of WP.

programedia commented 12 years ago

thanks for the links thommeredith. I guess we have to solve it ourselves until wordpress implements it. The best thing about MF1 was that you were able to set the default template and parent posttype automatically. But I certainly get why MF2 has a much better structure and plays more naturally with wordpress in other areas.

hunk commented 8 years ago

I'm cleaning the issues if you still have this problem reopen the issue. thanks