Skip Navigation

[Resuelto] Using content layout with custom archive

Este hilo está resuelto. Aquí tiene una descripción del problema y la solución.

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 hace 7 años. 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.

Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.

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)

Este tema contiene 2 respuestas, tiene 2 mensajes.

Última actualización por Griffin hace 7 años.

Asistido por: Luo Yang.

Autor
Mensajes
#592973

Tell us what you are trying to do? duplicate enlace oculto
On enlace oculto

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.