Add “+” Sign before positive numbers

This TablePress Extension will add a “+” (plus) sign in front of all positive numbers in selected columns of a table.

To use this, download, install, and activate the Extension like a regular WordPress plugin. Then, on the page where you want to show the table, insert a “TablePress table” block and add this to the “Configuration parameters” field in the “Advanced” section in the Settings sidebar:

plus_sign_positive_numbers=trueCode language: JavaScript (javascript)

This will activate prepending of the “+” sign for all columns of that table.

To only do this for selected columns, you can use a command like

plus_sign_positive_numbers="B-D,8,11-14"Code language: JavaScript (javascript)

where you can specify a list or ranges of columns, by their number or letter, for which the “+” sign shall be added in front of positive numbers.