Association Field Question
-
Hello!
I need to display the last 5 posts of a chosen category on a page template.
Looking into the documentation, I can use an association field to display a list of all the site’s categories on the page edit screen so the posters can choose one. How can I display the chosen category ID on my template so I can insert it into a post loop?I’ve used “carbon_get_post_meta(get_the_ID(), ‘my_association_field’);” but it only displays the word “Array” on the template, no IDs or category names.
Thanks
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Association Field Question’ is closed to new replies.