Plugin Directory

Changeset 2236144


Ignore:
Timestamp:
01/31/2020 01:01:22 AM (6 years ago)
Author:
db0112358
Message:

remove id="crid-..."

Location:
content-repeater/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • content-repeater/trunk/content-repeater.php

    r2173658 r2236144  
    33 * Plugin Name: Content Repeater
    44 * 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.1
     5 * Version: 1.1.2
    66 * Author: Denis Buka
    77 * Text Domain: content-repeater
     
    380380        $classes .= (($template == 'template_single') ? ' cr-single '.$type.'-single' : '');
    381381        $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.'>';
    383383        $output .= $content;           
    384384        $output .= '</div>';   
  • content-repeater/trunk/includes/conditional.php

    r2045559 r2236144  
    9393        }
    9494        if ( preg_match( '/has_term_(.*)/', $key, $matches ) ) {
    95             $result = has_term( $values, $matches[1] );
     95            $result = has_term( $value, $matches[1] );
    9696        } elseif( function_exists( $key ) ) {
    9797            $values = ( true === $value ) ? null : array_filter( explode( ',', $value ) );
     
    100100            }
    101101            $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 );
    108108        }
    109109    }
  • content-repeater/trunk/readme.txt

    r2173658 r2236144  
    114114= 1.1.1 =
    115115fix meta boxes missing when no meta in Template
     116= 1.1.2 =
     117remove id="crid-..."
Note: See TracChangeset for help on using the changeset viewer.