For some use cases, it might be necessary to get the value of a single cell from a table.
For users with a TablePress premium license, it is also possible to retrieve single cell values after first filtering a table, as well as retrieving calculated cell values, instead of just plain math formulas.
To use this, download, install, and activate the Extension like a regular WordPress plugin. You can then use a Shortcode like
[table-cell id=123 cell=C3 /]
Code language: JSON / JSON with Comments (json)
or (if you prefer a different syntax)
[table-cell id=123 row=3 column=3 /]
Code language: JSON / JSON with Comments (json)
in your posts or pages.
Both examples would print the content of the cell C3
(third row, third column) of the table with the ID 123
to the page.
Note that this Extension will only print the “raw” and unmodified cell value. This also means that it can not be used to show e.g. calculated results of math formulas.
If an Extension is useful for you, please check out the available TablePress Premium features and consider getting a Premium license plan, which bring even more features for you and your site visitors. Thank you!