I have a Post Object within a Repeater field and would like to display a different value instead of the Posts Title attribute. Preferably a custom field from that same post object.
Here is the layout.
– Post Object : Title is displayed in Repeater field by default.
— Custom Field I want displayed in the Repeater field.
I don’t mind getting a little messy with code if required.
Edit: This is for a University. They have lots of courses that have very similar names. By displaying the courses by a unique course ID (value is set in course post) then it is much easier to reference them correctly.
Ex. Nursing Fundamentals is NUR-101. The post object returns “Nursing Fundamentals but I want to show the “NUR-101” value instead.
Viewing 1 post (of 1 total)
The topic ‘Display custom value from Post Object in Repeater field.’ is closed to new replies.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users