Skip Navigation

[Resolved] Adding a dynamic link to a dynamic heading

This support ticket is created 3 years, 11 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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Karachi (GMT+05:00)

This topic contains 2 replies, has 2 voices.

Last updated by matthiasK-3 3 years, 11 months ago.

Assisted by: Waqar.

Author
Posts
#1913729
screenshot.jpg

I created a View for a custom post type listing. In the View Loop I included two headings and an image, each with dynamic content. For the image I can set the link to the post URL. However I can not see the Link Setting section for the headings neither for the View Loop container but the section Link Typography.
How is it possible to set the link to the respective post for the headings or, even better, to the whole View Loop container?

#1914037
container-as-link.png

Hi,

Welcome to Toolset Support and I'd be happy to assist.

To make the entire loop item clickable, you can first include a "Container" block in the "View Loop" block and then use the "Container as Link" option.
( screenshot: container-as-link.png )

After that, you can place any other blocks that should be shown in the view's loop item, within this container block, and they'll be clickable as a whole.

To make the "Heading" block clickable to the post URL, you'll need to select "Post Title with a link" as a source.

regards,
Waqar

#1914259

My issue is resolved now. Thank you!