When a user searches from the homepage I'd like their search terms to be displayed above the results on the search results page. I tried using [wpv-search-term] with the url paramters but it's not working:
hidden link
These are the url parameters:
wpv-wpcf-number-of-bedrooms
wpv-wpcf-town
wpcf-number-of-guests
Also, I have custom fields for a properties' "amenities" and on my homepage I want to link to the search results page with that amenity selected. For example - "Internet", "Fireplace", "Pet Friendly". Or is it possible to auto-generate pages for these amenities with the results displayed?
Thanks,
tim
Hi Tim,
Thank you for getting in touch.
Given that you're using the [wpv-search-term] then the values should show up.
Would you mind allowing me to have admin access to the site so that I can have a deeper look at this one for you ?
Thanks,
Shane
Hi Timothy,
The problem was that you were using the shortcode with the incorrect parameter name.
You were using "url_paramter" for the shortcode attribute to provide the URL parameter name but it should've been "param".
I've went ahead and made this change and your shortcode should now be producing a result.
Thanks,
Shane
My issue is resolved now. Thank you!