Skip Navigation

[Resolved] Create clickable image in a View created with Beaver Builder

This thread is resolved. Here is a description of the problem and solution.

Problem:

The issue here is that the user is displaying their images but want the image to be clickable and navigate to their respective CPT.

Solution:

To do this you will need to wrap the image in an anchor tag that links to the post.

Example


<a href='[wpv-post-url]'>Shortcode for image goes here </a>

100% of people find this useful.

This support ticket is created 5 years, 2 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 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by adamR-11 5 years, 2 months ago.

Assisted by: Shane.

Author
Posts
#1354037

Tell us what you are trying to do?

I am creating a View in a Custom Post archive.

The archive can be found here: hidden link

It is an archive of music releases.

There is a featured image for each release.

I created the View inside the archive using Beaver Builder.

In the View, I added a Text Editor module with Beaver Builder.

Then, I connected the featured image of the post to the module using the Toolset "Fields and Views" option that appears in the Beaver Builder editor.

This option allows me to connect the post featured image.

But I cannot find a way to make the image clickable. I want people to click on it and go to the post it is connected to.

Is there any documentation that you are following?

No.

Is there a similar example that we can see?

hidden link

What is the link to your site?

hidden link

#1354123

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Adam,

Thank you for getting in touch.

To make an image clickable that is stored in a custom field you will need to manually construct the link for that image.
Example


<a href='[wpv-post-url]'>Shortcode for image goes here </a>

Once you have done this the user should be able to click on the featured image to go to the respective post.

Thanks,
Shane

#1354619

My issue is resolved now. Thank you!