“League Table” Documentation by “DAEXT” v2.09


“League Table”

Created: 17/08/2020
By: DAEXT
Email: support@daext.com

Thank you for using League Table. If you have any questions that are beyond the scope of this help file please contact us via email or with the contact form available in our CodeCanyon Profile.


Table of Contents

  1. Video Tutorials
  2. Installation (Single Site)
  3. Installation (Multisite)
  4. Tables Menu
  5. Import Menu
  6. Export Menu
  7. Options Menu
  8. Include a table in a post
  9. Upgrade from version 1.x to 2.x
  10. Credits
  11. FAQ

A) Video Tutorials

This video series covers the functionalities of the the League Table plugin.

Please note that not all the aspects and implications are covered in this section, it's recommended that you read the entire documentation (FAQ included) before using this plugin in a production environment or asking for support to the plugin author.


B) Installation (Single Site)

With this procedure you will be able to install the League Table plugin on your WordPress website.

  1. Visit the Plugins -> Add New menu
  2. Click on the Upload Plugin button and select the zip file you just downloaded
  3. Click on Install Now
  4. Click on Activate Plugin

C) Installation (Multisite)

This plugin supports both a Network Activation (the plugin will be activate on all the sites of your WordPress Network) and a Single Site Activation in a WordPress Network environment (your plugin will be activate on a single site of the network).

With this procedure you will be able to perform a Network Activation:

  1. Visit the Plugins -> Add New menu
  2. Click on the Upload Plugin button and select the zip file you just downloaded
  3. Click on Install Now
  4. Click on Network Activate

With this procedure you will be able to perform a Single Site Activation in a WordPress Network environment:

  1. Visit the specific site of the WordPress Network where you want to install the plugin
  2. Visit the Plugins menu
  3. Click on the Activate button

D) Tables Menu

The League Table -> Tables menu is the most important administrative page of this plugin and allows you to create, edit and delete tables.

With this procedure you will be able to create a table:

  1. In the main form enter the Name and the Description of the table
  2. Set the Rows and the Columns of the table
  3. Enter the values that will be displayed in the table in the Data spreadsheet editor
  4. Customize the look and the behavior of the table with the 105 available options (to receive more information about a specific option hover the mouse cursor over the black question mark on the right of the option)
  5. Save the table by clicking the Add Table button

With this procedure you will be able to edit a table:

  1. Click the pencil icon associated with the table
  2. Modify the table options and data based on your needs
  3. Use the Update Table button to save your changes
If you want to customize a specific cell of the table this plugin gives you the ability to create and delete cell properties. Follow this procedure to create cell properties:

  1. In the Data spreadsheet editor click the cell for which you want to add the properties
  2. Use the 17 properties that will appear on the cell properties area to customize the cell (to receive more information about a specific cell property hover the mouse cursor over the black question mark on the right of the cell property)
  3. Click the Add Cell Properties button to create the properties

E) Import Menu

With the League Table -> Import menu you will be able to import tables previously exported with the League Table -> Export menu.

Follow this procedure to import a table or multiple tables:

  1. Click the Choose File button
  2. Select the XML file that includes the tables
  3. Click the Upload file and import button

F) Export Menu

With the League Table -> Export menu you will be able to generate an XML file that includes all your tables. Having your tables saved in an XML file is extremely convenient as a backup method, or if you want to move your tables between different WordPress installations or between different sites of a WordPress network.

Follow this procedure to export your tables:

  1. Click the Export button
  2. The XML file will be downloaded in the default download folder of your operative system


G) Options Menu

The League Table -> Options menu allows you to configure the plugin options. To receive more information about a specific option hover the mouse cursor over the black question mark on the right of the option.



H) Include a table in a post

Please follow this procedure to include a table in a post with the TinyMCE editor

  1. Edit a post, page or custom post type
  2. Set the editor in Visual Mode
  3. Click the League Table button
  4. Search or select a table with the provided select box
  5. Click the Add Table button

Please follow this procedure to include a table in a post with the League Table block:

  1. Edit a post, page or custom post type
  2. Select the Visual Editor mode
  3. Add the League Table block
  4. Search or select a table with the provided select box


I) Upgrade from version 1.x to 2.x

The tables of version 2.x are stored inside database tables that have a structure partially compatible with the database tables used in version 1.x, for this reason not all the information associated with the tables created with version 1.x will be available in version 2.x

Only the following data will be transferred from version 1.x to version 2.x:

If you have installed League Table 1.x and you want to update the plugin to League Table 2.x please proceed as follows:

  1. Backup your website
  2. From the plugins menu click "Deactivate" to deactivate League Table version 1.x
  3. Completely delete the public_html/wp-content/plugins/league-table/ folder from your server file system
  4. Create the public_html/wp-content/plugins/league-table/ folder and include the files of League Table 2.x
  5. From the plugins menu click "Activate"
League Table 2.x should now be properly installed. Please note that the identifiers of the tables will change when you import the tables from version 1.x, for this reason you have also to update the shortcodes used to include the tables in your posts. With version 2.x you can easily add the shortcodes in your posts with the The TinyMCE Button.

Please note that  this procedure does not delete the database tables used by League Table 1.x, for this reason if you experience any problems during the update process you can go back to the old version simply by copying the files of version 1.x in the public_html/wp-content/plugins/league-table/ folder.

If the upgrade process is successful you can use phpMyAdmin to delete from your database the following database tables used only by version 1.x:


H) Credits

This plugin makes use of the following resources:


J) FAQ

Why the links placed in the header cells are not displayed?

If the Enable Manual Sorting option is enabled, the links in the header cells will not be displayed because the click event will be used to sort the columns.

Why the images are not aligned with the text of the cell?

You can avoid image collapsing by giving enough space to the table cells that include the images. You can achieve this with one of these methods:

Why the text of a cell is distributed on multiple lines?

When there isn't enough space the text of a cell is distributed on multiple lines. You can solve this problem by using the same methods suggested in the Why the images are not aligned with the text of the cell? FAQ.

Which date format should I use?

To sort a table based on a column which include dates please use this table as a reference:

Format Example 1 Example 2 Example 3 Example 4 Example 5
Time 03:00 AM 08:20 14:40 18:00 07:15 PM
ISO Date 1981-02-15 2015-01-15 2017-03-21 2018-12-24 2021-05-27
US Long Date 07 Nov 1946 06 Apr 1984 23 Nov 2011 25 Oct 2016 12 Nov 2023
Short Date (DDMMYYYY) 25/12/2016 25-12-2016 25.12.2016 25,12,2016 25 12 2016
Short Date (YYYYMMDD) 2016/12/25 2016-12-25 2016.12.25 2016,12,25 2016 12 25
Short Date (MMDDYYYY) 12/25/2016 12-25-2016 12.25.2016 12,25,2016 12 25 2016

How to increase the maximum number of supported rows and columns?

To avoid performance issues the maximum number of rows has been limited to 10000 and the maximum number of columns has been limited to 40. If you want to modify the maximum number of supported rows and columns please contact the plugin support.

Why I receive the message "You can't use multiple times the same shortcode."?

This message is generated in the following situations:

Which versions of PHP are supported?

PHP 5.2 and later versions are supported.

WordPress 4.0 and later versions are supported.