Shortcodes by Angie Makes - Version 1.47

Version Description

Download this release

Release Info

Developer cbaldelomar
Plugin Icon wp plugin Shortcodes by Angie Makes
Version 1.47
Comparing to
See all releases

Code changes from version 1.46 to 1.47

README.md CHANGED
@@ -66,6 +66,10 @@ Use the shortcode manager in the TinyMCE text editor
66
 
67
  ## Changelog ##
68
 
 
 
 
 
69
  ### Version 1.46
70
 
71
  * hide fullwidth items until they have broken free from their container.
66
 
67
  ## Changelog ##
68
 
69
+ ### Version 1.47
70
+
71
+ * Trigger custom event so other javascript elements can refresh when accordion, tabs, or toggle elements are opened.
72
+
73
  ### Version 1.46
74
 
75
  * hide fullwidth items until they have broken free from their container.
includes/js/accordion.js CHANGED
@@ -44,6 +44,8 @@
44
  }
45
  }
46
 
 
 
47
  });
48
  });
49
  });
44
  }
45
  }
46
 
47
+ $( document.body ).trigger( 'wcs-toggled' );
48
+
49
  });
50
  });
51
  });
includes/js/tabs.js CHANGED
@@ -22,6 +22,9 @@
22
 
23
  $target.show();
24
  $content.not($target).hide();
 
 
 
25
  });
26
  });
27
  });
22
 
23
  $target.show();
24
  $content.not($target).hide();
25
+
26
+ $( document.body ).trigger( 'wcs-toggled' );
27
+
28
  });
29
  });
30
  });
includes/js/toggle.js CHANGED
@@ -1 +1,11 @@
1
- jQuery(function($){
 
 
 
 
 
 
 
 
 
 
1
+ jQuery(function($){
2
+ "use strict";
3
+
4
+ $(document).ready(function(){
5
+ $(".wc-shortcodes-toggle-trigger").click(function(){
6
+ $(this).toggleClass("active").next().slideToggle("fast");
7
+ $( document.body ).trigger( 'wcs-toggled' );
8
+ return false;
9
+ });
10
+ });
11
+ });
readme.txt CHANGED
@@ -88,6 +88,10 @@ Use the shortcode manager in the TinyMCE text editor
88
 
89
  == Changelog ==
90
 
 
 
 
 
91
  ### Version 1.46
92
 
93
  * hide fullwidth items until they have broken free from their container.
88
 
89
  == Changelog ==
90
 
91
+ ### Version 1.47
92
+
93
+ * Trigger custom event so other javascript elements can refresh when accordion, tabs, or toggle elements are opened.
94
+
95
  ### Version 1.46
96
 
97
  * hide fullwidth items until they have broken free from their container.
wc-shortcodes.php CHANGED
@@ -5,11 +5,11 @@ Plugin URI: http://webplantmedia.com/starter-themes/wordpresscanvas/features/sho
5
  Description: A family of shortcodes to enhance site functionality.
6
  Author: Chris Baldelomar
7
  Author URI: http://webplantmedia.com/
8
- Version: 1.46
9
  License: GPLv2 or later
10
  */
11
 
12
- define( 'WC_SHORTCODES_VERSION', '1.46' );
13
  define( 'WC_SHORTCODES_PREFIX', 'wc_shortcodes_' );
14
  define( '_WC_SHORTCODES_PREFIX', '_wc_shortcodes_' );
15
  define( 'WC_SHORTCODES_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
5
  Description: A family of shortcodes to enhance site functionality.
6
  Author: Chris Baldelomar
7
  Author URI: http://webplantmedia.com/
8
+ Version: 1.47
9
  License: GPLv2 or later
10
  */
11
 
12
+ define( 'WC_SHORTCODES_VERSION', '1.47' );
13
  define( 'WC_SHORTCODES_PREFIX', 'wc_shortcodes_' );
14
  define( '_WC_SHORTCODES_PREFIX', '_wc_shortcodes_' );
15
  define( 'WC_SHORTCODES_PLUGIN_URL', plugin_dir_url( __FILE__ ) );