Last active
August 8, 2020 07:32
-
-
Save EvanHerman/356ea6bd23869bcbf4e3 to your computer and use it in GitHub Desktop.
WordPress Dashboard Admin Table Markup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<table class="widefat fixed" cellspacing="0"> | |
<thead> | |
<tr> | |
<th id="cb" class="manage-column column-cb check-column" scope="col"></th> <!-- this column contains checkboxes --> | |
<th id="columnname" class="manage-column column-columnname" scope="col"></th> | |
<th id="columnname" class="manage-column column-columnname num" scope="col"></th> <!-- "num" added because the column contains numbers --> | |
</tr> | |
</thead> | |
<tfoot> | |
<tr> | |
<th class="manage-column column-cb check-column" scope="col"></th> | |
<th class="manage-column column-columnname" scope="col"></th> | |
<th class="manage-column column-columnname num" scope="col"></th> | |
</tr> | |
</tfoot> | |
<tbody> | |
<tr class="alternate"> | |
<th class="check-column" scope="row"></th> | |
<td class="column-columnname"></td> | |
<td class="column-columnname"></td> | |
</tr> | |
<tr> | |
<th class="check-column" scope="row"></th> | |
<td class="column-columnname"></td> | |
<td class="column-columnname"></td> | |
</tr> | |
<tr class="alternate" valign="top"> <!-- this row contains actions --> | |
<th class="check-column" scope="row"></th> | |
<td class="column-columnname"> | |
<div class="row-actions"> | |
<span><a href="#">Action</a> |</span> | |
<span><a href="#">Action</a></span> | |
</div> | |
</td> | |
<td class="column-columnname"></td> | |
</tr> | |
<tr valign="top"> <!-- this row contains actions --> | |
<th class="check-column" scope="row"></th> | |
<td class="column-columnname"> | |
<div class="row-actions"> | |
<span><a href="#">Action</a> |</span> | |
<span><a href="#">Action</a></span> | |
</div> | |
</td> | |
<td class="column-columnname"></td> | |
</tr> | |
</tbody> | |
</table> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment