forked from Michel2/wp-jquery-datatable
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3de35c30d7 | ||
|
|
a9143409e6 | ||
|
|
f1a8c171bb | ||
|
|
97dd64349c | ||
|
|
4855b9d6ab | ||
|
|
208bdd29d7 | ||
|
|
a8bed3a8c9 | ||
|
|
7883bcfccd | ||
|
|
8ca972956e | ||
|
|
7e74b70bf2 | ||
|
|
94137303d8 | ||
|
|
b71fd99957 | ||
|
|
dcbf8e755e | ||
|
|
ec18ebded5 | ||
|
|
781d3303fd | ||
|
|
1880961ea7 | ||
|
|
f6da73d22c | ||
|
|
676cc27c2b | ||
|
|
a9bb591b47 | ||
|
|
940591e760 | ||
|
|
333b4dbf89 | ||
|
|
f97d11d7ec | ||
|
|
cd382aa237 | ||
|
|
66392e7f11 | ||
|
|
577fa0e2d7 | ||
|
|
9970ae3372 | ||
|
|
ca8fe2a7ec | ||
|
|
485b30adad | ||
|
|
4880a7f9f2 | ||
|
|
033de51783 |
+26
-9
@@ -1,9 +1,9 @@
|
||||
=== WP jQuery DataTable ===
|
||||
Contributors: biztechc
|
||||
Tags: WP jQuery DataTable, jQuery, jQuery DataTable, Table
|
||||
Tags: WP jQuery DataTable, jQuery, jQuery DataTable, Table ,DataTable
|
||||
Requires at least: 3.6.1
|
||||
Tested up to: 4.9.1
|
||||
Stable tag: 1.1.0
|
||||
Tested up to: 6.1.1
|
||||
Stable tag: 4.0.1
|
||||
License: GPLv2 or later
|
||||
|
||||
Features can be settings to meet your exact needs for your table implementations. like Paging,Ordering,search, etc...
|
||||
@@ -68,17 +68,34 @@ Is this plugin prepared for multisites? Yes.
|
||||
|
||||
== Changelog ==
|
||||
|
||||
= 1.0.0 =
|
||||
* Stable Version release
|
||||
= 4.0.1 =
|
||||
* Compatibility with WordPress version 6.1.1
|
||||
|
||||
= 1.0.1 =
|
||||
* Solved jquery confliction
|
||||
= 4.0.0 =
|
||||
* Compatibility with WordPress version 5.8
|
||||
|
||||
= 1.0.2 =
|
||||
* Update new jquerydatatable js
|
||||
= 3.0.0 =
|
||||
* Compatibility with WordPress version 5.5
|
||||
|
||||
= 2.0.1 =
|
||||
* Compatibility with WordPress version 5.4
|
||||
|
||||
= 2.0.0 =
|
||||
* Compatibility with WordPress version 5.3
|
||||
|
||||
= 1.1.1 =
|
||||
* Bug fixed for warnings and notices
|
||||
|
||||
= 1.1.0 =
|
||||
* Make plugin language compatible
|
||||
* Bug fixed for paging and ordering
|
||||
|
||||
= 1.0.2 =
|
||||
* Update new jquerydatatable js
|
||||
|
||||
= 1.0.1 =
|
||||
* Solved jquery confliction
|
||||
|
||||
= 1.0.0 =
|
||||
* Stable Version release
|
||||
== Upgrade Notice ==
|
||||
|
||||
+11
-5
@@ -4,7 +4,8 @@
|
||||
* Description: Features can be settings to meet your exact needs for your table implementations. like Paging,Ordering,Searching, etc...
|
||||
* Author: biztechc
|
||||
* Author URI: https://www.appjetty.com/
|
||||
* Version: 1.1.0
|
||||
* Version: 4.0.1
|
||||
* WordPress Tested up to: 6.1.1
|
||||
*/
|
||||
|
||||
register_activation_hook( __FILE__, 'wp_jdt_activate_plugin' );
|
||||
@@ -289,6 +290,11 @@ function wp_jdt_shortcode( $atts, $content = "" ) {
|
||||
|
||||
$wp_jdt_info = get_option('wp_jdt_info');
|
||||
$wp_jdt_paging = get_option('wp_jdt_paging');
|
||||
/*if(get_option('wp_jdt_paging')){
|
||||
$wp_jdt_paging = 'true';
|
||||
}else{
|
||||
$wp_jdt_paging = '';
|
||||
}*/
|
||||
$wp_jdt_page_length = get_option('wp_jdt_page_length');
|
||||
$wp_jdt_paging_type = get_option('wp_jdt_paging_type');
|
||||
$wp_jdt_b_length_change = get_option('wp_jdt_b_length_change');
|
||||
@@ -327,9 +333,9 @@ function wp_jdt_shortcode( $atts, $content = "" ) {
|
||||
$wp_jdt_script .= "'pagingType': '$atts[paging_type]', \n";
|
||||
$wp_jdt_script .= "'bLengthChange': $atts[b_length_change], \n";
|
||||
$wp_jdt_script .= "'ordering': $atts[ordering], \n";
|
||||
if ( $atts[order_row_number] != '' ) { // if 'Specific Column Order' is not null than add this attribute
|
||||
if ( $atts['order_row_number'] != '' ) { // if 'Specific Column Order' is not null than add this attribute
|
||||
|
||||
$atts[order_row_number_sort] = ( $atts[order_row_number_sort] != "" ) ? $atts[order_row_number_sort] : 'desc';
|
||||
$atts['order_row_number_sort'] = ( $atts['order_row_number_sort'] != "" ) ? $atts['order_row_number_sort'] : 'desc';
|
||||
$wp_jdt_script .= "'order': [$atts[order_row_number],'$atts[order_row_number_sort]'], \n";
|
||||
}
|
||||
$wp_jdt_script .= "'searching': $atts[searching], \n";
|
||||
@@ -338,8 +344,8 @@ function wp_jdt_shortcode( $atts, $content = "" ) {
|
||||
$wp_jdt_script .= "jQuery('#$atts[id]_wrapper select').prepend('<option value=$atts[page_length]>" . __( 'Select' ) . "</option>').val('');";
|
||||
|
||||
// if 'Specific Column Order' is not null and ordring is true
|
||||
if ( $atts[order_row_number] != '' && $atts[ordering] == 'true' ) {
|
||||
$wp_jdt_script .= "jQuery('#$atts[id]_wrapper select')[0].options[0].selected = true;";
|
||||
if ( $atts['order_row_number'] != '' && $atts['ordering'] == 'true' ) {
|
||||
//$wp_jdt_script .= "jQuery('#$atts[id]_wrapper select')[0].options[0].selected = true;";
|
||||
}
|
||||
|
||||
$wp_jdt_script .= "} ); \n";
|
||||
|
||||
Reference in New Issue
Block a user