Skip Navigation

[Resolved] URL field – How to make it work with Multiple Instances

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.

This topic contains 2 replies, has 2 voices.

Last updated by Ronald E 9 years, 1 month ago.

Assigned support staff: Luo Yang.

Author
Posts
#27262

I would like the admin interface for my client to be able to add more urls and have it show up automatically on the page in a bulletted list.

I have this statement
<UL><LI>[types field="therapy-links"][/types]</LI></UL>

and I get this (see below therapy links)

hidden link

its the url address just streamed out with no formatting.

I would like it to be
> URL
> URL (when user chooses to add more url fields

What part am I missing to do?

#27499

Luo Yang
Supporter

Languages: English (English ) Chinese (Simplified) (简体中文 )

Timezone: Asia/Hong_Kong (GMT+08:00)

Hi Ronald,

You can try view short code [wpv-for-each],
Iterate through multple items in a post meta field and output the enclosed text for each item:

    [wpv-for-each field="wpcf-therapy-links"]

  • [types field="therapy-links"][/types]
  • [/wpv-for-each]

#28848

Thank you