WP Custom Widget area - Version 1.2.1

Version Description

  • Widget area edit form bug fix
Download this release

Release Info

Developer krozero199
Plugin Icon wp plugin WP Custom Widget area
Version 1.2.1
Comparing to
See all releases

Code changes from version 1.2.0 to 1.2.1

README.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: krozero
3
  Tags: widget area, custom widget area, widget, simple widget area, custom sidebar, dynamic sidebar, menu, menus, custom menu, custom menu locations, menu location, menu area
4
  Requires at least: 3.0.1
5
  Tested up to: 4.3.1
6
- Stable tag: 1.2.0
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -42,6 +42,11 @@ It allows you to show custom widget areas and menu locations created with this p
42
  .mynewwidgetareaclass a{ color: red; }
43
  at the bottom of your style.css where ".mynewwidgetareaclass" is your widget area class.
44
 
 
 
 
 
 
45
 
46
  = How to use menu locations? =
47
  1. Create a new Menu Location.
@@ -72,6 +77,9 @@ It allows you to show custom widget areas and menu locations created with this p
72
 
73
  == Changelog ==
74
 
 
 
 
75
  = 1.2.0 =
76
  * Added widget area edit option
77
 
@@ -118,6 +126,9 @@ It allows you to show custom widget areas and menu locations created with this p
118
 
119
  == Upgrade Notice ==
120
 
 
 
 
121
  = 1.2.0 =
122
  * Added widget area edit option
123
 
3
  Tags: widget area, custom widget area, widget, simple widget area, custom sidebar, dynamic sidebar, menu, menus, custom menu, custom menu locations, menu location, menu area
4
  Requires at least: 3.0.1
5
  Tested up to: 4.3.1
6
+ Stable tag: 1.2.1
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
42
  .mynewwidgetareaclass a{ color: red; }
43
  at the bottom of your style.css where ".mynewwidgetareaclass" is your widget area class.
44
 
45
+ = How to edit widget area? =
46
+ 1. scroll down to the widget area table and click on the edit link.
47
+ 2. edit the widget area data.
48
+ 3. click on the update button to save changes.
49
+
50
 
51
  = How to use menu locations? =
52
  1. Create a new Menu Location.
77
 
78
  == Changelog ==
79
 
80
+ = 1.2.1 =
81
+ * Widget area edit form bug fix
82
+
83
  = 1.2.0 =
84
  * Added widget area edit option
85
 
126
 
127
  == Upgrade Notice ==
128
 
129
+ = 1.2.1 =
130
+ * Widget area edit form bug fix
131
+
132
  = 1.2.0 =
133
  * Added widget area edit option
134
 
admin/js/wp-custom-widget-area-admin.js CHANGED
@@ -86,7 +86,7 @@
86
  for (var k in data){
87
  if (typeof data[k] !== 'function') {
88
  //alert("Key is " + k + ", value is" + target[k]);
89
- $('#cwa-form input[name='+k+']').val(data[k]);
90
  // console.log($('#cwa-form #'+k));
91
  }
92
  }
@@ -237,9 +237,11 @@
237
  function resetForm(){
238
  $('.cwa-form input[type="hidden"]' ).val('');
239
  $('.cwa-form input[disabled]' ).prop('disabled', false);
 
240
  $('.cwa-form input[type="text"]' ).val('');
241
  $('.cwa-form input[type="submit"]' ).val('Create');
242
  $('.cwa-form .cwa-form-message' ).empty();
 
243
  }
244
  function runTooltip(){
245
  $('.tooltip').tooltipster({
86
  for (var k in data){
87
  if (typeof data[k] !== 'function') {
88
  //alert("Key is " + k + ", value is" + target[k]);
89
+ $('#cwa-form [name='+k+']').val(data[k]);
90
  // console.log($('#cwa-form #'+k));
91
  }
92
  }
237
  function resetForm(){
238
  $('.cwa-form input[type="hidden"]' ).val('');
239
  $('.cwa-form input[disabled]' ).prop('disabled', false);
240
+ $('.cwa-form select' ).val('');
241
  $('.cwa-form input[type="text"]' ).val('');
242
  $('.cwa-form input[type="submit"]' ).val('Create');
243
  $('.cwa-form .cwa-form-message' ).empty();
244
+
245
  }
246
  function runTooltip(){
247
  $('.tooltip').tooltipster({
includes/config.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*plugin configs*/
3
  global $wpdb;
4
- $kz_db_version = '1.2.0';
5
  $table_name = $wpdb->prefix . 'cwa';
6
  $charset_collate = '';
7
  ?>
1
  <?php
2
  /*plugin configs*/
3
  global $wpdb;
4
+ $kz_db_version = '1.2.1';
5
  $table_name = $wpdb->prefix . 'cwa';
6
  $charset_collate = '';
7
  ?>
wp-custom-widget-area.php CHANGED
@@ -16,7 +16,7 @@
16
  * Plugin Name: WP Custom Widget area
17
  * Plugin URI: http://kishorkhambu.com.np/plugins/
18
  * Description: A wordpress plugin to create custom dynamic widget area.
19
- * Version: 1.2.0
20
  * Author: Kishor Khambu
21
  * Author URI: http://kishorkhambu.com.np
22
  * License: GPL-2.0+
16
  * Plugin Name: WP Custom Widget area
17
  * Plugin URI: http://kishorkhambu.com.np/plugins/
18
  * Description: A wordpress plugin to create custom dynamic widget area.
19
+ * Version: 1.2.1
20
  * Author: Kishor Khambu
21
  * Author URI: http://kishorkhambu.com.np
22
  * License: GPL-2.0+