[Plugin: WP-Table Reloaded] Outputting headers in the first column of every row
-
Hi,
I’ve just started to do some work with wp-table-reloaded, and would like to get my tables outputting headers for rows as well as columns i.e:
<table> <thead> <tr> <th scope="col">Column 1</th> <th scope="col">Column 2</th> <th scope="col">Column3</th> </tr> </thead> <tbody> <tr> <th scope="row">Foo</th> <td>Bar</td> <td>Baz</td> </tr> .. etc </tbody> </table>
I can’t see any obvious way to do this in the UI, so have been looking into using filters (which I’ve not got much experience with), but can’t see a suitable hook for the filter (other than
wp_table_reloaded_cell_content
, but that only returns the content of a cell, not all of the HTML code). Am I missing something?Thanks in advance
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘[Plugin: WP-Table Reloaded] Outputting headers in the first column of every row’ is closed to new replies.