Skip Navigation

[Closed] Output a list of multiple values from a custom field | #608

This support ticket is created 2 years, 4 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 1 reply, has 2 voices.

Last updated by Minesh 2 years, 4 months ago.

Assisted by: Minesh.

Author
Posts
#2414961

As mentionned in https://toolset.com/forums/topic/how-to-display-just-the-file-name-for-a-repeater-field-block-from-a-file-field/
I tried to build a list of values for repeating custom field "wpcf-cibles-beneficiaires-du-projet":

<ol>[wpv-for-each field="wpcf-cibles-beneficiaires-du-projet"]
<li>[wpv-post-field name="wpcf-cibles-beneficiaires-du-projet"]</li>
[/wpv-for-each]</ol>

But this returns

[wpv-post-field index="0" name="wpcf-cibles-beneficiaires-du-projet"]
[wpv-post-field index="1" name="wpcf-cibles-beneficiaires-du-projet"]
[wpv-post-field index="2" name="wpcf-cibles-beneficiaires-du-projet"]
[wpv-post-field index="3" name="wpcf-cibles-beneficiaires-du-projet"]
[wpv-post-field index="4" name="wpcf-cibles-beneficiaires-du-projet"]

instead of the actual values.

#2415313

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

The shorcode does shows the correct index but it seems somehow the shortcode is not get rendered.

This could be due to the fact that you are adding the shorcode somewhere in any third-party page builder template?

Can you please share problem URL where you added the above shortcode as well as admin access details.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

The topic ‘[Closed] Output a list of multiple values from a custom field | #608’ is closed to new replies.