JTRT Responsive Tables Shortcode

Below, you’ll find a detailed guide on how to add the JTRT Responsive Tables Shortcode to your WordPress website, including its parameters, examples, and PHP function code. Additionally, we’ll assist you with common issues that might cause the JTRT Responsive Tables Plugin shortcode not to show or not to work correctly.

Before starting, here is an overview of the JTRT Responsive Tables Plugin and the shortcodes it provides:

Plugin Icon
JTRT Responsive Tables

"JTRT Responsive Tables is a dynamic WordPress plugin designed to create and manage mobile-friendly tables effortlessly, enhancing user experience on all platforms."

★★★✩✩ (33) Active Installs: 3000+ Tested with: 5.3.16 PHP Version: false
Included Shortcodes:
  • [jtrt_tables]

JTRT Responsive Tables [jtrt_tables] Shortcode

The jtrt-responsive-tables plugin shortcode is used to create and manage responsive tables in WordPress. It fetches table data from the database, applies various settings like sorting, paging, filtering, and customizes the table’s appearance.

Shortcode: [jtrt_tables]

Parameters

Here is a list of all possible jtrt_tables shortcode parameters and attributes:

  • id – Unique identifier for the specific table to display
  • filterrows – Specifies rows to exclude from the table
  • filtercols – Specifies columns to exclude from the table

Examples and Usage

Basic example – Display a table with a specific ID

[jtrt_tables id="1"]

Advanced examples

Display a table with a specific ID, filtering certain rows and columns

[jtrt_tables id="1" filterrows="2,3,4" filtercols="1,5"]

Display a table with a specific ID, only filtering certain columns

[jtrt_tables id="1" filtercols="1,2,3"]

Display a table with a specific ID, only filtering certain rows

[jtrt_tables id="1" filterrows="2,3,4"]

PHP Function Code

In case you have difficulties debugging what causing issues with [jtrt_tables] shortcode, check below the related PHP functions code.

Shortcode line:

add_shortcode( 'jtrt_tables', 'jtrt_shortcode_table' );

Shortcode PHP function:

Code file location:

jtrt-responsive-tables/jtrt-responsive-tables/admin/partials/jtrt-adminClass-shortcode.php

Conclusion

Now that you’ve learned how to embed the JTRT Responsive Tables Plugin shortcode, understood the parameters, and seen code examples, it’s easy to use and debug any issue that might cause it to ‘not work’. If you still have difficulties with it, don’t hesitate to leave a comment below.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *