Skip Navigation

[Resolved] Would like search results to link directly to the internal page

This support ticket is created 5 years, 3 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 2 voices.

Last updated by joshN 5 years, 2 months ago.

Assisted by: Shane.

Author
Posts
#1374683

I am trying to have the search results link directly to the partner page rather than display an unordered list with the partner name. For example, if searching 85234 / attorney - I would like the search result to direct me straight to Paulsen & Reissner page.

Link to a page where the issue can be seen:
hidden link

hidden link

#1374739

Shane
Supporter

Languages: English (English )

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

Hi Josh,

THank you for getting in touch.

If I understand correctly you don't want to click to go the partners page but you want to just go to it directly after the search is performed?

Please let me know for clarity.

Thanks,
Shane

#1374793

Yes that is correct, we just want after the zipcode and category search to take them to the one company assigned to both's page.

#1375455

Shane
Supporter

Languages: English (English )

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

Hi Josh,

Unfortunately that isn't possible with views.

It would take some custom coding to achieve this. This is because our views plugin performs a search algorithm to find the post.

What you can do as a workaround is to customize the content template of the view so that it displays all the content of the post without you having to go directly to the post itself.

So instead of giving a list of posts, you will get you post with all its content being displayed. This is under the assumption that your search will always return 1 result.

Thanks,
Shane

#1380243

Sorry for not replying sooner Shane. Yes your solution would work since it will always only display one return per search.. How would we accomplish this?