fields = $fields; $this->azure_news_box_label = $args['azure_news_box_label_text'] ; $this->azure_news_box_add_control = $args['azure_news_box_add_control_text']; $this->azure_news_field_limit = $args['azure_news_field_limit']; $this->categories = get_categories(); parent::__construct( $manager, $id, $args ); } protected function render_content() { $repeater_id = $this->id; $values = json_decode( $this->value() ); $field_count = count( $values ); ?> label ); ?> description ) { ?> description ); ?> link(); ?> class="cv-repeater-collector" value="value() ); ?>" /> fields; $values = json_decode( $this->value() ); if ( is_array( $values ) ) { foreach ( $values as $value ) { if ( 'show' === $value->item_visible ) { $item_class = 'item-visible'; $dash_icon = 'visibility'; } else { $item_class = 'item-not-visible'; $dash_icon = 'hidden'; } ?>
  • azure_news_box_label ); ?>
    $field ) { $class = isset( $field['class'] ) ? $field['class'] : ''; $field_type = isset( $field['type'] ) ? $field['type'] : 'none '; ?>
    $key ) ? $value->$key : ''; $default = isset( $field['default'] ) ? $field['default'] : ''; if ( 'checkbox' != $field['type'] && 'item_visible' !== $key ) { ?> '; break; /** * Social Icon field */ case 'social_icon': $azure_news_social_icons_array = azure_news_social_icons_array(); echo '
      '; foreach ( $azure_news_social_icons_array as $azure_news_social_icon ) { $icon_class = $new_value == $azure_news_social_icon ? 'icon-active' : ''; echo '
    • '; } echo '
    '; break; case 'hidden' : echo ''; break; default: break; } ?>