• Resolved astar177

    (@astar177)


    Hi.

    I am currently creating a set of WP posts/pages which include shortcode references to CSV/XLSX tables I have imported with Tablepress.

    Currently if I include shortcode references to tables that do not exist, these shortcodes are translated to an error message such as [table “X” not found /].

    Would it be possible to hide the error message altogether?

    Basically I want to be able to include shortcodes to tables I know I will import later and then just have them automatically appear without having to go through all the pages again and add the shortcode references. Is that possible?

Viewing 1 replies (of 1 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Sure, that’s no problem! To hide that “not found” message, just add this to the end of your theme’s “functions.php” file:

    add_filter( 'tablepress_table_not_found_message', '__return_empty_string' );
    

    Regards,
    Tobias

Viewing 1 replies (of 1 total)
  • The topic ‘table not found error message’ is closed to new replies.