Saltar navegación

[Resuelto] Taxonomy or separate custom fields

This support ticket is created 4 years, 8 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.

Este tema contiene 2 respuestas, tiene 2 mensajes.

Última actualización por Charles 4 years, 8 months ago.

Autor
Mensajes
#2184033

Tell us what you are trying to do?
Hello, I need some advice on how to set up my toolset website. I have around 30 categories / occupations (such as plumber, home inspector, landscaper, real estate agent...) Eventually there will be thousands of different companies listed. So should I make each occupation a separate custom field, or make one field (such as find a pro) with all the occupations a separate taxonomy?

Is there any documentation that you are following?
No
Is there a similar example that we can see?
No

What is the link to your site?
enlace oculto

#2184399

Nigel
Colaborador

Idiomas: Inglés (English ) Español (Español )

Zona horaria: Europe/London (GMT+01:00)

You should likely make a custom taxonomy for occupation, where plumber, home inspector etc. are terms of this taxonomy.

Then when you create posts (I'm guessing you'll have a custom post type for the company listings) you assign the relevant occupation term to the post.

You could have a custom field for this, but in WordPress taxonomies are much more effecient than custom fields if you later want to use them to filter posts (if you add a search page for the listings that includes an occupation filter, for example).

#2185019

My issue is resolved now. Thank you Nigel!