Saltar navegación

[Resuelto] Make posts in loop clickable

This support ticket is created 2 years, 10 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 -

Zona horaria del colaborador: Asia/Kolkata (GMT+05:30)

Este tema contiene 3 respuestas, tiene 2 mensajes.

Última actualización por Minesh 2 years, 10 months ago.

Asistido por: Minesh.

Autor
Mensajes
#2632147

Tell us what you are trying to do?
I want to make every block in the loop clickable to posts URL but can't seem to find any option for this in the settings. It seems possible to make the header a "post title with link" but I need each singular post in the grid to be clickable not only it's title.

I have tried both
https://toolset.com/forums/topic/make-text-fields-click-able-to-post-url/
https://toolset.com/forums/topic/want-to-make-the-view-loop-output-clickable/

with no luck.

What is the link to your site?
enlace oculto

Any suggestions? Thanks so much!

#2632343

Minesh
Colaborador

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

If you make a whole grid clickable then there is no meaning of post title with link, what you should do is add a container block and add all content you display inside the grid item to the container block and then make the whole container clickable.

Please check the following doc for reference:
- https://toolset.com/course-lesson/container-blocks/#turn-a-whole-container-into-a-link

#2632771
Screenshot 2023-08-10 at 23.48.43 copy 2.jpg

Hi! Yes this makes the whole grid one link. What I need is each block, each post, to be clickable - and not only it's title, to posts url.

#2632841

Minesh
Colaborador

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

What you need to do is add the container block within your view's loop section and add all those fields you are displaying within the loop to the container you added.

Please check the following screenshot that might help you:
- enlace oculto

Please let me know if you require further assistance.