How to create & link category (taxonomies) assets

How to create & link category (taxonomies) assets

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.
    • Related Articles

    • The custom fields your can use in your assets

      Use custom fields to add new dynamic content to your ExploreMyPC website. You can edit your current assets and add/remove fields, or you can create new assets. The ExploreMyPC CMS custom fields are as follows: Text – a regular input field, that is ...
    • How to create a new asset (custom post type)

      Opening the advanced custom field builder is very easy and intuitive, all you have to do is open the ExploreMyPC CSM in the sidebar and go to Create Custom Assets once inside your project. In ExploreMyPC, the Pages, Categories, Blogs, Popups, etc you ...
    • How to create page templates that apply across your website

      The way you usually work with templates in most CMS’s is you add the content somewhere (in the post) and set the templates somewhere else (a template section usually). This is most of the time hard to understand & manage. It’s also hard to explain ...
    • How to edit your current asset/post type

      At any point, you can go back to edit your custom asset by clicking on the gear icon near the asset name in the sidebar. That will bring in the ExploreMyPC custom fields builder where you can either add new fields or edit/change the current ones you ...
    • What is Advanced Custom Fields (ACF) in ExploreMyPC?

      The Advanced Custom Fields (ACF) functionality allows you to add or edit content fields of your ExploreMyPC assets (posts or post types) or even create new assets (custom post types) altogether. The custom content fields let you extend the ...