How to Remove the 'Edit' Link and Other Unwanted Lines from Your TablePress Tables
Content
If you use the popular TablePress plugin for WordPress, you might have noticed an "Edit" link appearing below your tables or perhaps a stubborn horizontal line you can't seem to remove. These are common points of confusion, but the solutions are often straightforward. This guide will walk you through why these elements appear and how to manage them.
The Mysterious "Edit" Link
A frequent question from users is about an "Edit" link that shows up beneath their TablePress tables. It's important to understand that this link is not visible to the general public. It is a convenience feature that is only displayed to logged-in WordPress users who have the necessary permissions to edit tables (typically administrators and editors).
Why it happens: The link is part of the plugin's core functionality, providing quick access to the edit screen for site managers.
How to remove it (if you must): Even though regular visitors won't see it, you might want to remove it for a cleaner look while you're working. To do this completely, you can use the official "Remove Edit Link" Extension. You can find the download link and instructions on the TablePress website. Simply download, install, and activate the small add-on plugin.
The Unwanted Horizontal Line
Another common visual issue is a thin horizontal line appearing at the top or within a table. This is almost always a border style applied by the plugin's default CSS.
Why it happens: TablePress includes default styling to make tables presentable right away. This includes borders on table cells, which can sometimes render as a continuous line across the entire table.
How to remove it: The crucial step here is to avoid editing the plugin's core files directly, as your changes will be erased the next time the plugin updates. Instead, you should override the CSS. The TablePress team provides a detailed FAQ on how to remove borders from a table. The general method involves adding custom CSS to your theme's "Additional CSS" section or a custom CSS plugin to target and hide the specific border.
Other Quick Fixes
- Text in Dropdowns: To change or remove text like "entries" from features such as the pagination dropdown, you can use the "Custom Commands" feature on the table's Edit screen. For example, adding
"language": { "lengthMenu": "Show _MENU_" }will customize the text. - Table Not Rendering: If your table shortcode is displaying as raw text instead of a formatted table, ensure you are not placing it in a "Code" widget in page builders like Elementor. Use a "Shortcode" or standard "Text" widget instead.
By understanding what these elements are and using the correct methods to modify them, you can ensure your TablePress tables look exactly how you want them to for every visitor.
Related Support Threads Support
-
1px line below tablehttps://wordpress.org/support/topic/1px-line-below-table/
-
Can’t get rid of horizontal line above tablehttps://wordpress.org/support/topic/cant-get-rid-of-horizontal-line-above-table/
-
Lien “Modifier” en dessous des tableauxhttps://wordpress.org/support/topic/lien-modifier-en-dessous-des-tableaux/
-
Caption, not h2https://wordpress.org/support/topic/caption-not-h2/
-
How to remove text from below tablehttps://wordpress.org/support/topic/how-to-remove-text-from-below-table/
-
Insert Image now shows image description (or Alt Text)https://wordpress.org/support/topic/insert-image-now-shows-image-description-or-alt-text/
-
About adjusting the text above tablehttps://wordpress.org/support/topic/about-adjusting-the-text-above-table/
-
Get rid of “EDIT” button on front endhttps://wordpress.org/support/topic/get-rid-of-edit-button-on-front-end/
-
Remove HTML formatting?https://wordpress.org/support/topic/remove-html-formatting/
-
Table shows up as codeshttps://wordpress.org/support/topic/table-shows-up-as-codes/
-
Edit option for Usershttps://wordpress.org/support/topic/edit-option-for-users/