• Resolved Lenny

    (@smallbirdmedia)


    Hi, Downloaded the responsive tables extension. Wondering if instead having to manually add responsive=flip every time i insert a table, if there is a way to auto do it.

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

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    For this, you could set a default value via a filter hook function. For that, please add this to the end of your theme’s “functions.php” file:

    add_filter( 'tablepress_shortcode_table_default_shortcode_atts', 'lenny_tablepress_responsive_flip_default', 11 );
    function lenny_tablepress_responsive_flip_default( $default_atts ) {
    	$default_atts['responsive'] = 'flip';
    	return $default_atts;
    }

    Regards,
    Tobias

Viewing 1 replies (of 1 total)
  • The topic ‘Responsive Tables’ is closed to new replies.