• Resolved cyclocross

    (@cyclocross)


    I’ve searched all over for this, and believe I had it set using wp-table-reloaded, but wondering how I can change the default import setting to have the “print table name” checkbox ON by default?

    thanks much for your help. great plugin!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    For this, you will need a bit of extra code. Please try adding this to your theme’s “functions.php” file:

    add_filter( 'tablepress_table_template', 'cyclocross_tablepress_turn_on_table_name' );
    function cyclocross_tablepress_turn_on_table_name( $table ) {
    	$table['options']['print_name'] = true;
    	return $table;
    }

    Regards,
    Tobias

    Thread Starter cyclocross

    (@cyclocross)

    thanks so much. I’ll give it a try. I guess that’s what we did with wp-table-reloaded – but it’ll get over-written with a wordpress upgrade? is that true? thanks again.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! ??
    Yes, it’s possible that you used similar code for WP-Table Reloaded. However, as the code is not directly compatible, it stopped working in TablePress so that we need this new code.

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘turning on “print table name above” by default’ is closed to new replies.