Title: Table Caption Element
Last modified: August 21, 2016

---

# Table Caption Element

 *  Resolved [TCDD Web Admin](https://wordpress.org/support/users/tcdd-web-admin/)
 * (@tcdd-web-admin)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/table-caption-element/)
 * We are using your plugin to create tables for our website, but we need our website
   to be Accessible and your plugin does not have table captions. Are you going 
   to add that option to add <caption> tags directly after the opening <table> tag
   in your plugin?
    Thank you in advance for your quick response!!
 * · TablePress: 1.1.1
    · TablePress (DB): 21 · TablePress table scheme: 3 · Plugin
   installed: 2013/03/20 15:09:31 · WordPress: 3.7.1
 * [http://wordpress.org/plugins/tablepress/](http://wordpress.org/plugins/tablepress/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/table-caption-element/#post-4278896)
 * Hi,
 * thanks for your question, and sorry for the trouble.
 * You are right in that TablePress does not have direct support for the `<caption
   >` element. It does however have a filter hook (in “class-render.php”) that can
   be used to fill the `<caption>` element. For an example, please see this TablePress
   Extension:
    [http://tablepress.org/extensions/table-caption-html-tag/](http://tablepress.org/extensions/table-caption-html-tag/)
   With that installed and activated, the table name would be added to the `<caption
   >` element. Just change the code to eg. `'description'` to get the description
   instead.
 * Regards,
    Tobias
 *  Thread Starter [TCDD Web Admin](https://wordpress.org/support/users/tcdd-web-admin/)
 * (@tcdd-web-admin)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/table-caption-element/#post-4278948)
 * I put the php file floating in the “wp-content/plugins/tablepress” directory 
   and activated it.
    With this extension activated, will the generated html code
   have the <caption> tags automatically for all the tables on the website? Or do
   I need to tag something in the Table Name field? Or in the Description field?
 * And when I install updates to the plugin, will I have to reinstall the extension
   php file?
 * Thank you for your help with your plugin.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/table-caption-element/#post-4278956)
 * Hi,
 * Instead of putting the file into the “tablepress” plugin folder, please leave
   it in its own folder (i.e. simply extract the ZIP file and upload the contained
   folder to the “wp-content/plugins/” directory). By doing that, you are guaranteed
   that a plugin update of TablePress will not remove the Extension, so that you
   will not have to reinstall it then.
 * All TablePress tables will then have the `<caption>` tag automatically, with 
   the table name as the content.
 * Regards,
    Tobias
 *  Thread Starter [TCDD Web Admin](https://wordpress.org/support/users/tcdd-web-admin/)
 * (@tcdd-web-admin)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/table-caption-element/#post-4278960)
 * Thank you!
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/table-caption-element/#post-4278966)
 * Hi,
 * no problem, you are very welcome! 🙂 Good to hear that this helped!
 * Best wishes,
    Tobias
 * P.S.: In case you haven’t, please [rate TablePress](http://wordpress.org/support/view/plugin-reviews/tablepress)
   here in the plugin directory. Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Table Caption Element’ is closed to new replies.

 * ![](https://ps.w.org/tablepress/assets/icon.svg?rev=3192944)
 * [TablePress - Tables in WordPress made easy](https://wordpress.org/plugins/tablepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablepress/)
 * [Active Topics](https://wordpress.org/support/plugin/tablepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablepress/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/table-caption-element/#post-4278966)
 * Status: resolved