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

#1 jcritty

jcritty

    Advanced Member

  • Members

  • 83 posts
  • Country: Country Flag

Posted 21 August 2012 - 10:55 PM

I've created a few custom post types, and I can see their Archive Page templates in the drag and drop section. How do I actually view these archive pages?

#2 Danny

Danny

    Is Awesome!

  • Moderators
  • 16997 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 22 August 2012 - 07:43 AM

Hi, I am not quite sure what you mean by view the archive page(s), can you explain further please.

#3 jcritty

jcritty

    Advanced Member

  • Members

  • 83 posts
  • Country: Country Flag

Posted 30 August 2012 - 06:34 PM

Hey Danny. Similar to the "blog" page that would show a feed of all of the "blog" post type items, only for one of the custom post types. Let's say I've made a post type called "Movies". When I navigate in the admin panel to Pagelines > Drag & Drop, I'll now have templates to edit labled "Movies" and "Movies Archive". I can add sections to the "Movies Archive" template, but how do I actually view the "Movies Archive" page on my site?

#4 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 30 August 2012 - 11:50 PM

In PlatformPro archives are a special page and don't really have a template. However, if you upgrade to PageLines Framework, that does have a standard template for Archives, Search, and other things you can change as you wish. If you write an email to hello@pagelines.com, they'll help you with an upgrade.

#5 jcritty

jcritty

    Advanced Member

  • Members

  • 83 posts
  • Country: Country Flag

Posted 06 September 2012 - 05:11 PM

Ah! I've categorized this thread wrong, my apologies. I'm on the Framework, developer edition.

#6 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

Posted 06 September 2012 - 05:50 PM

No worries. I added this to the right topic. If you want to view the sections added to "Movies Archive" template, you'll need to view a page that uses that template. For a page to use that template, you'll need to set it in the "Template" dropdown in the page editor for a page.

#7 jcritty

jcritty

    Advanced Member

  • Members

  • 83 posts
  • Country: Country Flag

Posted 07 September 2012 - 06:47 PM

It doesn't appear in the dropdown for the templates in the edit page.

#8 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 08 September 2012 - 05:06 PM

When creating the custom template, did you follow the instructions here?

Please Login or Register to see this Hidden Content



#9 jcritty

jcritty

    Advanced Member

  • Members

  • 83 posts
  • Country: Country Flag

Posted 12 September 2012 - 03:14 PM

It seems a few posts on this have vanished... forgive me for re-posting.

Rob, I don't believe a new template needs to be created because it is already showing up as a template in the drag and drop options.

See here:
Posted Image

The "News" template is for the custom post type of the same name. It's used on any of those posts. The "News Archive" suggests there is a template useable in the same way "Blog" would be for the blog post type. Am I correct?

At the end of the day, I'd just like a page that lists the posts from a Custom Post Type.

#10 jcritty

jcritty

    Advanced Member

  • Members

  • 83 posts
  • Country: Country Flag

Posted 12 September 2012 - 03:15 PM

PS: Love the new forum. Way better.

#11 Danny

Danny

    Is Awesome!

  • Moderators
  • 16997 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 13 September 2012 - 10:13 AM

Hi,

The News Archive as far as I know should indeed list the posts created for that CPT. Is this not happening?

#12 jcritty

jcritty

    Advanced Member

  • Members

  • 83 posts
  • Country: Country Flag

Posted 13 September 2012 - 10:09 PM

I'm not sure how I would even navigate to the page to find out.

On that site I had to build one using a plugin

#13 jcritty

jcritty

    Advanced Member

  • Members

  • 83 posts
  • Country: Country Flag

Posted 18 September 2012 - 11:31 PM

bump.

#14 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 19 September 2012 - 12:08 AM

I don't think I've ever seen a News template that's part of our system. Was this a section/plugin you purchased from our store?

#15 jcritty

jcritty

    Advanced Member

  • Members

  • 83 posts
  • Country: Country Flag

Posted 28 September 2012 - 04:30 PM

Rob, the image above shows that pagelines has a template for the page. Please check my post above. Third template in on the bottom row.

For any custom post type I have made, Pagelines offers a template for the archive of that post type.

#16 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 28 September 2012 - 09:43 PM

Apologies for my confusion. Our moderators are not developers, so we sometimes get a bit lost with the complexities.

As I understand it, archive pages, even custom ones, are "special pages" which can't be edited or created as static pages. Thus the custom template you create for those archives should simply be applied dynamically to archives of posts in that custom post type. How that happens is, for me at least, a total mystery.

Which template did you use to model your archive page? How do you view the archive?

#17 jcritty

jcritty

    Advanced Member

  • Members

  • 83 posts
  • Country: Country Flag

Posted 29 September 2012 - 03:53 AM

Rob, we're starting to go in circles here.

I'm trying to figure out the following:

After creating a custom post type, the "Template" for an archive page for that post type becomes editable in Pagelines.

I would now like to view that Archive page which should have the template that Pagelines seems to be creating.

Is this a question you need to mark for a developer?

#18 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 29 September 2012 - 09:37 PM

According to the developers, as I understood it, any Archives page is deemed a "special" page and is viewed only by looking at the content it's supposed to carry. So, an archive page would be for old posts. Honestly, and with total apologies, this is out of my depth so yes, I am referring this again to a developer.
  • jcritty likes this

#19 jcritty

jcritty

    Advanced Member

  • Members

  • 83 posts
  • Country: Country Flag

Posted 10 October 2012 - 11:18 PM

bump

#20 jcritty

jcritty

    Advanced Member

  • Members

  • 83 posts
  • Country: Country Flag

Posted 11 October 2012 - 06:04 PM

You can mark this resolved.





Also tagged with one or more of these keywords: Resolved