Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] Custom Post Type with same slug as Page? Re: [Solved] Custom Post Type with same slug as Page?

#77616
Hayley
Member

Hey, I figured out how to do it via these comments on Justin Tadlock’s Blog

http://justintadlock.com/archives/2010/04/29/custom-post-types-in-wordpress#comment-193761
http://justintadlock.com/archives/2010/04/29/custom-post-types-in-wordpress#comment-188191

Basically, I created post type ‘trapping’, made a page called ‘trapping’ and set it to default template, 3) created a page-trapping.php file in which I loop through all the trapping post types.

Here’s the site I’m working on: http://test.deercreekplans.com