Reply To: Apply Sections to Custom Post Types?

Home Forums Support Apply Sections to Custom Post Types? Reply To: Apply Sections to Custom Post Types?

Home Forums Support Apply Sections to Custom Post Types? Reply To: Apply Sections to Custom Post Types?

#157074
Daniel Walker

Hi Tom, I didn’t notice a side effect of adding Sections to custom post types until today: it stops custom post archive pages from displaying all pages of that custom post type. Only the newest page using Sections is displayed when you navigate to siteURL/category/customposttype/

If all my pages for a custom post type don’t use Sections then the archive (archive-customposttypename.php) displays correctly and shows the headings and excerpts for all of those posts.

Is there something I can add to my archive-customposttype.php template to get it to ignore the Section content and display as an ‘archive’?

Kind regards,
Dan