Help on Taxonomies and Relations – How to create global tags to affect multiple CPTs?

[ad_1]

Greetings everyone,

I am having some issues understanding how to properly insert a sort of global pool of tags that can affect multiple custom post types.

To give a better background on my project. I am building a site where users can post ads, courses, portfolio projects, articles, and videos. These are my CPTs or custom post types.

In addition, each CPT has its own set of Categories and sub-categories.

Ex: Portfolio projects have a category of programming, and a sub-category child: Software development.

This part is easy and clear as what I am doing creating a new CPT, adding taxonomies, and creating a relationship this way:

* User (parent) –> CPT Portfolio project(child)
* CPT Portfolio project (parent) –> Category: Programming (child)
* Category: Programming (parent) –> Sub-category: Software development (child)

Now my issue comes that I wish to have a set of tags such as Interest, tools, and keywords to be used for all Posts and linked with the users. This way the posts can be queried by the selection the user did on the onboarding.

Ex: Interest can be: Programing, Microsoft, etc.. While another set a user can add is their coding knowledge: HTML, Java, etc.

Based on Interests and known coding that the user selects on their profile page or during registration onboarding, there will be a page called “explore” which displays ALL CPTS but queried by those selections.

So in a way My idea is to create a set of tags I call Global tags, where:

Users (parent) –> Global tag: Interest (child)

CPTs: Portfolio project (parent) –> Global Tag: Interest (child)

I made this sort of map to represent what I am trying to obtain for relations.

​

My question now is the following, In WordPress, where should I create these Global tags? Should I create at individual CPT that contains these tags? or do I have to duplicate all those tags on every single CPT? wouldn’t that create a duplicate?

​

​

My idea was to use the taxonomies within the basic “posts” and add tags, interests, and tools and then create a relation between those and the CPTs

But idk if that would make sense or even if it will work. I am using Jet engine which allows me to create all sort of CPTs, Taxonomies, Custom fields, and create relations.

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer