Table

Wraps table markup in the Bootstrap table styles.

Table example
Table example

Example

[bsv-table striped="yes" hover="yes" bordered="yes" responsive="yes"]
<table>
  <thead><tr><th>Name</th><th>Value</th></tr></thead>
  <tbody><tr><td>One</td><td>1</td></tr></tbody>
</table>
[/bsv-table]

Format

[bsv-table parameter="value" ...]<table>...</table>[/bsv-table]

Parameters

Parameter Description Default
striped Add row striping: yes or no. no
bordered Add cell borders: yes or no. no
hover Add row hover state: yes or no. no
small Use compact cells: yes or no. no
responsive Wrap the table in a responsive container: yes or no. no
style Optional table color style: any of the eight Bootstrap styles. empty

The content is passed through wp_kses_post; table markup is allowed.

Last updated: