Collapse-O-Matic - Version 1.7.13

Version Description

  • corrected typos
  • cleaned up code
  • added togglegroup highlander grouping
  • fixed issue of rel or group values that consist only of numbers
  • findme now supports auto, trigger, target and numeric values
  • removed excerpt the_content filtering, added added filters for excerpt and swapexcerpt
  • fully tested with WordPress 5.6.0
Download this release

Release Info

Developer baden03
Plugin Icon 128x128 Collapse-O-Matic
Version 1.7.13
Comparing to
See all releases

Code changes from version 1.7.12 to 1.7.13

Files changed (4) hide show
  1. README.md +6 -14
  2. collapse-o-matic.php +22 -59
  3. js/collapse.js +51 -24
  4. readme.txt +20 -7
README.md CHANGED
@@ -1,24 +1,18 @@
1
- Collapse-O-Matic
2
- ================
3
-
4
  * Contributors: twinpictures, baden03
5
  * Donate link: https://plugins.twinpictures.de/plugins/collapse-o-matic/
6
  * Tags: collapse, expand, collapsible, expandable, expandable content, collapsable content, shortcode, hidden, hide, display, accordion, accordion, jQuery, javascript, roll-your-own, twinpictures, read me, read more, more, plugin oven
7
  * Requires at least: 4.7
8
- * Tested up to: 5.4.1
9
- * Stable tag: 1.7.12
10
  * Requires PHP: 7.0
11
  * License: GPLv2 or later
12
  * License URI: https://www.gnu.org/licenses/gpl-2.0.html
13
 
14
- Description
15
- -----------
16
-
17
  Collapse-O-Matic adds an `[expand title="trigger text"]hidden content[/expand]` shortcode that will wrap any content, including other shortcodes, into a lovely jQuery expanding and collapsing div. A <a href='https://plugins.twinpictures.de/plugins/collapse-o-matic/documentation/'>complete listing of shortcode options and attribute demos</a> are available, as well as <a href='https://wordpress.org/support/plugin/jquery-collapse-o-matic'>free community</a> support.
18
 
19
- Installation
20
- ------------
21
-
22
  1. Old-school: upload the `collapse-o-matic` folder to the `/wp-content/plug-ins/` directory via FTP. Hipster: Ironically add collapse-o-matic via the WordPress Plug-ins menu.
23
  1. Activate the Plug-in
24
  1. Add a the shortcode to your post like so: `[expand title="Displayed Title Goes Here"]Hidden content goes here[/expand]`
@@ -27,9 +21,7 @@ Installation
27
  1. Rate the plug-in and verify if it works at wordpress.org.
28
  1. Leave a comment regarding bugs, feature request, cocktail recipes at https://wordpress.org/tags/jquery-collapse-o-matic/
29
 
30
- Frequently Asked Questions
31
- --------------------------
32
-
33
  <b>Where can I translate this plugin into my favourite language?</b>
34
  * <a href='https://translate.wordpress.org/projects/wp-plugins/jquery-collapse-o-matic'>Community translation for Collapse-O-Matic</a> is available via the WordPress Translation project.
35
 
1
+ #Collapse-O-Matic
 
 
2
  * Contributors: twinpictures, baden03
3
  * Donate link: https://plugins.twinpictures.de/plugins/collapse-o-matic/
4
  * Tags: collapse, expand, collapsible, expandable, expandable content, collapsable content, shortcode, hidden, hide, display, accordion, accordion, jQuery, javascript, roll-your-own, twinpictures, read me, read more, more, plugin oven
5
  * Requires at least: 4.7
6
+ * Tested up to: 5.6.0
7
+ * Stable tag: 1.7.13
8
  * Requires PHP: 7.0
9
  * License: GPLv2 or later
10
  * License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
12
+ ##Description
 
 
13
  Collapse-O-Matic adds an `[expand title="trigger text"]hidden content[/expand]` shortcode that will wrap any content, including other shortcodes, into a lovely jQuery expanding and collapsing div. A <a href='https://plugins.twinpictures.de/plugins/collapse-o-matic/documentation/'>complete listing of shortcode options and attribute demos</a> are available, as well as <a href='https://wordpress.org/support/plugin/jquery-collapse-o-matic'>free community</a> support.
14
 
15
+ #Installation
 
 
16
  1. Old-school: upload the `collapse-o-matic` folder to the `/wp-content/plug-ins/` directory via FTP. Hipster: Ironically add collapse-o-matic via the WordPress Plug-ins menu.
17
  1. Activate the Plug-in
18
  1. Add a the shortcode to your post like so: `[expand title="Displayed Title Goes Here"]Hidden content goes here[/expand]`
21
  1. Rate the plug-in and verify if it works at wordpress.org.
22
  1. Leave a comment regarding bugs, feature request, cocktail recipes at https://wordpress.org/tags/jquery-collapse-o-matic/
23
 
24
+ #Frequently Asked Questions
 
 
25
  <b>Where can I translate this plugin into my favourite language?</b>
26
  * <a href='https://translate.wordpress.org/projects/wp-plugins/jquery-collapse-o-matic'>Community translation for Collapse-O-Matic</a> is available via the WordPress Translation project.
27
 
collapse-o-matic.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Collapse-O-Matic
4
  Text Domain: jquery-collapse-o-matic
5
  Plugin URI: https://plugins.twinpictures.de/plugins/collapse-o-matic/
6
  Description: Collapse-O-Matic adds an [expand] shortcode that wraps content into a lovely, jQuery collapsible div.
7
- Version: 1.7.12
8
  Author: twinpictures, baden03
9
  Author URI: https://twinpictures.de/
10
  License: GPL2
@@ -29,7 +29,7 @@ class WP_Collapse_O_Matic {
29
  * Current version
30
  * @var string
31
  */
32
- var $version = '1.7.12';
33
 
34
  /**
35
  * Used as prefix for options entry
@@ -138,7 +138,7 @@ class WP_Collapse_O_Matic {
138
  if($this->options['script_location'] == 'footer' ){
139
  $load_in_footer = true;
140
  }
141
- wp_register_script('collapseomatic-js', plugins_url('js/collapse.js', __FILE__), array('jquery'), '1.6.19', $load_in_footer);
142
  if( empty($this->options['script_check']) ){
143
  wp_enqueue_script('collapseomatic-js');
144
  }
@@ -221,7 +221,10 @@ class WP_Collapse_O_Matic {
221
  ), $atts, 'expand'));
222
 
223
  //collapse commander
224
- if(!empty($cid)){
 
 
 
225
  $args = array(
226
  'post_type' => 'expand-element',
227
  'p' => $cid,
@@ -231,53 +234,17 @@ class WP_Collapse_O_Matic {
231
  while ( $query_commander->have_posts() ) {
232
  $query_commander->the_post();
233
  $title = get_the_title();
234
-
235
- //meta values
236
- $meta_values = get_post_meta( $cid );
237
- foreach($meta_values as $key => $value){
238
- if(!empty($value) && $key[0] != '_'){
239
- ${substr($key, 9)} = $value[0];
240
- }
241
- }
242
- if(!empty($triggertext)){
243
- $title = $triggertext;
244
- }
245
- if(!empty($highlander) && !empty($rel)){
246
- $rel .= '-highlander';
247
- }
248
-
249
- //content
250
  $content = get_the_content();
251
  }
252
- }else{
253
- return null;
254
  }
255
  wp_reset_postdata();
256
- }
257
 
258
- //expand templates from collapse commander
259
- if(!empty($template_id)){
260
- $args = array(
261
- 'post_type' => 'expand-template',
262
- 'p' => $template_id,
263
- );
264
- $query_commander = new WP_Query( $args );
265
- if ( $query_commander->have_posts() ) {
266
- while ( $query_commander->have_posts() ) {
267
- $query_commander->the_post();
268
- $meta_values = get_post_meta( $template_id );
269
- foreach($meta_values as $key => $value){
270
- if(!empty($value) && $key[0] != '_'){
271
- //var_dump( substr($key, 9), $value[0]);
272
- ${substr($key, 9)} = $value[0];
273
- }
274
- }
275
- if(!empty($highlander) && !empty($rel)){
276
- $rel .= '-highlander';
277
- }
278
- }
279
  }
280
- wp_reset_postdata();
281
  }
282
 
283
  //content filtering
@@ -336,13 +303,8 @@ class WP_Collapse_O_Matic {
336
 
337
  if($excerpt){
338
  $excerpt = str_replace($placeholder_arr, $swapout_arr, $excerpt);
339
- if(empty($filter) || $filter == 'false'){
340
- $excerpt = do_shortcode($excerpt);
341
- }
342
- else{
343
- $excerpt = apply_filters( 'the_content', $excerpt );
344
- $excerpt = str_replace( ']]>', ']]&gt;', $excerpt );
345
- }
346
 
347
  if($targpos == 'inline'){
348
  $excerpt .= $eDiv;
@@ -357,13 +319,8 @@ class WP_Collapse_O_Matic {
357
  //swapexcerpt
358
  if($swapexcerpt !== false){
359
  $swapexcerpt = str_replace($placeholder_arr, $swapout_arr, $swapexcerpt);
360
- if(empty($filter) || $filter == 'false'){
361
- $swapexcerpt = do_shortcode($swapexcerpt);
362
- }
363
- else{
364
- $swapexcerpt = apply_filters( 'the_content', $swapexcerpt );
365
- $swapexcerpt = str_replace( ']]>', ']]&gt;', $swapexcerpt );
366
- }
367
  $nibble .= '<'.$excerpttag.' id="swapexcerpt-'.$id.'" style="display:none;">'.$swapexcerpt.'</'.$excerpttag.'>';
368
  }
369
  }
@@ -578,6 +535,12 @@ class WP_Collapse_O_Matic {
578
  <br /><span class="description"><?php printf( __('Default %sCollapse Commander%s ID', 'jquery-collapse-o-matic'), '<a href="https://plugins.twinpictures.de/premium-plugins/collapse-commander/" target="_blank">', '</a>'); ?></span></label>
579
  </td>
580
  </tr>
 
 
 
 
 
 
581
  <?php endif; ?>
582
 
583
  <tr>
4
  Text Domain: jquery-collapse-o-matic
5
  Plugin URI: https://plugins.twinpictures.de/plugins/collapse-o-matic/
6
  Description: Collapse-O-Matic adds an [expand] shortcode that wraps content into a lovely, jQuery collapsible div.
7
+ Version: 1.7.13
8
  Author: twinpictures, baden03
9
  Author URI: https://twinpictures.de/
10
  License: GPL2
29
  * Current version
30
  * @var string
31
  */
32
+ var $version = '1.7.13';
33
 
34
  /**
35
  * Used as prefix for options entry
138
  if($this->options['script_location'] == 'footer' ){
139
  $load_in_footer = true;
140
  }
141
+ wp_register_script('collapseomatic-js', plugins_url('js/collapse.js', __FILE__), array('jquery'), '1.6.23', $load_in_footer);
142
  if( empty($this->options['script_check']) ){
143
  wp_enqueue_script('collapseomatic-js');
144
  }
221
  ), $atts, 'expand'));
222
 
223
  //collapse commander
224
+ if( !empty($cid) && is_plugin_active( 'collapse-commander/collapse-commander.php') ){
225
+ $meta_values = WP_CollapseCommander::meta_grabber($cid);
226
+ extract(shortcode_atts($meta_values, $atts));
227
+
228
  $args = array(
229
  'post_type' => 'expand-element',
230
  'p' => $cid,
234
  while ( $query_commander->have_posts() ) {
235
  $query_commander->the_post();
236
  $title = get_the_title();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
237
  $content = get_the_content();
238
  }
 
 
239
  }
240
  wp_reset_postdata();
 
241
 
242
+ if(!empty($triggertext)){
243
+ $title = $triggertext;
244
+ }
245
+ if(!empty($highlander) && !empty($rel)){
246
+ $rel .= '-highlander';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
247
  }
 
248
  }
249
 
250
  //content filtering
303
 
304
  if($excerpt){
305
  $excerpt = str_replace($placeholder_arr, $swapout_arr, $excerpt);
306
+ $excerpt = do_shortcode($excerpt);
307
+ $excerpt = apply_filters( 'colomat_excerpt', $excerpt );
 
 
 
 
 
308
 
309
  if($targpos == 'inline'){
310
  $excerpt .= $eDiv;
319
  //swapexcerpt
320
  if($swapexcerpt !== false){
321
  $swapexcerpt = str_replace($placeholder_arr, $swapout_arr, $swapexcerpt);
322
+ $swapexcerpt = do_shortcode($swapexcerpt);
323
+ $swapexcerpt = apply_filters( 'colomat_swapexcerpt', $swapexcerpt );
 
 
 
 
 
324
  $nibble .= '<'.$excerpttag.' id="swapexcerpt-'.$id.'" style="display:none;">'.$swapexcerpt.'</'.$excerpttag.'>';
325
  }
326
  }
535
  <br /><span class="description"><?php printf( __('Default %sCollapse Commander%s ID', 'jquery-collapse-o-matic'), '<a href="https://plugins.twinpictures.de/premium-plugins/collapse-commander/" target="_blank">', '</a>'); ?></span></label>
536
  </td>
537
  </tr>
538
+ <?php else: ?>
539
+ <tr>
540
+ <th><?php _e( 'Collapse Management', 'colpromat' ) ?></th>
541
+ <td><?php printf(__( '%sCollapse Commander%s is an add-on plugin that introduces an advanced management interface to better organize expand elements and simplify expand shortcodes.', 'colpromat' ), '<a href="https://plugins.twinpictures.de/premium-plugins/collapse-commander/">', '</a>'); ?>
542
+ </td>
543
+ </tr>
544
  <?php endif; ?>
545
 
546
  <tr>
js/collapse.js CHANGED
@@ -1,8 +1,8 @@
1
  /*!
2
- * Collapse-O-Matic JavaSctipt v1.6.19
3
  * http://plugins.twinpictures.de/plugins/collapse-o-matic/
4
  *
5
- * Copyright 2019, Twinpictures
6
  *
7
  * Permission is hereby granted, free of charge, to any person obtaining a copy
8
  * of this software and associated documentation files (the "Software"), to deal
@@ -117,13 +117,16 @@ function toggleState (obj, id, maptastic, trig_id) {
117
  //deal with any findme links
118
  if(trig_id && jQuery('#'+trig_id).is('.find-me.colomat-close')){
119
  //offset_top = jQuery('#find-'+trig_id).attr('name');
120
- offset_top = jQuery('#'+trig_id).attr('data-findme');
 
121
 
122
- if(!offset_top || offset_top == 'auto'){
 
 
 
123
  target_offset = jQuery('#'+trig_id).offset();
124
- offset_top = target_offset.top;
125
  }
126
- jQuery('html, body').animate({scrollTop:offset_top}, 500);
127
  }
128
  });
129
  }
@@ -140,14 +143,16 @@ function toggleState (obj, id, maptastic, trig_id) {
140
 
141
  //deal with any findme links
142
  if(trig_id && jQuery('#'+trig_id).is('.find-me.colomat-close')){
143
- //offset_top = jQuery('#find-'+trig_id).attr('name');
144
- offset_top = jQuery('#'+trig_id).attr('data-findme');
145
 
146
- if(!offset_top || offset_top == 'auto'){
 
 
 
147
  target_offset = jQuery('#'+trig_id).offset();
148
- offset_top = target_offset.top;
149
  }
150
- jQuery('html, body').animate({scrollTop:offset_top}, 500);
151
  }
152
  });
153
  }
@@ -211,23 +216,34 @@ function closeOtherGroups(rel){
211
  });
212
  }
213
 
214
- function closeOtherMembers(rel, id){
215
  jQuery('.collapseomatic[rel="' + rel +'"]').each(function(index) {
216
- if(jQuery(this).hasClass('colomat-expand-only') && jQuery(this).hasClass('colomat-close')){
 
 
 
 
 
 
 
 
 
 
 
217
  return;
218
  }
219
 
220
  //add close class if open
221
- if(jQuery(this).attr('id') != id && jQuery(this).hasClass('colomat-close') && jQuery(this).attr('rel') !== undefined){
222
  //collapse the element
223
- jQuery(this).removeClass('colomat-close');
224
- var thisid = jQuery(this).attr('id');
225
  //remove parent highlight class
226
  jQuery('#parent-'+thisid).removeClass('colomat-parent-highlight');
227
 
228
  //check if the title needs to be swapped out
229
  if(jQuery("#swap-"+thisid).length > 0){
230
- swapTitle(this, "#swap-"+thisid);
231
  }
232
 
233
  //check if the excerpt needs to be swapped out
@@ -246,11 +262,11 @@ function closeOtherMembers(rel, id){
246
  });
247
 
248
  //check for snap-shut
249
- if(!jQuery(this).hasClass('colomat-close') && jQuery(this).hasClass('snap-shut')){
250
  jQuery('#target-'+thisid).hide();
251
  }
252
  else{
253
- toggleState (jQuery(this), thisid, false, false);
254
  }
255
 
256
  //check if there are nested children that need to be collapsed
@@ -312,7 +328,6 @@ function closeOtherMembers(rel, id){
312
  }
313
  })
314
  }
315
- });
316
  }
317
 
318
  function colomat_expandall(loop_items){
@@ -444,8 +459,13 @@ jQuery(document).ready(function() {
444
  return;
445
  }
446
 
447
- //highlander must be one
448
- if(jQuery(this).attr('rel') && jQuery(this).attr('rel').indexOf('-highlander') != '-1' && jQuery(this).hasClass('must-be-one') && jQuery(this).hasClass('colomat-close')){
 
 
 
 
 
449
  return;
450
  }
451
 
@@ -552,15 +572,22 @@ jQuery(document).ready(function() {
552
 
553
  //deal with grouped items if needed
554
  if(jQuery(this).attr('rel') !== undefined){
555
- var rel = jQuery(this).attr('rel');
556
  if(rel.indexOf('-highlander') != '-1'){
557
- closeOtherMembers(rel, id);
558
  }
559
  else{
560
  closeOtherGroups(rel);
561
  }
562
  }
563
 
 
 
 
 
 
 
 
564
  if(offset_top){
565
  jQuery('html, body').animate({scrollTop:offset_top}, 500);
566
  }
1
  /*!
2
+ * Collapse-O-Matic JavaSctipt v1.6.23
3
  * http://plugins.twinpictures.de/plugins/collapse-o-matic/
4
  *
5
+ * Copyright 2020, Twinpictures
6
  *
7
  * Permission is hereby granted, free of charge, to any person obtaining a copy
8
  * of this software and associated documentation files (the "Software"), to deal
117
  //deal with any findme links
118
  if(trig_id && jQuery('#'+trig_id).is('.find-me.colomat-close')){
119
  //offset_top = jQuery('#find-'+trig_id).attr('name');
120
+ findme = jQuery('#'+trig_id).attr('data-findme');
121
+ target_offset = jQuery('#'+trig_id).offset();
122
 
123
+ if( findme == 'auto' || findme == 'target'){
124
+ target_offset = jQuery('#target-'+trig_id).offset();
125
+ }
126
+ if( findme == 'trigger'){
127
  target_offset = jQuery('#'+trig_id).offset();
 
128
  }
129
+ jQuery('html, body').animate({scrollTop:target_offset.top}, 500);
130
  }
131
  });
132
  }
143
 
144
  //deal with any findme links
145
  if(trig_id && jQuery('#'+trig_id).is('.find-me.colomat-close')){
146
+ findme = jQuery('#'+trig_id).attr('data-findme');
147
+ target_offset = jQuery('#'+trig_id).offset();
148
 
149
+ if( findme == 'auto' || findme == 'target'){
150
+ target_offset = jQuery('#target-'+trig_id).offset();
151
+ }
152
+ if( findme == 'trigger'){
153
  target_offset = jQuery('#'+trig_id).offset();
 
154
  }
155
+ jQuery('html, body').animate({scrollTop:target_offset.top}, 500);
156
  }
157
  });
158
  }
216
  });
217
  }
218
 
219
+ function closeOtherRelMembers(rel, id){
220
  jQuery('.collapseomatic[rel="' + rel +'"]').each(function(index) {
221
+ closeOtherMembers( this, id);
222
+ });
223
+ }
224
+
225
+ function closeOtherTogMembers(togname, id){
226
+ jQuery('.collapseomatic[data-togglegroup="' + togname +'"]').each(function(index) {
227
+ closeOtherMembers( this, id);
228
+ });
229
+ }
230
+
231
+ function closeOtherMembers(obj, id){
232
+ if(jQuery(obj).hasClass('colomat-expand-only') && jQuery(obj).hasClass('colomat-close')){
233
  return;
234
  }
235
 
236
  //add close class if open
237
+ if(jQuery(obj).attr('id') != id && jQuery(obj).hasClass('colomat-close')){
238
  //collapse the element
239
+ jQuery(obj).removeClass('colomat-close');
240
+ var thisid = jQuery(obj).attr('id');
241
  //remove parent highlight class
242
  jQuery('#parent-'+thisid).removeClass('colomat-parent-highlight');
243
 
244
  //check if the title needs to be swapped out
245
  if(jQuery("#swap-"+thisid).length > 0){
246
+ swapTitle(obj, "#swap-"+thisid);
247
  }
248
 
249
  //check if the excerpt needs to be swapped out
262
  });
263
 
264
  //check for snap-shut
265
+ if(!jQuery(obj).hasClass('colomat-close') && jQuery(obj).hasClass('snap-shut')){
266
  jQuery('#target-'+thisid).hide();
267
  }
268
  else{
269
+ toggleState (jQuery(obj), thisid, false, false);
270
  }
271
 
272
  //check if there are nested children that need to be collapsed
328
  }
329
  })
330
  }
 
331
  }
332
 
333
  function colomat_expandall(loop_items){
459
  return;
460
  }
461
 
462
+ // rel highlander must be one
463
+ if(jQuery(this).attr('rel') && jQuery(this).attr('rel').toString().indexOf('-highlander') != '-1' && jQuery(this).hasClass('must-be-one') && jQuery(this).hasClass('colomat-close')){
464
+ return;
465
+ }
466
+
467
+ //toggle group highlander must be one
468
+ if(jQuery(this).data('togglegroup') && jQuery(this).data('togglegroup').toString().indexOf('-highlander') != '-1' && jQuery(this).hasClass('must-be-one') && jQuery(this).hasClass('colomat-close')){
469
  return;
470
  }
471
 
572
 
573
  //deal with grouped items if needed
574
  if(jQuery(this).attr('rel') !== undefined){
575
+ var rel = jQuery(this).attr('rel').toString();
576
  if(rel.indexOf('-highlander') != '-1'){
577
+ closeOtherRelMembers(rel, id);
578
  }
579
  else{
580
  closeOtherGroups(rel);
581
  }
582
  }
583
 
584
+ if(jQuery(this).data('togglegroup') !== undefined){
585
+ var togname = jQuery(this).data('togglegroup').toString();
586
+ if(togname.indexOf('-highlander') != '-1'){
587
+ closeOtherTogMembers(togname, id);
588
+ }
589
+ }
590
+
591
  if(offset_top){
592
  jQuery('html, body').animate({scrollTop:offset_top}, 500);
593
  }
readme.txt CHANGED
@@ -4,17 +4,17 @@ Contributors: twinpictures, baden03
4
  Donate link: https://plugins.twinpictures.de/plugins/collapse-o-matic/
5
  Tags: collapse, expand, collapsible, expandable, expandable content, collapsable content, shortcode, hidden, hide, display, accordion, accordion, jQuery, javascript, roll-your-own, twinpictures, read me, read more, more, plugin oven
6
  Requires at least: 4.7
7
- Tested up to: 5.4.1
8
- Stable tag: 1.7.12
9
  Requires PHP: 7.0
10
  License: GPLv2 or later
11
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
12
 
13
- Remove clutter, save space: display and hide additional content in a SEO friendly way by wrapping content in an [expand] shortcode.
14
 
15
  == Description ==
16
 
17
- Collapse-O-Matic adds an `[expand title="trigger text"]hidden content[/expand]` shortcode that will wrap any content, including other shortcodes, into a lovely jQuery expanding and collapsing div. A <a href='https://plugins.twinpictures.de/plugins/collapse-o-matic/documentation/'>complete listing of shortcode options and attribute demos</a> are available, as well as <a href='https://wordpress.org/support/plugin/jquery-collapse-o-matic'>free community</a> support.
18
 
19
  == Installation ==
20
 
@@ -51,6 +51,15 @@ No. Not even close.
51
 
52
  == Changelog ==
53
 
 
 
 
 
 
 
 
 
 
54
  = 1.7.12 =
55
  * fixed expand_all triggers to work with maptastic
56
  * fully tested with WordPress 5.4.1
@@ -107,7 +116,7 @@ No. Not even close.
107
 
108
  = 1.7.1 =
109
  * integrated new collapse-commander image trigger feature
110
- * added new togglegroup shortcode attribute and data-togglegroup html attribute to reference groups of expand elements with out auto-collapsing other groups, such as when using the real attribute
111
  * added the ability to load plugin css only when shortcode is used
112
  * removed language files in favour of WordPress language packs
113
  * fully tested to work with WordPress 4.5
@@ -376,5 +385,9 @@ Fixed auto-expand of urls with id-anchors
376
  * The plug-in came to be.
377
 
378
  == Upgrade Notice ==
379
- * fixed expand_all triggers to work with maptastic
380
- * fully tested with WordPress 5.4.1
 
 
 
 
4
  Donate link: https://plugins.twinpictures.de/plugins/collapse-o-matic/
5
  Tags: collapse, expand, collapsible, expandable, expandable content, collapsable content, shortcode, hidden, hide, display, accordion, accordion, jQuery, javascript, roll-your-own, twinpictures, read me, read more, more, plugin oven
6
  Requires at least: 4.7
7
+ Tested up to: 5.6.0
8
+ Stable tag: 1.7.13
9
  Requires PHP: 7.0
10
  License: GPLv2 or later
11
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
12
 
13
+ Remove clutter and save space by placing content inside an expanding/collapsing accordion element. Accordion elements are SEO friendly: content will be indexed by search engines.
14
 
15
  == Description ==
16
 
17
+ Collapse-O-Matic adds an `[expand]` shortcode that will wrap any content, including other shortcodes, into an accordion expanding and collapsing element. A <a href='https://plugins.twinpictures.de/plugins/collapse-o-matic/documentation/'>complete listing of shortcode options and attribute demos</a> are available, as well as <a href='https://wordpress.org/support/plugin/jquery-collapse-o-matic'>free community</a> support.
18
 
19
  == Installation ==
20
 
51
 
52
  == Changelog ==
53
 
54
+ = 1.7.13 =
55
+ * corrected typos
56
+ * cleaned up code
57
+ * added togglegroup highlander grouping
58
+ * fixed issue of rel or group values that consist only of numbers
59
+ * findme now supports auto, trigger, target and numeric values
60
+ * removed excerpt the_content filtering, added added filters for excerpt and swapexcerpt
61
+ * fully tested with WordPress 5.6.0
62
+
63
  = 1.7.12 =
64
  * fixed expand_all triggers to work with maptastic
65
  * fully tested with WordPress 5.4.1
116
 
117
  = 1.7.1 =
118
  * integrated new collapse-commander image trigger feature
119
+ * added new togglegroup shortcode attribute and data-togglegroup html attribute to reference groups of expand elements with out auto-collapsing other groups, such as when using the rel attribute
120
  * added the ability to load plugin css only when shortcode is used
121
  * removed language files in favour of WordPress language packs
122
  * fully tested to work with WordPress 4.5
385
  * The plug-in came to be.
386
 
387
  == Upgrade Notice ==
388
+ * corrected typos
389
+ * cleaned up code
390
+ * added togglegroup highlander grouping
391
+ * fixed issue of rel or group values that consist only of numbers
392
+ * findme now supports auto, trigger, target and numeric values
393
+ * removed excerpt the_content filtering, added added filters for excerpt and swapexcerpt