[Resolved] wp-tables plugin, table id
I’ve posted on the author’s forum and emailed him with no response. Running 2.1
When you create tables with the wp-tables plugin, it assigns the name wptable to every table. The problem with this is when you put two or more tables on one page, such as in The Loop, they each get the same table id and it throws both validator and navigation errors. Here is the code that names the tables:
$tbl_header .= "\n".'<table class="rowstyle-alt" id="wptable" '.$act_cellspace.$act_cellpad.'>'."\n";
I’ve tried assigning variables to it like a random 7 digit number, or assigning id=”$table_id” to match the name of the actual table, but the plugin simply reads the variable name into the html as id=”$table_id” and doesn;t interpret it. Any ideas?
- The topic ‘[Resolved] wp-tables plugin, table id’ is closed to new replies.