Changeset 2236144
- Timestamp:
- 01/31/2020 01:01:22 AM (6 years ago)
- Location:
- content-repeater/trunk
- Files:
-
- 3 edited
-
content-repeater.php (modified) (2 diffs)
-
includes/conditional.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
content-repeater/trunk/content-repeater.php
r2173658 r2236144 3 3 * Plugin Name: Content Repeater 4 4 * Description: Quickly set up custom content like Testimonials, Coupons, Products, Flipboxes, Portals, Portfolios, Before & Afters, etc. and display it in interesting ways: Ajax Reload, Masonry, Isotope, Slick Slider, Single Row. 5 * Version: 1.1. 15 * Version: 1.1.2 6 6 * Author: Denis Buka 7 7 * Text Domain: content-repeater … … 380 380 $classes .= (($template == 'template_single') ? ' cr-single '.$type.'-single' : ''); 381 381 $dor = (rptr_get_option('breakpoints') !== '0') ? ' data-observe-resizes' : ''; 382 $output = '<div id="crid-'.$id.'" class="cri'.$classes.' clearfix"'.$style.$dor.'>';382 $output = '<div class="crid-'.$id.' cri'.$classes.' clearfix"'.$style.$dor.'>'; 383 383 $output .= $content; 384 384 $output .= '</div>'; -
content-repeater/trunk/includes/conditional.php
r2045559 r2236144 93 93 } 94 94 if ( preg_match( '/has_term_(.*)/', $key, $matches ) ) { 95 $result = has_term( $value s, $matches[1] );95 $result = has_term( $value, $matches[1] ); 96 96 } elseif( function_exists( $key ) ) { 97 97 $values = ( true === $value ) ? null : array_filter( explode( ',', $value ) ); … … 100 100 } 101 101 $result = call_user_func( $key, $values ); 102 if ( ! isset( $result ) ) {103 return '';104 }105 if( $result !== $reverse_logic ) {106 return do_shortcode( $content );107 }102 } 103 if ( ! isset( $result ) ) { 104 return ''; 105 } 106 if( $result !== $reverse_logic ) { 107 return do_shortcode( $content ); 108 108 } 109 109 } -
content-repeater/trunk/readme.txt
r2173658 r2236144 114 114 = 1.1.1 = 115 115 fix meta boxes missing when no meta in Template 116 = 1.1.2 = 117 remove id="crid-..."
Note: See TracChangeset
for help on using the changeset viewer.