Skip Navigation

[Resolved] Using content layout with custom archive

This thread is resolved. Here is a description of the problem and solution.

Problem:
They have no archives on the entire site, so I am wondering if I can use layouts (not using on the site yet), or if I just have to suck it up and write a archive-post-type.php file?

Solution:
It depends on your theme files, both ways should be able work, you can setup the wordpress archive page from scratch using Layouts, or you can also setup the archive-post-type.php file.
To integrate theme file with Layouts plugin, please check our document:
https://toolset.com/documentation/user-guides/develop-layouts-based-themes/
section "PHP integration for Layouts"
Relevant Documentation:
https://toolset.com/documentation/user-guides/develop-layouts-based-themes/

This support ticket is created 6 years, 4 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 2 replies, has 2 voices.

Last updated by Griffin 6 years, 4 months ago.

Assisted by: Luo Yang.

Author
Posts
#592973

Tell us what you are trying to do? duplicate hidden link
On hidden link

This is a site I didn't build and is not built using toolkit (except the new stuff I'm using.)

They have no archives on the entire site, so I am wondering if I can use layouts (not using on the site yet), or if I just have to suck it up and write a archive-post-type.php file?

The biggest issue is this is both an parent organization and an alumni site built on one wordpress platform. The original company built everything by hand and there are different templates for the alumni site vs the parent site (mainly menus and headers etc.).

I will have to do this several times for different post types, so I'm just wondering what the easiest way to go forward is. Maintenance is also a concern. It's much easier to maintain layouts than custom code.

Thanks

#593272

Dear Griffin,

It depends on your theme files, both ways should be able work, you can setup the wordpress archive page from scratch using Layouts, or you can also setup the archive-post-type.php file.
To integrate theme file with Layouts plugin, please check our document:
https://toolset.com/documentation/user-guides/develop-layouts-based-themes/
section "PHP integration for Layouts"

#593625

Okay, that's what I thought. I can't use layouts since the rest of the site is not and I can't modify the other parts.

I'll just modify the archive.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.