I am trying to figure out how to build a hyperlink off a field value. What I would like to do is take the result of the field and when the user clicks it populate a different URL with that field in search.
Sorry to disappoint you but unfortunately something like this can not be achieved with the plugin built in features.
The workaround would be that you prepare the MySQL query that will make an URL column and the data in that column will be first part http://demowebsite.com/search?wdt_search= and the other part will be the based on what the users search.
Something like this will require some query writing which unfortunately is not included in the regular support of the plugin.
I am trying to figure out how to build a hyperlink off a field value. What I would like to do is take the result of the field and when the user clicks it populate a different URL with that field in search.
http://demowebsite.com/search?wdt_search=VALUEFROMWORDPRESSDATATABLES
So the first part of that is all 'hard coded' and the variable at the end is the result. It seems like it can do it but I keep messing up. help!
Hi kingharrison,
Thank you for your purchase.
Sorry to disappoint you but unfortunately something like this can not be achieved with the plugin built in features.
The workaround would be that you prepare the MySQL query that will make an URL column and the data in that column will be first part http://demowebsite.com/search?wdt_search= and the other part will be the based on what the users search.
Something like this will require some query writing which unfortunately is not included in the regular support of the plugin.
Best regards.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables