This plugin do not support WordPress 2.5. Currently I don’t plan a new version….
For a project I need to show sport results in a table. But my Wordpress users create horrible table layouts or damage a existing table with the Wordpress WYSIWYG editor. So I search in the web for a simple table editor.
After I didn’t really found a table editor for my purpose , I take the chance to create this plugin by myself, as first study of “creating plugin’s in wordpress”. So if you need a table in your blog and if you not so familiar with HTML table design, you can use the wp-Table Plugin. The latest feature update is a csv import , so that you can edit tables in a much faster way.
This is a simple preview, created with wp-Table ( for a football table )
NEW! Click on the header to sort the column :
| Platz | Mannschaft | Spiele | G | U | V | Tore | Punkte |
|---|---|---|---|---|---|---|---|
| 1 | 1. FC Köln | 34 | 22 | 9 | 3 | 67:32 | 75 |
| 2 | SV Werder Bremen | 34 | 21 | 7 | 6 | 79:37 | 70 |
| 3 | Hamburger Sportverein | 34 | 20 | 5 | 4 | 53:30 | 68 |
| 4 | Schalke 04 | 34 | 16 | 13 | 5 | 47:31 | 61 |
| 5 | Bayer 04 Leverkusen | 34 | 14 | 10 | 10 | 64:49 | 52 |
| 6 | Hertha BSC Berlin | 34 | 12 | 12 | 10 | 52:48 | 48 |
| 7 | Borussia Dortmund | 34 | 11 | 13 | 10 | 45:42 | 46 |
| 8 | 1. FC Nürnberg | 34 | 12 | 8 | 14 | 49:51 | 44 |
| 9 | VfB Stuttgart | 34 | 9 | 16 | 9 | 37:39 | 43 |
| 10 | Borussia M’gladbach | 34 | 10 | 12 | 12 | 42:50 | 42 |
| 11 | FSV Mainz 05 | 34 | 9 | 11 | 14 | 46:47 | 38 |
| 12 | Hannover 96 | 34 | 7 | 17 | 10 | 43:47 | 38 |
| 13 | Arminia Bielefeld | 34 | 10 | 7 | 17 | 42:51 | 37 |
| 14 | Eintracht Frankfurt | 34 | 9 | 9 | 16 | 32:47 | 36 |
| 15 | VfL Wolfsburg | 34 | 7 | 13 | 14 | 33:55 | 34 |
| 16 | 1. FC Kaiserslautern | 34 | 8 | 9 | 17 | 47:71 | 33 |
| 17 | MSV Duisburg | 34 | 7 | 9 | 18 | 49:71 | 30 |
| 18 | Bayern München | 34 | 5 | 12 | 17 | 34:63 | 27 |
You only need to enter in your blog the tag : [TABLE=ID]. You easily manage the tables in the admin section under : Manage -> Tables. This is a preview of the above table in the wordpress admin section.
You can set up the style for border, cell spacing, background color etc. via global settings or direct in the wp-Table.css style sheet. This file must be in the same folder like the plugin itself.
Installation :
Copy all files in the plugin folder “wp-table” . Activate the plugin and start under Manage -> Tables to edit your first table. The plugin creates automatic one sample table in you wordpress database. If you would like to edit online the CSS file, set the write permission for wp-table.css .
Requirement :
Tested it with Wordpress Version 2.0.4 (German version) and 2.0.5
Tested with PHP 4.3.7 and higher, MySQL 4.0.15 and 5.0.18
Language :
This plugin support the GNU Gettext localization. It’s prepared for the translation in other languages, to support the plugin in your language , see here.
English [en_EN]
Default language
German / Deutsch [de_DE]
Always included
French / Français [fr_FR]
Author: Christian
For version: 1.35
Last updated: 2007-02-09
Download wpTable-fr_FR.zip
Polish / Polski [pl_PL]
Author: Maciek Palmowski
For version: 1.41
Last updated: 2007-03-16
Download wpTable-pl_PL.zip
Turkish / Türkçe [tr_TR]
Author: Ehcrea
For version: 1.52
Last updated: 2007-12-18
Download wpTable-tr_TR.zip
Italian / Italiano [it_IT]
Author: RiccardoPro
For version: 1.52
Last updated: 2007-10-09
Download wpTable-it_IT.zip
Portuguese / Brazilian Português [pt_BR]
Author: Fabricio Vieira
For version: 1.52
Last updated: 2007-11-07
Download wpTable-pt_BR.zip
Danish / Dansk [dk_DK]
Author: Strang Skov
For version: 1.52
Last updated: 2007-11-28
Download wpTable-dk_DK.zip
Dutch / Nederlands [nl_NL]
Author: Noe Snaterse
For version: 1.52
Last updated: 2007-12-30
Download wpTable-nl_NL.zip
Bulgarian / български език [bg_BG]
Author: Alexander Dichev
For version: 1.52
Last updated: 2008-01-18
Download wpTable-bg_BG.zip
Just upload the .mo file in the wpTable folder. WordPress will automatically load the language file from this directory, where ‘locale’ is the value you defined in your wp-config.php file in the root of your WordPress installation.
Table Sorting Option :
A very cool and new feature is the sorting of the columns. Click on the header for a demonstration. I integrated this script as new option, it’s a heavy complex JavaScript from Frequency Decoder and in some cases other scripts (i.e. Prototype.js) causes problems. Please ensure that you are using the latest Prototype version V1.5.0, when you use this together.
Note :
Thanks to the plugin’s from Thomas Boley (myGallery) and GaMerZ (WP-Polls),
which gives me a lot of education.
Download wp-table.zip V1.52
Last Changed : 15.Oct.2007
Support & Feature request :
I integrated a forum for all question around wp-Table. Please request your wishes and problems there.
History list :
V1.52 / 15.10.2007
- Bugfix for Gengo
V1.51 / 03.10.2007
- Bugfix in CSS (Forgot change from id to class)
V1.50 / 24.09.2007
- Changes for Wordpress 2.3
- Changes CSS from id to class
- Minor bugfixes (remove get_settings)
V1.45 / 20.05.2007
- Fix path problem in button (forgot one ../)
- Rename to wptable-tinymce.php
V1.44 / 29.04.2007
- Fix path problem in button
V1.43 / 25.04.2007
- Bugfix for TinyMCE Button
V1.42 / 11.04.2007
- Bugfix for copy table
V1.41 / 26.02.2007
- New function : Insert row in between
- Bugfix for sql_mode
V1.40 / 17.02.2007
- Add TinyMCE button
- Change SQL string type for longer text
- TABLE tag can now lowercase
- Add Tag [TABLENAME= XXX] (Thanks to William)
- Integrate french translation (Thanks to Christian)
V1.35 / 14.01.2007
- Integrate table sorting script from Frequency Decoder
- Change CSS-class structure
- Change table style of CSS file
V1.34 / 12.12.2006
- Drop check for content of csv-file
V1.33 / 09.12.2006
- Bugfix for Cell padding/spacing
- Bugfix for shown ‘$’ in table
V1.32 / 07.12.2006
- Bugfix for Copy table
- Show Mime Type when import a file
V1.31 / 05.12.2006
- Table can be copied
- WP-Table.css is editable
- Minor bugfix in delete last column
V1.30 / 03.12.2006
- CSV Import
- Bugfix for identical table names
- New table is setable with number of rows
V1.20 / 26.11.2006
- wp-Table is now XHTML 1.0 Transitional valid
- Remove table alignment (not XHTML valid)
- Integrated CSS file for more style control
V1.11 / 22.11.2006
- Fixed “Show description” problem
- Init serveral variables to avoid a warning from PHP
V1.10 / 20.11.2006
- Alignment control for each column
- Border size, cell padding, cell spacing now editable
V1.01 / 19.11.2006
- Input values can now contain HTML code or a link
V1.00 / 11.11.2006
- Create tables
- Options for header, border and alternating color
- Show table name or description
- Setup table width
- First row can be in bold font
- Included german translation








Great plugin! Thanks so much for ending a my night of frustration! I’m still a newb at programming and was trying to find a way to make my table show up in my post after of course having written it in a plain word processor.
Thanks again and great work!
Here is a mistake that took me 1/2 Hour to solve:
You only need to enter in your blog the tag : [TABLE-ID].
It should be [TABLE=ID]
Please correct in above description

Sorry Christian,
thanks for the hint.
Excellent plugin!! I have so many clients that really mess up the pages by pasting code from FrontPage or Word. This will be a great tool! I especially like the csv import option. Great work!!
While importin a .csv table
Warning: move_uploaded_file(/home/eo000006/public_html/greentour/wp-content/uploads/RankingDIC2006.csv) [function.move-uploaded-file]: failed to open stream: No such file or directory in /home/eo000006/public_html/greentour/wp-content/plugins/wp-table/wp-table-admin.php on line 164
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move ‘/tmp/phpzb1xvy’ to ‘/home/eo000006/public_html/greentour/wp-content/uploads/RankingDIC2006.csv’ in /home/eo000006/public_html/greentour/wp-content/plugins/wp-table/wp-table-admin.php on line 164
any suggestions?
Hi Sebastian,
when you upload a CSV file , you need to set the write permission to the wordpress upload folder. In your case “/wp-content/uploads/”
Hi Alex, ich suche schon seit paar Tagen nach einem Tool, das mir ermöglichen würde benutzerdeffinierte Tabellen in Wordpress zu integrieren. Bin grad zufällig auf deine Seite gestossen und wurde angenehm überrascht
Dein Plug-in passt mir optimal
Danke vielmals
Gruß Eugen
I have the same problem of uploading CSV files; like Sebastian.
Warning: move_uploaded_file(/home/eo000006/public_html/greentour/wp-content/uploads/RankingDIC2006.csv) [function.move-uploaded-file]: failed to open stream: No such file or directory in /home/eo000006/public_html/greentour/wp-content/plugins/wp-table/wp-table-admin.php on line 164
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move ‘/tmp/phpzb1xvy’ to ‘/home/eo000006/public_html/greentour/wp-content/uploads/RankingDIC2006.csv’ in /home/eo000006/public_html/greentour/wp-content/plugins/wp-table/wp-table-admin.php on line 164
Even after I change the uploads folder premissions to 777, it still won;t allow me to upload and is shoing the same error message.
Suggestions?
That’s strange,
can’t give you a solution. If the permission are correct , then “move_uploaded_file” should cause not such a failure.
I can only offer you, that I debug the failure on your server.
If you are interested contact me via email.
Regards
Alex
Alex,
Thanks for the wonderful plugin. Everything works great, except for the imported CVS files.
Problem: when I import a CVS (created with save as from Excel) the table doesn’t seem to reacted to any editing. E.g. the width of the cells are not altered even when I changed this.
Any suggestions?
Kind regards,
Robert.
The width control is a little bit depending on the size of your page/ CSS style and the number of columns . Send me a link with the table (If you don’t want to publish it, send it to my email)
Regards
Alex
Hi!
Because one shouldn’t change a running system if not needed I am still apply WP 1.5x.
I tried to use that plugin. Unfortunately it doesn’t work. At the top of the admin-panel one finds that message:
WordPress database error: [Table ‘db126340658.wp_golftable’ doesn’t exist]
SELECT * FROM wp_golftable ORDER BY ‘table_aid’ ASC
Any idea?
I’m sorry WP 1.5 is not supported, due to the fact I use commmands which are programmed in Wordpress 2.0x
Hi Alex,
Wonderful plugin, I’m using it for the gaming guild website I run.
One very useful feature would be to insert rows in-between others.
For example:
Row 1
Row 2
Row 3
Row 4
Hallo Alex,
das Plugin gefällt mir gut, ABER ist denn noch angedacht, dass in die Tabelle auch Bilder integriert werden können ??
Gruss
tboggi
Hallo Alex,
vielen Dank für dein Plugin. Ich möchte mich zudem aber auch Dave Green anschließen und fragen ob es angedacht ist Zeilen zwischen schon bestehenden Zeilen einfügen zu können, da in diesem Falle ja sonst nur der Weg über Neuschreiben nachfolgender Zeilen führte, oder aber man über den CSV-Import ausweichen müsste.
Danke schonmal und schöne Tage wünschend,
christoph
Dave, Christoph,
Rigth now it’s a little bit difficult to insert rows in-between, when I have some more time i will check this feature. I need to reprogram some database querys for such a issue.
Alex- this is wonderful! Exactly what I was looking for.
I have one question: is it possible to make the columns sortable?
Please check out my test table in my test blog. Basically, I’d like to be able to have my Recipe Index Table sort alphabetically by Recipe Name when it comes up, but then have viewers be able to sort by Dish Type, Season, or Time.
You can check out a good example of what I’m looking to do here, but I’m no html genius! Could this work? It would be really cool!
@tboggi
Bilder können als HTML Code jederzeit eingefügt werden.
Vanessa,
it looks great, a really good Idea ! I start to study this feature at the weekend and inform you by mail , when it’s possible to use this.
Thanks for the link !
Ja, hat gut geklappt.
Nun wollte ich aber die Bilder mit lightbox verknüpfen.
Wie könnte denn das funktionieren ??
Grüsse
tboggi
Lightbox script reinnehmen bzw. Plugin installieren und rel=”lightbox[]” im IMG Link angeben
Great. Thanks Alex - looking forward to your email. Here’s another link I dug up a few weeks ago but don’t know what to do with - maybe you do!
http://www.javascriptkit.com/script/script2/sorttable.shtml
Hi!
Super Idee! Tolles Plugin! Gibt´s ne Möglichkeit die generierten Tabellen zu exportieren? Stichwort Stundenpläne. Wäre doch super wenn der Besucher meiner Seite sich die Pläne dann herunterladen könnte. Ist das möglich oder sogar in Planung?
Gruß
Michael
Machbar auf jeden Fall, sogar als PDF. Ich behalte die Idee mal im Hinterkopf
Hallo Alex,
irgendwie komme ich nicht weiter.
Wo stelle ich die Höhe der Zeilen ein und dann habe ich noch ein Problem mit der Ausrichtung.
Vielleicht guckst Du hier: http://www.web64.webgo24-server3.de/bsv/blog/test
Danke & Gruss
tboggi
PS. der lightbox verweis funzt nur in der href und nicht in der img!!
kleine Ergänzúng:
Lightbox zeigt so eine große Breite an (bitte auf bild oder name klicken!)
Danke&Gruss
tboggi
Hallo tboggi,
leider kann ich aus zeitlichen Gründen dir heute nicht weiterhelfen. Wenn du nicht weiterkommst, melde dich gegen Ende der Woche nochmal.
gruss
Alex
P.S. Bitte nutze für kommende Fragen das neu eingerichtete Forum. Danke !
Thank you so much for this amazing plugin, it really saves my time.
hello,
I really need a feature and I am sure you could implement it easily so I will just ask you
I need an option to have not only this option: Define first row as header but also Define first column as header => meaning I want to be able to have the first column highlighted (aka bold) and have the first column have a different background for tables that have the header sideways not on top.
do you think that is possible? or maybe another method to get the first column bold and have maybe a different background?
thx
ovidiu
I love your plugin. It works great with plain data, but something breaks when I try to make a table of links. Is it possible to put links in the cells?
Normaly yes, I didn’t know a problem. Send me a link to your table via the forums or email
This works great! Thank you!
The sort script seems to work well too. Now, If I could just add a search so I could filter the table results… I would love to be able to search the tables for keyword or category and just display the results.
jweaks
Danke sehr für den Plugin! Das war genau was ich suchte. Auch muss nach dem Gebeten von Christoph und David anhänhen: Neue Zeilen inzwischen einzufügen.
Troztdem hat den Plugin mir sehr geholfen. Vielen Dank!