This support ticket is created Il y a 2 années et 9 mois. 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.
Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.
I have a cpt called 'documents' with two taxonomies, 'letters' and 'reports'. I will only be displaying them through Views according to their taxonomy; one for 'letters' and one for 'reports'. It would never be useful to display both the letters and reports in the same archive. But, I'm wondering if I should create a WordPress archive for 'documents' anyway, just so I have the proper WP structure. I'm assuming I can't create a WP archive for a taxonomy.
Les langues: Anglais (English )Espagnol (Español )
Fuseau horaire: Europe/London (GMT+00:00)
Hi Mark
Without customising anything with Toolset, by default you will have a post archive for your documents CPT, where all document posts are listed, at a URL of site.com/documents/.
You will also have taxonomy archives for both letters and reports. The name "taxonomy archive" can be confusing, because it lists posts, posts that have the term of the taxonomy in the url assigned to them.
I don't know what the terms of letters or reports are, let's say "alpha", "beta", and "gamma", and "one", "two", and "three" respectively.
So at the url site.com/letters/alpha/ it will list all posts that have the term alpha of the taxonomy letters assigned to them.
At the url site.com/reports/two/ it will list all posts with the term two of the taxonomy reports assigned to them.
(I'm using documents, letters, and reports, but maybe the slugs are actually document, letter, and report.)
So, unless your settings for the post type and taxonomies disable archives, then those archives exist already (and will be output according to your theme template files).
With Toolset you can then customise them (at Toolset > WordPress Archives), both the appearance, but you could also add filters or change the order to order by post title rather than date, for example.