Edit File: pm30.php
<?php if (class_exists('CSF')) { CSF::createWidget( 'orun_widget_post_module_30', array( 'title' => esc_html__('Oruno - Bilgilendirme Kutusu', 'orun'), 'class' => 'orun-widget-fields', 'classname' => 'orun-widget-post-module_30', 'description' => esc_html__('Ziyaretçileriniz için özel olarak bilgilendirme yapmak için kullanabileceğiniz modülümüz.', 'orun'), 'fields' => array( array( 'id' => 'title', 'type' => 'text', 'title' => esc_html__('Modül Başlığı:', 'orun'), 'subtitle' => esc_html__('Yazı modülünün başlığını girin.', 'orun'), 'help' => esc_html__('Yazı modülünün başlığını girin. Boş bırakırsanız modülün başlığı görünmez.', 'orun'), ), array( 'id' => 'opt-detail-color', 'type' => 'color', 'title' => __('Detay Rengi', 'orun'), 'subtitle' => esc_html__('Yazı modülünün detay rengini girin.', 'orun'), 'default' => '#ff000' ), array( 'id' => 'opt-icon-1', 'type' => 'icon', 'title' => __('Icon', 'orun'), ), array( 'id' => 'affi1text', 'type' => 'text', 'title' => esc_html__('Başlık Giriniz:', 'orun'), 'subtitle' => esc_html__('Yazı alanının başlığını giriniz.', 'orun'), 'default' => 'Oruno Takeaway', ), array( 'id' => 'affi1textbottom', 'type' => 'textarea', 'title' => esc_html__('Alt Başlık Giriniz:', 'orun'), 'subtitle' => esc_html__('Affiliate alanının alt başlığını giriniz.', 'orun'), 'default' => 'Daha fazla indirim fırsatları için takipte kalın', ), ) ) ); if (!function_exists('orun_widget_post_module_30')) { function orun_widget_post_module_30($args, $instance) { if (!empty($instance['title'])) { echo $args['before_title'] . apply_filters('widget_title', $instance['title']) . $args['after_title']; } ?> <div class="orun-pm orun-pm-item orun-pm-11 row"> <div class="orun-pm-box-top" style="border-color: <?php echo $instance['opt-detail-color'] ?>;width:100%; "> <div class="orun-pm-affi-text-3"> <?php if (!empty($instance['affi1text'])) { echo wp_kses_post($instance['affi1text']); } ?> </div> <div class="orun-pm-affi-icon" style="background-color: <?php echo $instance['opt-detail-color'] ?>80;"> <?php if (!empty($instance['opt-icon-1'])) { echo '<i class="' . esc_attr($instance['opt-icon-1']) . '"></i>'; } ?> </div> </div> <div class="orun-pm-box-bottom " style="border-color: <?php echo $instance['opt-detail-color'] ?>80;"> <div class="orun-pm-affi-bottom"> <?php if (!empty($instance['affi1textbottom'])) { echo wp_kses_post($instance['affi1textbottom']); } ?> </div> </div> </div> <?php } } } ?>