Möchten Sie WordPress-Beiträge und -Seiten mit Tabellen versehen?
Tabellen sind eine hervorragende Möglichkeit, Daten in einem verständlichen Format darzustellen. WordPress bietet einfache Möglichkeiten zur Erstellung von Inhalten innerhalb von Tabellen mit einigen Formatierungs- und Gestaltungsoptionen.
In diesem Artikel zeigen wir Ihnen, wie Sie Tabellen in WordPress-Beiträgen und -Seiten erstellen können, ohne ein Plugin oder HTML-Code zu verwenden.
Wir werden auch zeigen, wie man in WordPress erweiterte Tabellen mit Sortier- und Suchfunktionen erstellt.
Video-Anleitung
Wenn Sie eine schriftliche Anleitung bevorzugen, dann lesen Sie einfach weiter.
Erstellen von Tabellen im WordPress-Block-Editor
WordPress macht das Hinzufügen von Tabellen mit dem Standard-WordPress-Block-Editor sehr einfach.
Erstellen Sie einfach einen neuen Beitrag oder eine neue Seite oder bearbeiten Sie einen bestehenden Beitrag. Klicken Sie im Inhaltseditor auf das „+“-Symbol, um einen neuen Block hinzuzufügen, und wählen Sie dann den Tabellenblock aus.
Sie finden ihn unter der Rubrik „Text“, oder Sie können „Tabelle“ in die Suchleiste eingeben.
Als Nächstes werden Sie aufgefordert, die Anzahl der gewünschten Spalten und Zeilen für Ihre Tabelle auszuwählen. Beide Zahlen sind standardmäßig auf 2 eingestellt.
Machen Sie sich keine Sorgen, wenn Sie sich über die genaue Anzahl nicht 100%ig sicher sind, denn Sie können später immer noch Tabellenspalten und -zeilen hinzufügen/entfernen.
Geben Sie einfach die Anzahl der Zeilen und Spalten ein und klicken Sie auf die Schaltfläche „Tabelle erstellen“.
Der Block erzeugt dann Ihre Tabelle und zeigt sie auf dem Bildschirm an.
Sie können die Tabellenzellen eingeben, und die Größe wird automatisch angepasst, je nachdem, wie viel Inhalt in jeder Zelle enthalten ist.
Sie können diese Option auf der rechten Seite einstellen, wenn Sie die Zellen mit fester Breite bevorzugen. Hier können Sie auch eine Kopf- oder Fußzeile für die Tabelle hinzufügen.
Im Einstellungsfenster können Sie auch zur Registerkarte Stil wechseln.
Ihr WordPress-Theme bietet möglicherweise eine Reihe von Stilen für den Tabellenblock an, oder Sie können die Hintergrund- und Textfarben auswählen.
Wenn Sie eine neue Zeile oder Spalte hinzufügen möchten, klicken Sie einfach auf eine Zelle an der Stelle in der Tabelle, an der Sie sie hinzufügen möchten. Klicken Sie dann auf die Schaltfläche „Tabelle bearbeiten“.
Daraufhin wird eine Reihe von Optionen zum Hinzufügen oder Entfernen von Zeilen und Spalten zu Ihrer Tabelle angezeigt.
Standardmäßig ist der Text in den Tabellenspalten linksbündig ausgerichtet.
Sie können dies ändern, indem Sie in eine Spalte klicken und dann auf die Schaltfläche „Spaltenausrichtung ändern“ klicken:
Sie können auch die Ausrichtung der gesamten Tabelle innerhalb des Beitrags oder der Seite ändern.
Klicken Sie einfach auf die Schaltfläche „Ausrichtung ändern“ und wählen Sie eine Option aus der Liste.
Beachten Sie, dass diese Optionen dazu führen können, dass Ihre Tabelle über die normalen Grenzen Ihres Beitragsbereichs hinaus angezeigt wird.
Einige davon können auf Ihrer WordPress-Website seltsam aussehen. Bitte sehen Sie sich Ihren Beitrag oder Ihre Seite in der Vorschau an, um zu prüfen, wie die Tabelle aussehen wird.
Hier ist unsere Tabelle auf „Breite“ eingestellt, wie sie auf unserer Demoseite erscheint:
Wie Sie sehen können, reicht er über den linken und rechten Rand des Beitragsbereichs hinaus.
Die in den Gutenberg-Editor integrierten Tabellen-Tools bieten Ihnen viel Flexibilität bei der Darstellung Ihrer Tabellen. Sie können den Tabellenblock verwenden, um den Lesern Daten in einem leicht verständlichen Format anzuzeigen.
Der Block verfügt jedoch nicht über erweiterte Funktionen wie Suchfilter, benutzerdefinierte Sortierung und mehr.
Außerdem können Sie dieselbe Tabelle nicht effizient in mehreren Bereichen Ihrer WordPress-Website verwenden, z. B. in Sidebar-Widgets oder anderen Seiten.
Um erweiterte Tabellen zu erstellen, müssen Sie ein WordPress-Tabellen-Plugin verwenden.
Erstellen von Tabellen mit dem TablePress-Plugin
TablePress ist eines der besten WordPress-Plugins für Tabellen auf dem Markt. Es ist ein kostenloses Plugin und ermöglicht es Ihnen, Tabellen einfach zu erstellen und zu verwalten. Außerdem können Sie Ihre Tabelle separat bearbeiten und sogar eine große Anzahl von Zeilen hinzufügen.
TablePress wird auch notwendig, wenn Sie den älteren klassischen WordPress-Editor verwenden, der nicht über die Tabellenfunktionalität verfügt.
Zunächst müssen Sie das TablePress-Plugin installieren und aktivieren. Weitere Details finden Sie in unserer Schritt-für-Schritt-Anleitung für die Installation eines WordPress-Plugins.
Sie sehen dann einen TablePress-Menüpunkt in Ihrem WordPress-Dashboard. Gehen Sie zu TablePress “ Neu hinzufügen, um eine neue Tabelle zu erstellen.
Sie müssen einen Namen für Ihre Tabelle eingeben und entscheiden, wie viele Zeilen und Spalten Sie haben möchten. Sie können auch später noch Zeilen und Spalten hinzufügen oder entfernen.
Sobald Sie den Tabellennamen, die Zeilen und Spalten hinzugefügt haben, klicken Sie auf die Schaltfläche „Tabelle hinzufügen“, um Ihre Tabelle zu erstellen.
Als nächstes sehen Sie einen Bildschirm mit den Informationen zu Ihrer Tabelle und einen Bereich, in dem Sie Inhalte hinzufügen können.
Geben Sie einfach die gewünschten Daten in die Zellen Ihrer Tabelle ein.
Um Zeilen und Spalten hinzuzufügen oder zu entfernen oder eine Sortierung vorzunehmen, klicken Sie einfach mit der rechten Maustaste in die Tabelle. Daraufhin wird ein Optionsmenü angezeigt, in dem Sie weitere Änderungen vornehmen können.
Erweiterte Optionen, wie z. B. „Tabellenmanipulation“, befinden sich unterhalb des Bereichs „Tabelleninhalt“.
Von hier aus können Sie Zeilen hinzufügen, entfernen und duplizieren.
Unter „Tabellenoptionen“ können Sie eine Kopf- und/oder Fußzeile hinzufügen, die nicht mit den Daten einsortiert wird.
Sie können auch entscheiden, wo der Tabellenname und die Beschreibung angezeigt werden sollen:
Schließlich können Sie im Abschnitt „Tabellenfunktionen für Website-Besucher“ verschiedene Optionen einstellen.
Mit diesen Einstellungen können Sie responsive Tabellen erstellen, die von Ihren Lesern gefiltert, durchsucht und sortiert werden können.
Wenn Sie mit Ihrer Tabelle zufrieden sind, klicken Sie einfach auf „Änderungen speichern“.
Kopieren Sie anschließend den Shortcode Table. Sie werden ihn im nächsten Schritt benötigen.
Bearbeiten Sie nun den Beitrag oder die Seite, auf der Sie die Tabelle anzeigen möchten, und fügen Sie den Shortcode-Block zum Editor hinzu.
Danach fügen Sie den zuvor kopierten Shortcode in den Shortcode-Block ein.
Vergessen Sie nicht, Ihre Änderungen zu aktualisieren oder zu speichern.
Wenn Sie hingegen den klassischen Editor verwenden, fügen Sie den Shortcode einfach direkt in Ihren Beitrag ein:
Wenn Sie Ihre Tabelle in Zukunft ändern möchten, können Sie zu TablePress in Ihrem Dashboard zurückkehren und Änderungen vornehmen. Ihre Tabelle wird automatisch in allen Beiträgen und Seiten aktualisiert, in denen Sie sie verwendet haben.
TablePress ermöglicht es Ihnen auch, Daten aus Tabellenkalkulationen und CSV-Dateien zu importieren. Ebenso können Sie TablePress-Tabellendaten in eine CSV-Datei exportieren, die Sie mit jedem Tabellenkalkulationsprogramm wie Microsoft Excel oder Google Sheets öffnen können.
Wir hoffen, dass dieser Artikel Ihnen geholfen hat zu lernen, wie man Tabellen in WordPress-Beiträge und -Seiten einfügt, ohne HTML zu verwenden. Vielleicht gefällt Ihnen auch unsere Anleitung zum Erstellen eines Inhaltsverzeichnisses in WordPress und unsere Expertenauswahl für die besten WordPress-Tabellen-Plugins.
Wenn Ihnen dieser Artikel gefallen hat, dann abonnieren Sie bitte unseren YouTube-Kanal für WordPress-Videotutorials. Sie können uns auch auf Twitter und Facebook finden.
Syed Balkhi says
Hey WPBeginner readers,
Did you know you can win exciting prizes by commenting on WPBeginner?
Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
You can get more details about the contest from here.
Start sharing your thoughts below to stand a chance to win!
Dennis says
Cannot add table to latest version of WORDPRESS
There is no +
WPBeginner Support says
The + is still in the current version of WordPress, if you are using a builder or similar tool instead of the block editor, that is the most common reason why you would not see it.
Admin
Ralph says
I use wordpress default tables and while they work great on desktop browser, on the phone everything is messed up. It only allow like 10 characters max and turn nice table into rubbish.
Is there a way to do something with it? Like not squish but scale? Table would be smaller but readable or the same size but we can swipe it?
WPBeginner Support says
It heavily depends on how your table is organized, you may want to look into TablePress for more control over the tables.
Admin
Shafi says
Is there a way to show html without it being rendered in the front-end ? like i wanna show in the table cell, and i want the output as however, the table is treating it as if there’s an image. How do i solve that
WPBeginner Support says
It would depend on the method used but in your toolbar when you have a cell selected you should have the option of setting it as inline code for what you’re wanting to do
Admin
Warren Contreras says
The table is exactly what I need, but only if you can input number and display a column sum in the botom row,
WPBeginner Support says
For what you are wanting, you would want to use TablePress
Admin
Yemi says
Is there a way to break the long table into pages whereby users can click next
WPBeginner Support says
To separate the content in your tables into different pages, you want to use TablePress and its pagination options.
Admin
Anita says
The background colors don’t work because you need to backspace the quotations and type in your own quotations. I found it by accident. If someone else has already figured that out my apologies but I wasn’t going to go through over 100 comments to check.
WPBeginner Support says
Thank you for sharing that should someone run into the background color not working for them
Admin
Andre Victor says
Hi. I have an existing table with data of 6 columns and 750 rows. It would be difficult to re-type into blank table in WordPress page. Please advise how I can either import the entire table (can be Excel or Word) or copy and paste the cells‘ contents into blank table.
WPBeginner Support says
You would want to take a look at TablePress and the import options available to bring in your table.
Admin
Margaret says
Hi! I am wondering if it is possible to simply copy->paste a table from an existing document into WordPress? I have tried this and it doesn’t appear to work, but I am wondering if there is a trick to it that I am missing. Thanks!
WPBeginner Support says
It would depend on the document but we would normally recommend recreating the table in WordPress
Admin
Nicole says
Hi! I want to learn more about WordPress!!
WPBeginner Support says
Our site should be able to help you then
Admin
Jim Gharib says
Classic editor does have table functionality and a plugin is not needed when using that editor. Check it out.
WPBeginner Support says
You would need to use a plugin to enable the classic editor and normally that would require using HTML
Admin
Matthews Otalike says
Oh my word, thanks for the guidance on creating tables on WordPress and other resources you have been availing to us. Kudos to you.
WPBeginner Support says
You’re welcome, glad our guide was helpful
Admin
TheFrugalChoice says
Helpful post that I can use in my personal finance and financial independence blog.
WPBeginner Support says
Thank you
Admin
Monique Robinson says
Great article and great plugin. Straight and to the point. Thanks very much.
WPBeginner Support says
Glad you liked our article
Admin
Annapurna agrawal says
Hi
I have installed the tablepress plugin.
i have issue for user capability. In the user role plugin, i haven’t granted permission to „edit_other_user_tables“. But my contributor user role can still edit other’s table and delete it as well.
How should i avoid access to other’s table?
WPBeginner Support says
You would want to reach out to TablePress to see if there is a built-in or recommended method for preventing editing of other tables.
Admin
Nabil Nawaz says
Great article.. how can we make parent child in this ? like 1st column’s 1st cell is parent cell and next to it we have information for it’s child info.. like three rows are need to be explained for that 1st cell next to it
sumit kumar gupta says
Sir when we click on the TablePress option in Visual editor then only list of table is showing in front of me. No Table creation option is available in Visual Editor. What should I do for create a new table in Post editor?
Wyce Ghiacy says
Thanks for the video.
What would you recommend to embed a formatted Excel sheet and collect data from registered WP users? (Like monthly usage reports, and the excel sheet also calculates the quarterly/yearly usage)
Louise Wooding says
HI
Thank you for the video. I have created my table and chose Insert Image in one of the cells. It did let me choose the image but it then entered the URL to it rather than the image itself. Have I missed out a step??
Thank you.
Louise
Tom Cullen says
Awesome Share, thank you!
Owolabi says
This is a nice article boss.
Thanks for sharing.
But I do have a question.
Is there no plugin I can install that can bring the insert table option into the icons on my wordpress post?
Thanks as I await a reply
Ravi Kanani says
I want to add a table of specification in which first column is same for all post and second column is different.
How can I add this type of table in post??
Susan Hawthorne says
It would be very nice if, in the article about TAblePress it said that you have to upgrade to a business plan to use a plugin!!!!!!!!!!!!
WPBeginner Support says
Hi Susan,
You are probably using WordPress.com. Please see our guide on the difference between self hosted WordPress.org vs free WordPress.com blog.
Admin
Barbara says
Is there any way to bold some lines of text in the table? Its all plain text, wish there was an easy way to add bold text
Abee says
just add an html text at the word
Michael Carter says
Actually, you can use CSS if you are ok with it. Use The words you want to emphasize …
banks dada says
Thanks a million for this plugin. All i needed was to prepare the list on excel and import it into wordpress.
Sweet and time saving tool.
Bless you guys for this piece
Sadha says
Hi, I would like to create links in the table that forward to another page and pass the row number through or any field from the row. How would I do this?
Options I can think of which are not straight forward
1) Use localStorage\sessionStorage
2) Pass the value in the URL but then the next page needs to read this on load – maybe not a bad idea ?
Molly Greger says
Wow! such a fantastic tool!! BUT: the colors are so pale I cant see a thing?? How can I change the colors fo rows/columns?
varalakshmi says
Thank you……This is helpful to me up to some extent. I satisfied with your post.
Alex Nicholson says
Think this only works for users of WordPress.org. Is there any similar guide for those like me who use WordPress.com especially where I can use a coloured background to the cells in a table?
Ray says
Hello
I was trying to make an interactive table similar to this that would use a query picking data from a database.
I am using wordpress with a mysql/phpmyadmin database.
My query works in phpmyadmin but does not show values in wordpress?
SELECT * FROM `MyTablename` WHERE 1
Do i need to use a list or print command or database name?
Jhon Carl says
I am having the same issue with you. Did you find a way to this already?
Carolyn says
I would definitely recommend this plugin. A reminder to blogger when moving from one hosting service to another: don’t forget to back up the tables. There’s no way to recover the data. And if you know how can you share the info.
Dimitar says
I recently was struggling to figure out how to add good-looking tables so this will be very helpful, thank you for publishing this.
WPBeginner Support says
You are welcome
Admin
Omar Khan says
How to create tables on tag/category page
Paco Gimenez says
Hi guys,
Thank you very much for support.
This tablepress is interesting.
I was looking a system to do something like that:
In i have a table with some information and colums. table1 for example.
I want when i press some region in my map, i can load an url, like /map#section
Can i do something like load same table in another order? by some colum o something? instead of click in a column, click in a region and load the same url but with the „#“ of this table in the order required.
Thank you very much for support.
Ben K says
Thought about updating the screenshots on this article?
Divine says
Thanks WP. You guys are the best! 4.5stars
Arindam says
Thanks for the info. I was wondering if the shortcode will have any SEO value. Is it likely that a table displayed with a shortcode will appear in Google Featured Snippet?