Change the [table] Shortcode

Changing the name of the used Shortcode can be useful in several cases:

  • You want it to be in your native language (i.e. for German: Tabelle instead of table).
  • Another plugin or the theme is already using table as its Shortcode.
  • Your generated tables resemble something specific, i.e. a set of data, or a ranking.

This Extension will allow you to change the Shortcode from e.g.

[table id=1 /]Code language: JSON / JSON with Comments (json)

to

[ranking id=1 /]Code language: JSON / JSON with Comments (json)

Of course you can change ranking to anything you like, by simply editing the source code in the Extension’s PHP file.

To use this Extension, just install and activate it like a regular WordPress plugin, and change the code in the PHP file to the desired Shortcode.