Skip to main content
All CollectionsAdvanced Custom Fields & Assets
How to create & link category (taxonomies) assets
How to create & link category (taxonomies) assets
Julius avatar
Written by Julius
Updated over a week ago

Creating an asset that will be a category for another asset it’s very easy, you just create a new asset from scratch and select Archive in the Asset Type option. This will tell ExploreMyPC this is an archive type / a taxonomy / a category asset.

ACF-category-asset.png

I’ve created two new assets: “Developers” & “Genres” for our “Games” and populated them with a couple of developers and popular game genres.

developers.png

ACF-genres-asset.png

What remains now is to link our “Games” with the “Developers” and “Genres”. Edit the Games custom asset by pressing the gear icon near the name in the sidebar and use the Reference or Multi Reference fields to link your custom asset with your categories.

ACF-reference-link-one-on-one.png

ACF-referece-options.png

Reference – used to link single assets with category assets with a one on one relation. For example, link a single asset “Games” with a category asset “Developer”. The one-on-one relation means one “Game” has only one “Developer”.

ACF-reference-link-one-to-many.png

ACF-multi-referece-options.png

Multi Reference – used to link single assets with category assets with a one-to-many relation. For example, link a single asset “Games” with a category asset “Genres”. The one-to-many relation means one “Game” can have multiple “Genres”.

Don’t forget to Save & Finish once you are done with your changes.

Now that we’ve added the references for our Games, when you add a new Game you’ll be able to select the Developer and Genre for that game.

select-reference-in-single-post.png

select-multi-reference-in-single-post.png

This will help you structure your dynamic information and create dynamic ExploreMyPC pages for your Archive categories (in my case Developers & Genres). From this point, I could easily create a Developer page where I display (via the Archive element) all the games from a certain developer.

Did this answer your question?