Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Wordpress Custom Post Types with a page as a parent?

Tags:

wordpress

I have a lot of custom type items in my new WP project, and for navigation reasons, I want to make the parent to some of them a Wordpress page. The problem is that apparently, Wordpress does not let you establish parent-child relationships between items with different post type.

Is there anyway to override this? I am using Wordpress 3.1

like image 413
agente_secreto Avatar asked Nov 05 '22 21:11

agente_secreto


1 Answers

You can create the archive-[post-type].php files to show as archive or single-[post-type].php to show indiviual posts.

like image 66
Tristup Avatar answered Nov 10 '22 21:11

Tristup