value(); $values = json_decode( $v ); wp_enqueue_script( 'json2' ); // Same for all $same = isset( $values->same ) ? $values->same : 'same'; // Units $current_unit = isset( $values->unit ) ? $values->unit : 'px'; $units = array( 'px', '%', 'em' ); if ( 'themify_padding' == $this->type ) { $property = __( 'Padding', 'themify' ); $dimension_type = 'padding'; // Sides $sides = array( 'top' => __( 'Padding Top', 'themify' ), 'right' => __( 'Padding Right', 'themify' ), 'bottom' => __( 'Padding Bottom', 'themify' ), 'left' => __( 'Padding Left', 'themify' ), ); $apply_to_all = __( 'Apply to all padding.', 'themify' ); } else { $property = __( 'Margin', 'themify' ); $dimension_type = 'margin'; // Sides $sides = array( 'top' => __( 'Margin Top', 'themify' ), 'right' => __( 'Margin Right', 'themify' ), 'bottom' => __( 'Margin Bottom', 'themify' ), 'left' => __( 'Margin Left', 'themify' ), ); $apply_to_all = __( 'Apply to all margin.', 'themify' ); } ?> show_label && ! empty( $this->label ) ) : ?> label ); ?> $side_label ) : ?>