Skip Navigation

[Resolved] passing search result to page title

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

Problem:

The issue here is that the user wanted to get the searched value thats in the URL.

Solution:
You can use the shortcode in the link below to achieve this.

[wpv-search-term param='sector']

https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-search-term

This support ticket is created 6 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 – 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 1 reply, has 2 voices.

Last updated by Shane 6 years, 11 months ago.

Assisted by: Shane.

Author
Posts
#603518

Tell us what you are trying to do?
I have already a pre-search url. So i have an image with several links. For example, one of the links is:
hidden link

So you can see that it's like checking the checkbox called "utilities-e-ambiente" in the search page. I want that the page title displays "Search results for: utilities-e-ambiente". Or it can be below the page title. Is this possible?

Is there any documentation that you are following?
no

Is there a similar example that we can see?
will provide the url as hidden if you wish to see the example

What is the link to your site?
see answer above

thanks

#603530

Shane
Supporter

Languages: English (English )

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

Hi Tiago,

Thank you for contacting our support forum.

You can use the shortcode in the link below to achieve this.

[wpv-search-term param='sector']

https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-search-term

Please let me know if this helps.
Thanks,
Shane