Skip Navigation

[Resolved] Custom non-types fields

The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.
This support ticket is created 6 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.
This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+01:00)

This topic contains 3 replies, has 2 voices.

Last updated by Nigel 6 years, 1 month ago.

Assisted by: Nigel.

Author
Posts
#624600

Hello, I would like to upload to every post the picture gallery with the help of the user-defined non-types fields.

This also works quite well so far, but I get no pictures but only the picture numbers displayed, for example:

[wpv-post-field name = 'images']

Edition on the website then:

1984, 1985, 1986, 1987, 1988

But I do not want to show the picture numbers but the pictures

#624860

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+01:00)

Hi Lisa

Firstly, please note that you are posting in the Community Forum for users of the free Types plugin. As a Toolset customer you can and should post in the Technical Support forum which we prioritise and where you should receive speedier service.

Those "picture numbers", what are they? They look like years, but are they the post IDs of images uploaded to the media gallery?

#624868

Hello thank you for your info and message
The numbers look like years but are the image ID of WordPress that are issued here

#624910

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+01:00)

The only way of outputting images from a comma-separated list of image post ids that doesn't involve writing custom code is to use the built-in WordPress gallery shortcode, which you can use like so:

[gallery ids='[wpv-post-field name="images"]']

There are a number of options you can use with the gallery shortcode, described here: https://codex.wordpress.org/Gallery_Shortcode

The forum ‘Types Community Support’ is closed to new topics and replies.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.