CPT Relationships and Loopers/Dynamic Content

I’ve got a custom post type called Supplements which uses an ACF relationship filed that is linked to WP Users. For testing purposes, there is also a simple text field.

The Supplement CPT has some descriptive data, and a link.

When I try to dynamically display this data on a page called My Account the simple text field comes in and is populated as I expect, but the relationship field (supplement) does not display using {{dc:acf:user_field field=“supplement”}}

I can get it to display the post_id but it comes up blank for post_object

I’ve tried everything I know to get this to display but nothing seems to solve the dilema.

Hey @dabigcheeze,

Thanks for reaching out!

Would you mind sharing your admin credentials so that we can check your setup properly? To do that, please give us the following information in a Secure Note.

  • WordPress Login URL
  • Admin level username and password
  • Page URL or Layout Builder name

You can find the Secure Note button at the bottom of your posts.

Thank you.

Hey @dabigcheeze,

Thanks for writing in! We cannot access your site because we are only seeing this:

  • See the secure note below.

The {{dc:acf:user_field field="supplement"}} dynamic content will display the post ID. What you can do is have a Looper Provider Query String and use this query: post_type= supplements&p={{dc:acf:user_field field="supplement"}}. You can then display the Supplements description and link.

Hope this helps. Kindly let us know how it goes.

I set this up as directed, but it still does not return the results I am expecting. Sorry for the lack of access. The site blocks all non North American traffic. It has now been turned off. Can you check once more please?