Skip Navigation

[Resolved] Post specific Taxonomy Fields

This support ticket is created 6 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.

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
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 3 replies, has 2 voices.

Last updated by Nigel 6 years, 8 months ago.

Assisted by: Nigel.

Author
Posts
#619847

I am trying to set up a Taxonomy field which is post specific.
Right now all taxonomy fields only pertain to the global taxonomy.

For example:

You have skills as a taxonomy of users.
But each user's skill can have a level which I would express as a dropdown 1 - Beginner, 2 - Intermediate, 3 - Expert.

Problem is that each user has a level for that taxonomy, it's not the taxonomy that has the level.

I'd like them to be taxonomies and not sub posts, as they need to form relationships and be filterable.

They need to be open, allowing users to add new terms to the taxonomy all the time (IE new skills).

How can this be achieved in Types?

#619934

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Adrian

Again, I am a bit puzzled by this one.

Taxonomies pertain to posts, not users, you cannot create a taxonomy for users.

What you are describing sounds a little like repeating field groups, where users could add a new skill group, which comprised a name field, possibly a description field, and an ability field.

These are a new feature in the Types beta, but are only available to posts, not users.

With users you are limited to the usual array of custom fields (text fields, select dropdowns etc.).

If your users were "posts" (i.e. you created a profile post for each user that they were author of) you would have more options. Is that viable for this project? (I don't have a solution for you, but if that is an option I'll think about how you could take advantage of that.)

#620760

Ok, so the user has a custom post type called profile and the profile would have that taxonomy. (sorry for not being clear on that)

I did think of repeating field groups, but here's my other issue. They really do need to behave like taxonomies.

Since multiple profiles would be speaking english, the same english. And I'd like to group/filter all english speaking profiles together.

At the same time I would prefer not to have to add every possible language and skill myself and allow users to do that for themselves.

I am wondering if there is any way to extend a taxonomy with information that is pertinent to the post rather than the taxonomy.

Also, what would be the release date for the new version of WP-Types?
And would CRED and views support the repeating field groups?

Adrian

#620879

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Adrian

Thanks for clarifying.

The only way I see this working how you describe is if your taxonomy is hierarchical and you add the level abilities as sub-terms of each skill.

So your skill taxonomies will look something like:

- English - 1
          - 2
          - 3
- PHP - 1
      - 2
      - 3
- JavaScript - 1
             - 2
             - 3

Then every user can select a skill and can set a level for that skill.

Obviously if your users are going to be able to add skills you don't want them to have to add the abilities, you will have to automate that whenever a new skill is created.

It is going to require quite a bit of customisation, but I don't see another way to do what you describe.

I think by the time everything goes through development and usability and QA testing etc. it will be April when the final versions of Types and other plugins are released that include Repeating Field Groups, which will be supported in CRED and Views, yes.