Skip Navigation

[Resolved] When there is no URL present for the first result it doesn't set the link

This support ticket is created 3 years, 9 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 4 replies, has 3 voices.

Last updated by Shane 3 years, 6 months ago.

Assisted by: Shane.

Author
Posts
#1942293
Screenshot 2021-02-11 at 13.00.57.png

Hi

If the first result in the loop doesn't have a URL set for the field it doesn't set the link for any post in the results at all.

Work around is just to temporarily add a false URL to the first result, then hit save, then remove, then every time you edit the view you need to do this in order for it to set the link.

Are you aware of this bug?

#1942983

Shane
Supporter

Languages: English (English )

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

Hi Matthew,

In order to check to see if this is replicable can you provide the steps to replicate?

Is this a search view ? Is it after a search is performed and the first Post Link doesn't work ?

If you're unsure of how to replicate you can provide me with the login for the site so that I can take a look at the view. In this case I will need a link to the exact page in your screenshot.

Also if i'm unable to replicate on a clean install, then I will need a copy of your site for further debugging and submit to the 2nd tier supporters.

Thanks,
Shane

#1943357

Hi Shane,

I have managed to replicate this on other sites, I would rather not give you a login right now as we are working on changes to this view so it might upset it.

How to replicate:

1) You want to create a view that has multiple results. Using the block editor, in the result have an image block that has a hyperlink from a custom field for the result item.

2) The first result in the view should not have this custom field filled in, so there is going to be no link on that image for the first result but the rest have links.

3) Now because of this none of the results have this image linked when you look at the view on the front end.

Thanks.

#1951847

Nigel
Supporter

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

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

Hi Matt

Shane is on vacation this week.

I was able to reproduce the problem you described, and I've escalated it to the developers.

When there is some progress to share we'll be in touch to let you know.

#2064279

Shane
Supporter

Languages: English (English )

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

Hi Matthew,

Thank you for the continued patience.

This issue has now been resolved

So you should no longer be experiencing this once you're running the latest versions of our plugins.

Thanks,
Shane