Skip Navigation

[Resolved] Displaying Custom Fields alongside Repeater Fields

This support ticket is created 3 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

Author
Posts
#1927007

Tell us what you are trying to do?

I am trying to show a Custom Field alongside a Repeater Field, but for some reason the Repeater Field will show up, but the Custom Field does not.

Is there a similar example that we can see?

hidden link

What is the link to your site?

hidden link

hidden link

#1927037

1:47 - I selected "Software" as well as "Software Deal Tier" because this field is in the Software CPT and then this field here is in the Software Deal Tiers RFG.
You should only select the Software Deal Tiers RFG here, not the Software post type. In the Post Relationship Query Filter, select the Software Deal Tiers relationship, as related to the post where the View is displayed. In the loop of the View, you can access custom fields from the parent Software post type using the Types field shortcode with the item attribute pointing to the current Software post like so:

[types field="unit-of-time-base-duration" item="$current_page"][/types]

This switches the context from the loop of the RFG to find the custom field in the parent Software post. That should help you display the "yearly" text here. Let me know if I've misunderstood what you want to accomplish, or if this isn't working as expected.