Jump to content


Photo
- - - - -
Resolved

Where is archive.php ?

custom post types

  • Please log in to reply
5 replies to this topic

#1 linkinp

linkinp

    Member

  • Members
  • 26 posts

Posted 14 September 2012 - 06:16 PM

I have a custom post type + custom taxonomy etc.

This documentation says that if I need to display custom taxonomy I need to have archive.php

Please Login or Register to see this Hidden Content



When I look into my folder structure generate by pagelines, I am unable to locate archive.php file.

What confuses me though is in the Pageline Dashboard, in Page-Options I do see Archive Page and am able to edit and save it. :blink:

Do I need to manually copy some template :ph34r: and rename it to archive.php for this to work ?

Please advice. :(

Attached Files



#2 Simon_P

Simon_P

    Messer

  • Administrators
  • 8388607 posts
  • LocationDevon
  • Framework Version:2.0
  • Country: Country Flag

Posted 14 September 2012 - 07:00 PM

If you add the custom post type, the archive and post page will automagically appear under the dragndrop area, you can add sections whatever to them it just works. You dont need any extra files.
  • linkinp likes this

#3 linkinp

linkinp

    Member

  • Members
  • 26 posts

Posted 14 September 2012 - 10:38 PM

Thankyou for your response. Helped me understand ,but created some more doubts :rolleyes:

#4 Simon_P

Simon_P

    Messer

  • Administrators
  • 8388607 posts
  • LocationDevon
  • Framework Version:2.0
  • Country: Country Flag

Posted 14 September 2012 - 10:43 PM

What exactly do you want to do with each category?

#5 linkinp

linkinp

    Member

  • Members
  • 26 posts

Posted 14 September 2012 - 10:46 PM

please mark this question as answered.
I will open another thread for other doubts.

#6 Simon_P

Simon_P

    Messer

  • Administrators
  • 8388607 posts
  • LocationDevon
  • Framework Version:2.0
  • Country: Country Flag

Posted 14 September 2012 - 10:46 PM

The topic was marked as resolved.