• Resolved danniee001

    (@danniee001)


    Not sure if this makes sense but where can I edit the html of the whole table? I can edit css in the plugin options but I don’t see a place to edit the whole html of the table if I want to add an anchor for example.

    Thank you

    *Edit: the purpose for me is to be able to make a whole row into a link.

    • This topic was modified 6 years, 10 months ago by danniee001.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    Editing the HTML of a table is not possible. You can only edit the HTML inside the cells, as TablePress then constructs the HTML for the table, so that it’s syntactically correct.

    For what you are trying to achieve: This is not possible. You can not put a table row inside an HTML link (i.e. no <tr> tags inside <a> HTML tags). This would be syntactically from. Your only chance for something like that is to add a link inside each cell, or to use JavaScript like https://wordpress.org/support/topic/make-row-clickable/#post-4131178

    Regards,
    Tobias

    Thread Starter danniee001

    (@danniee001)

    Thank you!

    That’s so funny that someone already asked the same question. I thought it was an original idea haha.

    It works perfectly. This is amazing, loving this plugin, the coding and your generous support so much. I hope everyone reading this and using your plugin makes a financial contribution to support your work. Please never stop 🙂

    Plugin Author TobiasBg

    (@tobiasbg)

    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!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Edit html of a table’ is closed to new replies.