Jump to content


Photo
- - - - -
Resolved

Where can I find the archive page for a custom post type?



  • Please log in to reply
23 replies to this topic

#21 Simon_P

Simon_P

    Messer

  • Administrators



  • 8388607 posts
  • LocationDevon
  • Framework Version:2.1.1
  • Country: Country Flag

Posted 11 October 2012 - 06:30 PM

The topic was marked as resolved.

#22 ccowell

ccowell

    Advanced Member

  • Members
  • 30 posts
  • Country: Country Flag

Posted 16 January 2013 - 08:54 PM

Hi jcritty or Rob, I am trying to do the exact same thing but I do not follow your solution. When I created a CPT named "Podcast", Pageline automatically creates a "Podcast Archive" template in the "Drag and Drop" section. I like that feature, but when I try to create a new wordpress page and then select a template (For example Template 1, Template 2 and so forth) I can't find the "Podcast Archive". Why can't I select this archive template? Thanks.

#23 James B

James B

    Advocate

  • Members

  • 5126 posts
  • LocationSurrey - UK
  • Country: Country Flag

Posted 17 January 2013 - 02:09 AM

Hi Ccowell, please start a new thread for your post :-)



#24 CliffordP

CliffordP

    Advocate

  • Members


  • 451 posts
  • LocationOklahoma
  • Country: Country Flag

Posted 22 April 2013 - 02:18 PM

@

Please Login or Register to see this Hidden Content

 

I read through this post and, yes, you were correct you guys were going in circles.

 

When you create a custom post type (manually, via WP-Types plugin, activating a PageLines Section, or however else), PageLines detects it and shows it in Drag and Drop, as you noticed.

 

To answer your question...

It depends how your registered (i.e. created) your custom post type. Check out

Please Login or Register to see this Hidden Content

 

 

You have to:

1) specify has_archive

2) your slug will be the has_archive value unless you use rewrite

3) in which case, the slug will be the rewrite value

 

Hopefully that clears it up for you and anyone else that finds this topic in the future.







Also tagged with one or more of these keywords: Resolved