Insert excel table into wordpress hosting

Posted by Bhagwad Park on Feb 9, 2016 | No Comments

WordPress doesn’t have any default functionality to add tables. So what happens if you own a site that needs to use them regularly? Moreover, there is a lot of functionality you can add to a table in order to make it useful to a visitor. Providing the ability to sort on various columns dramatically improves the usability and readability of any table with more than just a few rows of information. In the same way, letting the user page through multiple layers of data via JavaScript so that they don’t have to reload the whole page can be a welcome addition depending on the purpose of the table.

Insert excel table into wordpress hosting website is

Of course, if you just need to use a table for a one off post on your blog, you might be better off manually constructing the HTML yourself. But if you want something a little more, you should use the definitive plug-in for WordPress tables – TablePress .

Creating Tables via TablePress

Unlike what you might think, you can’t add tables via this plug-in using the normal WordPress editor. Rather, you need to create the tables beforehand and configure them. Actual table display is accomplished via a short code. One benefit of this approach is that it allows you to reuse the same table several times without unnecessarily duplicating data. So start off by selecting “Add New Table” from the TablePress menu on the left-hand side of the dashboard.

Here is where you will initially specify the name and description of the table as well as the tentative number of rows and columns. Don’t worry – the following screen where you actually enter the data will allow you to add rows and columns if you want.

In the next step, we need to manually enter the data in the table. However, TablePress also allows you to import information from external sources such as Excel and CSV files. To do this, head over to the “Import” tab, select the file and the format to import.

If you want to enter the information manually, you’ll be presented with the opportunity to do so immediately after you’ve added a new table. You can see below that I’ve created dummy table content to start off with:

After entering the data, you can choose various options for display. For example, you might want to retain the first row as the “table header”. You can decide whether or not you want rows to alternate in color. All of these optional but helpful features allow your table to stand out from a wall of text. You can also use the field “Extra CSS Classes” to assign the table a custom CSS class that you style separately.

hosting

Further down, are the JavaScript features. These provide interesting additions to your table so that users can more easily make sense of the information provided to them. Here you can enable sorting, pagination, and horizontal scrolling. You can even include a search box in real time that filters the table as text is entered. Extremely useful for tables with a lot of content!

Adding Tables via Shortcode

Once you’ve created and configured your table, head over to the post where you want to insert it. In the visual editor, locate the TablePress icon shown here:

This will bring up a list of all the tables you’ve created so far. Find the one you want and hit “Insert Shortcode” on the right-hand side as shown below:

This will output the necessary code to display the table when it is finally rendered. Note that you won’t be able to see it within the visual editor itself. Here’s how it looks when a user visits your website:

TablePress is a classy WordPress plug-in that does one job really well. Whether or not you want to install it for a single table on your website is up to you. A simple HTML table simply won’t be able to match the impact and usefulness of one created with this add-on.

Enter its URL below to find out now:

About the Author

Bhagwad Park is a technical writer from India and currently resides in Florida. He takes a keen interest in the IT world, the cloud, and also maintains a blog focusing on human rights in the developing world.

Watch this video!

Related articles

Godaddy change primary domain wordpress hostingIf you want to change your WordPress® site's domain name, you can use your WordPress control panel. However, you must also move your WordPress site's files to the proper location and make sure...
Host gratis per wordpress hostingAbsolutely free WordPress hosting by WPNode Absolutely free? Yes! No ads, no contract, no strict policies… No purchase required! Poor quality? No! We carefully build your WordPress home. It’s...
Multiple news feeds wordpress hostingRecently, one of our users asked if we could cover how to create a custom Facebook feed in WordPress? You can display Facebook posts from your page or group on your WordPress site to improve...
Insert page break wordpress hostingWhen creating or editing a WordPress page or blog post, you can easily add images at any time using the WordPress Media Uploader tool. Here’s how to add an image, step-by-step, using the media...
Best free wordpress hosting ukAbsolutely free WordPress hosting by WPNode Absolutely free? Yes! No ads, no contract, no strict policies… No purchase required! Poor quality? No! We carefully build your WordPress home. It’s...