Support » Plugin: WP jQuery DataTable » Exactly what I needed

  • Topher

    (@topher1kenobe)


    This worked really great. I have a plugin that outputs an html table via shortcode, and I simply put this code right above my table output:

    // print the jquery smart tables stuff
    ob_start();
        echo do_shortcode( "[wp_jdt id='beverage-table']" );
        $output .= ob_get_contents();
    ob_end_clean();

    Then I didn’t have to include it in my page, I only needed my own shortcode.

    • This topic was modified 1 year, 5 months ago by Topher.
  • The topic ‘Exactly what I needed’ is closed to new replies.