Skip Navigation

[Resolved] Crear un Porfolio

This support ticket is created 4 years, 6 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
- 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+00:00)

This topic contains 1 reply, has 2 voices.

Last updated by Nigel 4 years, 6 months ago.

Assisted by: Nigel.

Author
Posts
#1336911

Hola Nigel, he creado un portfolio, en la pagina del "Archive" quiero que se muestre una imagen y y un titulo, el problema es que dicha imagen esta creada por un Custom Fields, y tiene la opción de multiples imagenes.
Entonces cuando quiero que se muestre la primera imagen mes salen todas las sucesivas, ¿como podria mostrar una sola imagen ?
El codigo és:

[wpv-post-link]
[types field='imatge-de-la-feina' title='%%TITLE%%' alt='%%ALT%%' size='medium' resize='proportional' separator=', '][/types]

La URl és: hidden link
Saludos
Rafa corts

#1337383

Nigel
Supporter

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

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

Screenshot 2019-09-11 at 08.46.02.png

Hola Rafa

Solo tienes que añadir el atributo index al shortcode de types, p.j.

[types field='imatge-de-la-feina' index='0' title='%%TITLE%%' alt='%%ALT%%' size='medium' resize='proportional' separator=', '][/types]

(Empieza con cero.)

Tienes este opción cuando insertas el campo con el botón de Fields and Views (pantallazo).

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