forked from Michel2/wp-jquery-datatable
Bumped DataTables to version 2.3.8
This commit is contained in:
@@ -283,10 +283,10 @@ add_action('wp_enqueue_scripts', 'wp_jdt_style_and_script'); // add custom styl
|
||||
function wp_jdt_style_and_script()
|
||||
{
|
||||
// css
|
||||
wp_register_style('jdt-style-data-tables', plugins_url('css/jquery.dataTables.css', __FILE__));
|
||||
wp_register_style('jdt-style-data-tables', plugins_url('css/dataTables.dataTables.css', __FILE__), array(), '2.3.8');
|
||||
|
||||
// js
|
||||
wp_enqueue_script('jdt-js-datatables', plugins_url('js/jquery.dataTables.js', __FILE__), array('jquery'));
|
||||
wp_enqueue_script('jdt-js-datatables', plugins_url('js/dataTables.js', __FILE__), array('jquery'), '2.3.8');
|
||||
}
|
||||
|
||||
add_shortcode('wp_jdt', 'wp_jdt_shortcode'); // add shortcode [wp_jdt id="test" info="true" paging="true" page_length="7" paging_type="full_numbers" b_length_change="true" ordering="true" order_row_number="3" order_row_number_sort="desc" searching="true"]
|
||||
|
||||
Reference in New Issue
Block a user