Documentation

Buttons

Adding Buttons

Buttons can be added to a table cell using the Default shortcode. Default settings for the button can be specified under the TablePress Style Settings > Design > Table: Buttons toggle.

Button Shortcode Parameters

Shortcode parameters allow you to customize the appearance and behaviour of individual buttons. These parameters will override any settings made under the Table: Buttons toggle.

Parameter Description Example
text Set the label text for the button. Download
class Add additional classes to the button element. Default
color Set the color of the button. Default
size Set the size of the button text. Default
Default
style Add additional inline styles to the button. Default
href Specify a link url for the button. Default
target Specify whether the link opens into the same window ( _self ) or a new one ( _blank ). Default
rel Specify the relationship between the current document and the link. Default
All Download

Still need help?

If you didn’t find what you were looking for, please contact us.