Thread Starter
dranet
(@dranet)
Hi,
thanks for your post, and sorry for the trouble.
Something like this is possible with some extra JavaScript code. For more details and an example, please see https://wordpress.org/support/topic/make-row-clickable?replies=30
Regards,
Tobias
and how about If I have the shortcode in a widget?
where I must add the javascript code?
my test website is http://www.infoliga.schleider.com.ar
Hi,
in that case, you could also just paste the JS below the table Shortcode into the text widget.
Regards,
Tobias
worked but link opens in same window and I want to open in new one, I put this on the table but does not work:
65
Hi,
that’s a drawback of that JS code. Opening links in a new window with that is not easily possible. It might be possible to modify the JS for this, but I’m not an expert.
You will likely also run into issues with users who use ad/popup blockers. Also, some browsers sometimes prevent JS from opening a new window.
Regards,
Tobias
Thread Starter
dranet
(@dranet)
Thank you so much! You seriously rock. It worked like a charm, and thanks also for the highlighting code.
Tracy
Hi,
no problem, you are very welcome! 🙂 Good to hear that this helped!
Best wishes,
Tobias
P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!