As previously announced via banners and our newsletters, support is no longer available through this platform.
For easier navigation, you can still click on "Submit a Ticket" here, choose the appropriate category, and you'll be redirected to the correct support channel for your plugin.
You can still access your previous tickets and browse public tickets, but please note that responding to tickets is no longer possible.
Paid customers: Please log in to your store account for support.
Pre-purchase questions: Use the support widget in the bottom-right corner of our websites:
https://wpamelia.com
https://wpdatatables.com
https://wpreportbuilder.com
Hi,
I am using a JSON table. The data I'm fetching has URL in one column and the Title in another column. How can I add the URL to the title under an <a href> tag? I have tried to Transform Value and added both column with &"||"& but it also displays the URL column.
I basically want something like this: <a href="{data from url column}">{data from Title column}</a> displayed in one column.
Thanks
Hi Faraz,
This is a common use case for our Transform Value Feature, but there are some important details to look for.
It seems you might be using one of these columns as an URL link data type?
If so, please change it to String in order to be used properly for Transform feature.
- For example, if you use data source such as the Spreadsheets sush as Excel/CSV/Google Sheets and others, have a specific way how they create and render hyperlinks.
Our Plugin can only render HTML hyperlinks.
One way you can work around this is to try our Transform Value feature to make custom links.
You could separate the data for the hyperlink into two columns on your Sheet; or in this case, JSON;
- One column for the 'URL link itself'
- And another column to store the 'displayed text' for the hyperlink.
Then, with our Transform value feature - you can use a String Column in our Table and create a dynamic custom HTML a href tag and inside it you can call these column placeholders.
( Optionally you can of course add 'target blank attribute' to open the link in new tab)
For example, let's say we called the URL column just "URL" and the other Column "displayed text".
Then, the Transform Value would be something like this :
Then the String Column in which you used this is going to render each row to pull the values from the respective column placeholders.
You can check out the Documentation Page i sent above to see more detailed examples how you can use the Transform Value feature.
As mentioned, just make sure that each column used in the process is set as String type.
I hope that helps.
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
Thanks. This has solved it for me.