Plugin Directory

Changeset 2079539


Ignore:
Timestamp:
05/03/2019 12:20:19 AM (7 years ago)
Author:
db0112358
Message:

fix meta boxes

Location:
content-repeater/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • content-repeater/trunk/assets/css/cr-styles.css

    r2051274 r2079539  
    11*, *:before, *:after {}
    22
     3.twentytwenty-container img {
     4    width: 100%;
     5}
    36.pswp {
    47    z-index: 999999 !important;
  • content-repeater/trunk/content-repeater.php

    r2069760 r2079539  
    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.0.10
     5 * Version: 1.0.11
    66 * Author: Denis Buka
    77 * Text Domain: content-repeater
     
    657657                    $matches_single[1] = isset($matches_single[1]) ? $matches_single[1] : array();
    658658                    $merged = array_merge($matches[1], $matches_single[1]);
    659                     foreach($merged as $kk=>$vv) { // display meta boxes only if Template has meta fields
    660                         if(!in_array($vv, array('post_id','post_url','post_title','post_image'))) {
     659                    foreach($merged as $kk=>$vv) {
     660//                      if(!in_array($vv, array('post_id','post_url','post_title','post_image'))) { // display meta boxes only if Template has meta fields
    661661                            add_meta_box(
    662662                                'cr-meta-boxes',
     
    669669                            add_action( 'save_post_' . $type, array( 'Rptr_Class', 'save_meta_box_data' ) );                       
    670670                            break;
    671                         }
     671//                      }
    672672                    }
    673673                }
  • content-repeater/trunk/includes/admin-page.php

    r2045559 r2079539  
    187187                            'name' => 'rptr_options[nosyntax]',
    188188                            'value' => 'Yes',
    189                             'current' => (isset($options['nosyntax']) ? $options['nosyntax'] : 'Yes'),
     189                            'current' => (isset($options['nosyntax']) ? $options['nosyntax'] : 'No'),
    190190                            'descr' => "Disable Template editor syntax highlighting",
    191191                            'classes' => 'cr-checkbox'
  • content-repeater/trunk/readme.txt

    r2069760 r2079539  
    9494= 1.0.10 =
    9595fix Testimonials template loading
     96= 1.0.11 =
     97fix meta boxes
Note: See TracChangeset for help on using the changeset viewer.