Firstly, I would like to sincerely apologize for the delayed response as we have been experiencing an unusually high number of tickets. I am sorry that it has taken longer than usual to respond to your concern and your patience is highly appreciated.
-
There are two ways how you can make hyperlinks in our tables.
-
1.
If you use our URL type columns ( this is the easiest way):
In the table, go to Customize/Custom CSS and paste that code:
Notice that the font color had to include the !important clause to override the color of the text in the button. After you add this, the button in the table will look like this:
2.
Or, if you wish to use a string type column ( This is more useful if you need multiple links in same cell):
If you use a one line string, it will be limited to 255 characters;
if you use multi line string - it will have 65,535 character limit.
And i just wanted to point out that you can try wpDataTables before purchasing
on our sandbox Demo sites ( you can find links for the main plugin Demo,
as well as add-on Demos, in my signature),
and there is a 15-day money-back guarantee period,
so if you purchase the plugin, you can safely fully test it out, and if it doesn't fit your needs you can request and receive a refund in that period. ( same goes for all plugins and add-ons)
Hi!
I am testing the plugin to create tables and I have one question.
I would like to create hyperlinks on the text that is added on the columns cells.
I would like to be able to click on some texts or some cells info, and be taken to a different URL.
Is this possible for me to test on the free version of the plugin? Is it possible on the paid version?
I also would like to attach a button to a cell. Can this be accomplished?
Thanks.
Hi, sergio
Firstly, I would like to sincerely apologize for the delayed response as we have been experiencing an unusually high number of tickets. I am sorry that it has taken longer than usual to respond to your concern and your patience is highly appreciated.
-
There are two ways how you can make hyperlinks in our tables.
-
1.
If you use our URL type columns ( this is the easiest way):
Please check our Documentation that explains how this works here.
You can also set the hyperlinks to look as buttons, with "Show link as a button" in column settings.
You can also add additional styles, if needed, here is an example.
First you need to add a custom class to it:
Then, visit this website, generate your button, and click on "Get Code":
In the right part of the screen, you'll see the code you need for this button:
Copy the code without the first row and change "myButton" to the custom class you added in step 1, so instead of this:
You would use this:
In the table, go to Customize/Custom CSS and paste that code:
Notice that the font color had to include the !important clause to override the color of the text in the button. After you add this, the button in the table will look like this:
2.
Or, if you wish to use a string type column ( This is more useful if you need multiple links in same cell):
If you use a one line string, it will be limited to 255 characters;
if you use multi line string - it will have 65,535 character limit.
Please check out this documentation about our text fields;
The cells will render HTML, so you can wrap links in anchor tags, for example,
this would render in cell as "Visit W3Schools.com!" as the displayed text, but it will lead to the link when clicked;
and the other regular text fields will simply be rendered as text;
-
You can also style it, if you add an ID, or a class in my example :
You can then add some custom CSS styles to the table, in Customise tab > Custom CSS;
On my example i will make it look like a green button:
and it would look like this :
-
And i just wanted to point out that you can try wpDataTables before purchasing
on our sandbox Demo sites ( you can find links for the main plugin Demo,
as well as add-on Demos, in my signature),
and there is a 15-day money-back guarantee period,
so if you purchase the plugin, you can safely fully test it out, and if it doesn't fit your needs you can request and receive a refund in that period. ( same goes for all plugins and add-ons)
Let me know if you have any additional questions.
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