• Hi,

    I found in manual template function wp_table_reloaded_print_table() to show some table (based on ID). But I would like to list on my page all tables (only their titles and description), or only latest 10 tables. Is it possible somehow?

    I can probably pass ID as variable into wp_table_reloaded_print_table(), but some ID can be missing (deleted tables) and I am not sure how to get ID of the latest table? I tried to search through manual, but I was not successfull…

    Thank you very much for your help…

Viewing 1 replies (of 1 total)
  • Hi Pavel,

    that is not possible with that (or another) function directly.

    You would need some more code around it.
    My suggestion: Have a look at the files controller-admin.php and view-list.php.
    In the first file, you can see how the list of tables is loaded from the database (in function init_plugin()), while in the second function, the display logic is visible.

    Best wishes,
    Tobias

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: WP-Table Reloaded] List tables in template’ is closed to new replies.