Compare commits

..
2 Commits
Author SHA1 Message Date
biztechc 4e4f4c394e Change Compatible into readme.txt file 2015-08-20 12:42:18 +00:00
biztechc 4972909a25 Add new version 1.0.1 2015-06-23 06:10:16 +00:00
2 changed files with 5 additions and 11 deletions
-3
View File
@@ -71,7 +71,4 @@ Is this plugin prepared for multisites? Yes.
= 1.0.0 =
* Stable Version release
= 1.0.1 =
* Solved jquery confliction
== Upgrade Notice ==
+5 -8
View File
@@ -4,7 +4,7 @@
* Description: Features can be settings to meet your exact needs for your table implementations. like Paging,Ordering,Searching, etc...
* Author: biztechc
* Author URI: http://www.biztechconsultancy.com
* Version: 1.0.1
* Version: 1.0.0
*/
add_action('admin_menu', 'wp_jdt_create_menu');
@@ -243,10 +243,11 @@ add_action('wp_enqueue_scripts','wp_jdt_style_and_script'); // add custom style
function wp_jdt_style_and_script()
{
// css
wp_register_style( 'jdt-style-data-tables', plugins_url('css/jquery.dataTables.css', __FILE__) );
wp_enqueue_style( 'jdt-style-data-tables', plugins_url('css/jquery.dataTables.css', __FILE__) );
// js
wp_enqueue_script( 'jdt-js-datatables', plugins_url('js/jquery.dataTables.js', __FILE__), array('jquery') );
// js
wp_enqueue_script( 'jquery' );
wp_enqueue_script( 'jdt-js-datatables', plugins_url('js/jquery.dataTables.js', __FILE__) );
}
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"]
@@ -302,10 +303,6 @@ function wp_jdt_shortcode( $atts, $content = "" ) {
$wp_jdt_script .= "} ); \n";
$wp_jdt_script .= "</script>";
// css and js
wp_enqueue_style( 'jdt-style-data-tables' );
wp_enqueue_script( 'jdt-js-datatables' );
return $wp_jdt_script;
}