Good Day All,
I hope you can please help me out, and point me in a direction. I have now been through google and ChatGPT but still running around headless.
I have my main CPT gd_place and linked it to CPT gd_game in the custom fields. Then in the gd_game I created a few categories (Parents [Wild game, small game], and then under each create some sub-categories, [Lion and elephant] and so on... I changed Categories in gd_game to a multiselect, as I want to select all the animals related to that listing.
I created my listing wdb_test gd_place. And then on the backend (wordpress) added a new game (wdb_test_game) with the selected categories and assigned it to gd_place via the linked post.
This is now where I am completely lost. If I am on the listing page (gd_place) how can I retrieve the categories that I have maintained for gd_game.
I have tried [gd_linked_posts link_type="from" post_type="gd_game"], but this shows gd_game as a 'type listing' on the gd_place listing page. I still cant get just the categories
[gd_post_meta key="gd_game" font_size="0"], this unfortunately also dont work.
All I want is to show the linked gd_game categories 'possibly' as text on the gd_place listing.
If you have any videos and documentation I could read that show how to link two CPT data is would be great.
Thanks in advance