Skip Navigation

[Resolved] Populate custom taxonomy with posts from a custom post type

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

Problem:

The issue here is that the user wanted to to autocreate taxonomies with the same name as the created posts.

Solution:

Unfortunately this is not possible and would require custom code to achieve which is out of the scope of our support forum.

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

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

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 6 replies, has 2 voices.

Last updated by Ben 6 years, 1 month ago.

Assisted by: Shane.

Author
Posts
#1112336

Ben

Is there any way I can populate a custom taxonomy with posts of a custom post type? So the each custom post type becomes a category.

#1112399

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Ben,

Thank you for contacting our support forum.

Is it that you want each post that is created to get assigned to a category by default ? I'm not exactly sure what you want to achieve.

Or is it that you want to make each custom post that was created to be a taxonomy ?

Please let me know.

Thanks,
Shane

#1112400

Ben

Hello Shane,

I would like to make each custom post that I create to be a taxonomy also.

Kind Regards,

Ben

#1112407

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Ben,

The custom post section to taxonomy wouldn't be possible.

Because the custom posts and taxonomies are stored as 2 separate entities in wordpress.

Thanks,
Shane

#1113871

Ben

Thank you for the reply Shane.

Is there any way to assign each taxonomy something like a title page.

For example if I had a custom taxonomy of Fruit and individual child taxonomies of Apple, Pear, Banana. Could I assign (or link in any way) these 3 taxonomies with CPTs called Apple, Pear and Banana?

I hope the above makes sense.

Thank you again!

#1114423

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Ben,

Yes you can actually do this but it will need to be a manual connection.

So when you create the Pear CPT you will manually link it to the Pear Taxonomy.

Thanks,
Shane

#1114426

Ben

Thank you Shane!