Edit File: admin-options.php
<?php /** * orun Admin Options * * @package orun */ defined('ABSPATH') || exit; // Exit directly if (class_exists('CSF')) { $prefix = 'orun_opt'; CSF::createOptions( $prefix, array( 'menu_title' => __('Tema Ayarları', 'orun'), 'menu_slug' => 'orun-opt', 'menu_hidden' => true, 'framework_title' => __('Oruno Yönetici Paneli', 'orun'), 'footer_credit' => __('Oruno 2023 © Tüm hakları saklıdır.', 'orun'), 'footer_text' => __('En iyi internet sitesine sahip olmanız için orun tarafından geliştirildi.', 'orun'), 'show_sub_menu' => false, 'show_bar_menu' => false, ) ); CSF::createSection( $prefix, array( 'title' => 'Genel Ayarlar', 'icon' => 'fas fa-cog', 'fields' => array( array( 'id' => 'orun-opt-logo', 'type' => 'media', 'title' => __('Logo', 'orun'), 'subtitle' => __('Sitenize logo ekleyin.', 'orun'), 'library' => 'image', ), array( 'id' => 'orun-opt-logo-dim', 'type' => 'dimensions', 'title' => __('Logo Boyutları', 'orun'), 'subtitle' => __('Logonun boyutlarını ekleyin.', 'orun'), 'desc' => __('(Kümülatif Düzen Kayması (CLS) için önerilir.)', 'orun'), 'default' => array( 'unit' => 'px', ), ), array( 'id' => 'orun-opt-dark-logo', 'type' => 'media', 'title' => __('Logo (Koyu Mod)', 'orun'), 'subtitle' => __('Sitenize koyu mod için logo ekleyin. Siyah arkaplan üzerine uyumlu bir logo eklemeniz önerilir.', 'orun'), 'library' => 'image', ), array( 'id' => 'orun-opt-logo-dark-dim', 'type' => 'dimensions', 'title' => __('Logo Boyutları (Koyu Mod)', 'orun'), 'subtitle' => __('Logonun boyutlarını ekleyin.', 'orun'), 'desc' => __('(Kümülatif Düzen Kayması (CLS) için önerilir.)', 'orun'), 'default' => array( 'unit' => 'px', ), ), array( 'id' => 'orun-opt-logo-mobile', 'type' => 'media', 'title' => __('Logo (Mobil)', 'orun'), 'subtitle' => __('Mobil cihazlar için logo ekleyin.', 'orun'), 'library' => 'image', ), array( 'id' => 'orun-opt-logo-mobile-dim', 'type' => 'dimensions', 'title' => __('Logo Boyutları (Mobil)', 'orun'), 'subtitle' => __('Logonun boyutlarını ekleyin.', 'orun'), 'desc' => __('(Kümülatif Düzen Kayması (CLS) için önerilir.)', 'orun'), 'default' => array( 'unit' => 'px', ), ), array( 'id' => 'orun-opt-logo-mobile-dark', 'type' => 'media', 'title' => __('Logo (Koyu Mod/Mobil)', 'orun'), 'subtitle' => __('Mobil cihazlar için logo ekleyin.', 'orun'), 'library' => 'image', ), array( 'id' => 'orun-opt-logo-mobile-dark-dim', 'type' => 'dimensions', 'title' => __('Logo Boyutları (Koyu Mod/Mobil)', 'orun'), 'subtitle' => __('Logonun boyutlarını ekleyin.', 'orun'), 'desc' => __('(Kümülatif Düzen Kayması (CLS) için önerilir.)', 'orun'), 'default' => array( 'unit' => 'px', ), ), array( 'type' => 'submessage', 'style' => 'info', 'content' => '<a style="color:inherit;" href="' . home_url() . '/wp-admin/customize.php?autofocus[section]=title_tagline">' . __('Site Simgesini <strong>(Favicon)</strong> düzenlemek için buraya <strong>tıklayın</strong>', 'orun') . '</a>', ), array( 'id' => 'orun-opt-code-head', 'type' => 'code_editor', 'title' => __('Header Kodu', 'orun'), 'subtitle' => __('' . esc_html__('<head>') . ' etiketinin içine eklenmesi gereken kodları ekleyin.', 'orun'), 'sanitize' => false, ), array( 'id' => 'orun-opt-code-body', 'type' => 'code_editor', 'title' => __('Body Kodu', 'orun'), 'subtitle' => __('' . esc_html__('<body>') . ' etiketinden hemen sonra eklenmesi gereken kodları ekleyin.', 'orun'), 'sanitize' => false, ), array( 'id' => 'orun-opt-code-foot', 'type' => 'code_editor', 'title' => __('Footer Kodu', 'orun'), 'subtitle' => __('' . esc_html__('<body>') . ' etiketinin sonuna eklenmesi gereken kodları ekleyin.', 'orun'), 'sanitize' => false, ), ) ) ); CSF::createSection( $prefix, array( 'title' => __('Üst Kısım Ayarları', 'orun'), 'icon' => 'fas fa-archive', 'fields' => array( array( 'type' => 'subheading', 'content' => __('Üst Kısım Tasarım Ayarları', 'orun'), ), array( 'type' => 'notice', 'style' => 'warning', 'content' => '2 ve 4. Header düzenleri için "yalnızca" yatay logo formatları tavsiye edilirken 1 ve 3. Header düzenleri için yatay-dikey logo formatları tavsiye edilir.', ), array( 'id' => 'orun-opt-header-design', 'title' => __('Üst Kısım Tasarımı', 'orun'), 'subtitle' => __('Üst kısım tasarımını seçin.', 'orun'), 'type' => 'image_select', 'options' => array( 'header-1' => get_template_directory_uri() . '/assets/img/ust1.png', 'header-2' => get_template_directory_uri() . '/assets/img/ust3.png', 'header-3' => get_template_directory_uri() . '/assets/img/ust4.png', 'header-4' => get_template_directory_uri() . '/assets/img/ust2.png', ), 'default' => 'header-2', ), array( 'id' => 'orun-opt-menu-hover-design', 'type' => 'radio', 'title' => __('Ana Menü Hover Tasarımı', 'orun'), 'subtitle' => __('Ana menü elemanlarının üzerine geldiğinde gösterilecek tasarımını seçin.', 'orun'), 'options' => array( 'navbar-style-1' => __('Hover Tasarımı #1', 'orun'), 'navbar-style-2' => __('Hover Tasarımı #2', 'orun'), 'navbar-style-3' => __('Hover Tasarımı #3', 'orun'), 'navbar-style-4' => __('Hover Tasarımı #4', 'orun'), ), 'default' => 'navbar-style-3', ), array( 'id' => 'orun-opt-menu-button-design', 'type' => 'radio', 'title' => __('Ana Menü Buton Tasarımı', 'orun'), 'subtitle' => __('Ana menü buton tasarımını seçin.', 'orun'), 'options' => array( 'button-style-1' => __('Buton Tasarımı #1', 'orun'), 'button-style-2' => __('Buton Tasarımı #2', 'orun'), ), 'default' => 'button-style-1' ), array( 'id' => 'orun-opt-header-menu-fw', 'type' => 'switcher', 'title' => __('Tam Genişlik Menü', 'orun'), 'subtitle' => __('Üst kısımdaki ana menü tam genişlik ayarı', 'orun'), 'default' => false, ), array( 'id' => 'orun-opt-header-menu-center', 'type' => 'switcher', 'title' => __('Menü Elemanlarını Ortala', 'orun'), 'subtitle' => __('Ana menüdeki menü elemanlarını ortalar.', 'orun'), 'default' => false, ), array( 'type' => 'subheading', 'content' => __('Üst Kısım Buton Ayarları', 'orun'), ), array( 'id' => 'orun-opt-header-search-button', 'type' => 'switcher', 'title' => __('Arama Butonunu Gizle/Göster', 'orun'), 'subtitle' => __('Ana menüdeki arama butonunu gizlemek için bu ayarı kullanın.', 'orun'), 'default' => true, ), array( 'id' => 'orun-opt-header-dark-button', 'type' => 'switcher', 'title' => __('Koyu Mod Butonunu Gizle/Göster', 'orun'), 'subtitle' => __('Ana menüdeki koyu mod butonunu gizlemek için bu ayarı kullanın.', 'orun'), 'default' => true, ), array( 'id' => 'orun-opt-header-mobile-menu-button', 'type' => 'switcher', 'title' => __('Mobil Menü Butonunu Gizle/Göster', 'orun'), 'subtitle' => __('Ana menüdeki mobil menü butonunu gizlemek için bu ayarı kullanın.', 'orun'), 'default' => false, ), array( 'type' => 'subheading', 'content' => __('Üst Menü Ayarları', 'orun'), ), array( 'id' => 'orun-opt-top-menu-show', 'type' => 'switcher', 'title' => __('Üst Menü Gösterilsin Mi?', 'orun'), 'subtitle' => __('Üst kısımdaki üst menü gösterilsin mi?', 'orun'), 'default' => true, ), array( 'id' => 'orun-opt-top-menu-date', 'type' => 'switcher', 'title' => __('Üst Menü Tarih', 'orun'), 'subtitle' => __('Üst menü tarih gösterilsin mi?', 'orun'), 'default' => true, ), array( 'id' => 'orun-opt-top-menu-social', 'type' => 'switcher', 'title' => __('Üst Menü Sosyal Simgeler', 'orun'), 'subtitle' => __('Üst menü sosyal simgeler gösterilsin mi?', 'orun'), 'default' => true, ), array( 'type' => 'subheading', 'content' => __('Üst Menü Sosyal Simgeler', 'orun'), ), array( 'type' => 'submessage', 'content' => __('Üst menüde bulunan sosyal simgelerden hangisinin görünmek istediğini seçiniz.', 'orun'), ), array( 'type' => 'notice', 'style' => 'info', 'content' => __('Sosyal medya bağlantılarınızı girmek için "Sosyal Medya Ayarları"na göz atın.', 'orun') ), array( 'id' => 'orun-opt-social-facebook-show', 'type' => 'switcher', 'title' => __('Facebook Simgesini Göster', 'orun'), 'default' => true, ), array( 'id' => 'orun-opt-social-twitter-show', 'type' => 'switcher', 'title' => __('Twitter Simgesini Göster', 'orun'), 'default' => true, ), array( 'id' => 'orun-opt-social-instagram-show', 'type' => 'switcher', 'title' => __('Instagram Simgesini Göster', 'orun'), 'default' => true, ), array( 'id' => 'orun-opt-social-pinterest-show', 'type' => 'switcher', 'title' => __('Pinterest Simgesini Göster', 'orun'), 'default' => true, ), array( 'id' => 'orun-opt-social-youtube-show', 'type' => 'switcher', 'title' => __('YouTube Simgesini Göster', 'orun'), 'default' => true, ), array( 'id' => 'orun-opt-social-linkedin-show', 'type' => 'switcher', 'title' => __('LinkedIn Simgesini Göster', 'orun'), ), array( 'id' => 'orun-opt-social-tumblr-show', 'type' => 'switcher', 'title' => __('Tumblr Simgesini Göster', 'orun'), ), array( 'id' => 'orun-opt-social-tiktok-show', 'type' => 'switcher', 'title' => __('TikTok Simgesini Göster', 'orun'), ), array( 'id' => 'orun-opt-social-telegram-show', 'type' => 'switcher', 'title' => __('Telegram Simgesini Göster', 'orun'), ), array( 'id' => 'orun-opt-social-whatsapp-show', 'type' => 'switcher', 'title' => __('WhatsApp Simgesini Göster', 'orun'), ), array( 'id' => 'orun-opt-social-snapchat-show', 'type' => 'switcher', 'title' => __('Snapchat Simgesini Göster', 'orun'), ), array( 'id' => 'orun-opt-social-twitch-show', 'type' => 'switcher', 'title' => __('Twitch Simgesini Göster', 'orun'), ), array( 'id' => 'orun-opt-social-medium-show', 'type' => 'switcher', 'title' => __('Medium Simgesini Göster', 'orun'), ), ), ) ); if (function_exists('is_woocommerce')) { // Woocommerce eklentisi yüklü ise bu alanı göster CSF::createSection( $prefix, array( 'id' => 'orun-woocommerce', 'title' => 'Woocommerce', 'icon' => 'fas fa-shopping-cart', ) ); } CSF::createSection($prefix, array( 'parent' => 'orun-woocommerce', 'title' => 'Üst Kısım Ayarları', 'icon' => 'fas fa-cart', 'fields' => array( array( 'id' => 'orun-opt-header-user-button', 'type' => 'switcher', 'title' => __('Kullanıcı Butonunu Gizle/Göster', 'orun'), 'subtitle' => __('Ana menüdeki kullanıcı butonunu gizlemek için bu ayarı kullanın.', 'orun'), 'default' => true, ), array( 'id' => 'orun-opt-header-cart-button', 'type' => 'switcher', 'title' => __('Sepet Butonunu Gizle/Göster', 'orun'), 'subtitle' => __('Ana menüdeki sepet butonunu gizlemek için bu ayarı kullanın.', 'orun'), 'default' => true, ), ) ) ); CSF::createSection($prefix, array( 'parent' => 'orun-woocommerce', 'title' => 'Ürün Tekil Sayfası', 'icon' => 'fas fa-cart', 'fields' => array( array( 'id' => 'orun-opt-single-product-column-design', 'title' => __('Kolon Yerleşimleri', 'orun'), 'type' => 'image_select', 'options' => array( 'column-1' => get_template_directory_uri() . '/assets/img/buy-1.png', 'column-2' => get_template_directory_uri() . '/assets/img/buy-2.png', 'column-3' => get_template_directory_uri() . '/assets/img/buy-3.png', ), 'default' => 'column-1', ), array( 'id' => 'orun-opt-single-product-image', 'type' => 'switcher', 'title' => __('Ürün Görseli Gösterilsin mi?', 'orun'), 'subtitle' => __('Tekil ürün sayfasında ürün görseli gösterilsin mi?', 'orun'), 'default' => true, ), array( 'id' => 'orun-opt-single-product-breadcrumb', 'type' => 'switcher', 'title' => __('Breadcrumb Gösterilsin mi?', 'orun'), 'subtitle' => __('Tekil ürün sayfasında breadcrumb gösterilsin mi?', 'orun'), 'default' => true, ), array( 'id' => 'orun-opt-single-product-button-design', 'title' => __('Sepete Ekle Buton Tasarımı', 'orun'), 'type' => 'image_select', 'options' => array( 'button-1' => get_template_directory_uri() . '/assets/img/buy-bttn-1.png', 'button-2' => get_template_directory_uri() . '/assets/img/buy-bttn-2.png', ), 'default' => 'button-1', ), array( 'id' => 'orun-opt-single-product-meta', 'type' => 'switcher', 'title' => __('Ürün Metası Gösterilsin mi?', 'orun'), 'subtitle' => __('Tekil ürün sayfasında meta (kategoriler vs.) gösterilsin mi?', 'orun'), 'default' => true, ), array( 'id' => 'orun-opt-single-product-tabs', 'type' => 'switcher', 'title' => __('Tablo Gösterilsin mi?', 'orun'), 'subtitle' => __('Tekil ürün sayfasında tablo gösterilsin mi?', 'orun'), 'default' => true, ), array( 'id' => 'orun-opt-single-product-tabs-design', 'title' => __('Tablo Tasarımı', 'orun'), 'type' => 'image_select', 'options' => array( 'tab-1' => get_template_directory_uri() . '/assets/img/tab-1.png', 'tab-2' => get_template_directory_uri() . '/assets/img/tab-2.png', ), 'default' => 'tab-3', ), array( 'id' => 'orun-opt-single-product-related', 'type' => 'switcher', 'title' => __('İlgili Ürünler Gösterilsin mi?', 'orun'), 'subtitle' => __('Tekil ürün sayfasında ilgili ürünler gösterilsin mi?', 'orun'), 'default' => true, ), array( 'id' => 'orun-opt-related-head', 'type' => 'text', 'title' => __('İlgili Ürünler Gösterilsin mi?', 'orun'), 'subtitle' => __('Tekil ürün sayfasında ilgili ürünler gösterilsin mi?', 'orun'), 'default' => 'İlgili Ürünler', ), ) ) ); CSF::createSection($prefix, array( 'parent' => 'orun-woocommerce', 'title' => 'Ürün Arşiv Sayfası', 'icon' => 'fas fa-cart', 'fields' => array( array( 'id' => 'orun-opt-navbar-top-bg-color', 'title' => __('Header Arkaplan Rengi', 'orun'), 'type' => 'background', 'output' => 'header.woocommerce-products-header', 'output_mode' => 'background', 'output_important' => true, 'background_gradient' => true, 'background_origin' => true, 'background_clip' => true, 'background_blend_mode' => true, 'default' => array( 'background-color' => '#000', 'background-gradient-color' => '#000', 'background-gradient-direction' => 'to bottom', 'background-size' => 'cover', 'background-position' => 'center center', 'background-repeat' => 'repeat', ) ), array( 'id' => 'orun-navbar-typ', 'type' => 'typography', 'title' => __('Header Yazı Fontu', 'orun'), 'output' => 'h1.woocommerce-products-header__title', 'output_important' => true, 'text_align' => true, 'text_transform' => true, 'font_size' => true, 'line_height' => true, 'color' => '#fff', 'letter_spacing' => false, 'font_style' => true, 'extra_styles' => true, ), array( 'id' => 'orun-navbar-exc-typ', 'type' => 'typography', 'title' => __('Header Açıklama Fontu', 'orun'), 'output' => '.term-description p', 'output_important' => true, 'text_align' => true, 'text_transform' => true, 'font_size' => true, 'line_height' => true, 'color' => '#fff', 'letter_spacing' => false, 'font_style' => true, 'extra_styles' => true, ), array( 'id' => 'orun-navbar-padding', 'type' => 'spacing', 'title' => __('Header Yazı Boşluğu', 'orun'), 'output' => 'header.woocommerce-products-header', 'output_mode' => 'padding', 'units' => array('px'), 'default' => array( 'top' => '50', 'right' => '50', 'bottom' => '50', 'left' => '50', 'unit' => 'px', ), ), array( 'id' => 'orun-archive-product-column', 'title' => __('Kolon Tasarımı', 'orun'), 'type' => 'image_select', 'options' => array( '1' => get_template_directory_uri() . '/assets/img/u-kolon-1.png', '2' => get_template_directory_uri() . '/assets/img/u-kolon-2.png', '3' => get_template_directory_uri() . '/assets/img/u-kolon-3.png', '4' => get_template_directory_uri() . '/assets/img/u-kolon-4.png', '5' => get_template_directory_uri() . '/assets/img/u-kolon-5.png', ), 'default' => '3', ), ) ) ); CSF::createSection($prefix, [ 'title' => __('Tekil Sayfası Ayarları', 'orun'), 'icon' => 'fas fa-sticky-note', 'fields' => array( array( 'id' => 'orun-opt-sidebar-layout', 'type' => 'image_select', 'title' => __('Sidebar Görünümü', 'orun'), 'options' => array( 'right-sidebar' => get_template_directory_uri() . '/assets/img/right-sidebar.png', 'no-sidebar' => get_template_directory_uri() . '/assets/img/no-sidebar.png', 'center-sidebar' => get_template_directory_uri() . '/assets/img/center-sidebar.png', ), 'default' => 'right-sidebar' ), array( 'id' => 'orun-opt-post-layout', 'title' => __('Yazı Düzeni', 'orun'), 'type' => 'image_select', 'options' => array( '1' => get_template_directory_uri() . '/assets/img/post-layout-1.png', '2' => get_template_directory_uri() . '/assets/img/post-layout-2.png', '3' => get_template_directory_uri() . '/assets/img/post-layout-3.png', '4' => get_template_directory_uri() . '/assets/img/post-layout-4.png', '5' => get_template_directory_uri() . '/assets/img/post-layout-5.png', ), 'default' => '1', ), array( 'id' => 'orun-opt-single-breadcrumb', 'type' => 'switcher', 'title' => __('Breadcrumb Gösterilsin mi?', 'orun'), 'subtitle' => __('Tekil yazı sayfasında breadcrumb gösterilsin mi?', 'orun'), 'default' => true, ), array( 'id' => 'orun-opt-single-breadcrumb-design', 'title' => __('Breadcrumb Tasarımı', 'orun'), 'type' => 'image_select', 'options' => array( 'bread-1' => get_template_directory_uri() . '/assets/img/breadcrumb-layout-1.png', 'bread-2' => get_template_directory_uri() . '/assets/img/breadcrumb-layout-2.png', 'bread-3' => get_template_directory_uri() . '/assets/img/breadcrumb-layout-3.png', 'bread-4' => get_template_directory_uri() . '/assets/img/breadcrumb-layout-4.png', ), 'default' => 'bread-1', ), array( 'id' => 'orun-opt-single-heading-design', 'title' => __('Başlık Tasarımı', 'orun'), 'type' => 'image_select', 'options' => array( 'head-1' => get_template_directory_uri() . '/assets/img/heading-layout-1.png', 'head-2' => get_template_directory_uri() . '/assets/img/heading-layout-2.png', ), 'default' => 'head-1', ), array( 'id' => 'orun-opt-single-cat', 'type' => 'switcher', 'title' => __('Kategoriler Gösterilsin mi?', 'orun'), 'subtitle' => __('Tekil yazı sayfasında kategoriler gösterilsin mi?', 'orun'), 'default' => true, ), array( 'id' => 'orun-opt-single-meta', 'type' => 'switcher', 'title' => __('Yazı Meta Gösterilsin mi?', 'orun'), 'subtitle' => __('Yazar adı, yazı tarihi, okuma süresi, görüntülenme sayısı ve yorum sayısı gösterilsin mi?', 'orun'), 'default' => true, ), array( 'id' => 'orun-opt-single-views', 'type' => 'switcher', 'title' => __('Okunma Sayısı Gösterilsin mi?', 'orun'), 'subtitle' => __('Tekil yazı sayfasında okunma sayısı gösterilsin mi?', 'orun'), 'default' => true, ), array( 'id' => 'orun-opt-single-views-settings', 'type' => 'fieldset', 'dependency' => array('orun-opt-single-views', '==', 'true'), 'fields' => array( array( 'type' => 'content', 'content' => '<strong>' . __('Renkli Okunma Sayısı Ayarları', 'orun') . '</strong>' ), array( 'type' => 'content', 'content' => __('Renkli okunma sayısı için sınırları belirleyin. Belirlediğiniz sınır kadar okunma sayısı olduğunda renkli yazar. ', 'orun'), ), array( 'id' => 'orun-opt-vie-1', 'type' => 'text', 'title' => __('1. Seviye Okunma', 'orun'), 'subtitle' => __('Örnek: ', 'orun') . '<div style="display: inline-block; border-radius:3px; color: #ffaf40; font-weight: 600; margin-top:5px;"><i class="fas fa-bolt"></i> 500</div>', 'default' => '500', ), array( 'id' => 'orun-opt-vie-2', 'type' => 'text', 'title' => __('2. Seviye Okunma', 'orun'), 'subtitle' => __('Örnek: ', 'orun') . '<div style="display: inline-block; border-radius:3px; color: #ff8967; font-weight: 600; margin-top:5px;"><i class="fas fa-bolt"></i> 1500</div>', 'default' => '1500', ), array( 'id' => 'orun-opt-vie-3', 'type' => 'text', 'title' => __('3. Seviye Okunma', 'orun'), 'subtitle' => __('Örnek: ', 'orun') . '<div style="display: inline-block; border-radius:3px; color: #e74c3c; font-weight: 600; margin-top:5px;"><i class="fas fa-bolt"></i> 3000</div>', 'default' => '3000', ), ), ), array( 'id' => 'orun-opt-single-comment', 'type' => 'switcher', 'title' => __('Yorum Sayısı Gösterilsin mi?', 'orun'), 'subtitle' => __('Tekil yazı sayfasında yorum sayısı gösterilsin mi?', 'orun'), 'default' => true, ), array( 'id' => 'orun-opt-single-reading', 'type' => 'switcher', 'title' => __('Okuma Süresi Gösterilsin mi?', 'orun'), 'subtitle' => __('Tekil yazı sayfasında okuma süresi gösterilsin mi?', 'orun'), 'default' => false, ), array( 'id' => 'orun-opt-single-share-buttons', 'type' => 'switcher', 'title' => __('Paylaşım Butonları Gösterilsin mi?', 'orun'), 'subtitle' => __('Tekil yazı sayfasında paylaşım butonları gösterilsin mi?', 'orun'), 'default' => true, ), array( 'id' => 'orun-opt-single-share-buttons-position', 'type' => 'select', 'title' => __('Paylaşım Butonlarının Nerede Gösterilsin?', 'orun'), 'subtitle' => __('Tekil yazı sayfasında paylaşım butonları nerede gösterilsin?', 'orun'), 'options' => array( 'top' => __('Üst', 'orun'), 'bottom' => __('Alt', 'orun'), 'both' => __('Üst ve Alt', 'orun'), ), 'default' => 'top', 'dependency' => array('orun-opt-single-share-buttons', '==', 'true'), ), array( 'id' => 'orun-opt-single-share-buttons-design', 'title' => __('Paylaşım Butonlarının Tasarımı', 'orun'), 'type' => 'image_select', 'options' => array( 'share-1' => get_template_directory_uri() . '/assets/img/paylas-1.png', 'share-2' => get_template_directory_uri() . '/assets/img/paylas-2.png', 'share-3' => get_template_directory_uri() . '/assets/img/paylas-3.png', ), 'default' => 'share-1', ), array( 'id' => 'orun-opt-single-thumb', 'type' => 'switcher', 'title' => __('Öne Çıkarılan Görsel Gösterilsin mi?', 'orun'), 'subtitle' => __('Tekil yazı sayfasında öne çıkarılan görsel gösterilsin mi?', 'orun'), 'default' => true, ), array( 'id' => 'orun-heading-background', 'type' => 'background', 'title' => __('Başlık Arkaplan Rengini Özelleştir', 'orun'), 'subtitle' => __('Başlık arkaplan rengi özelleştirilsin mi ?', 'orun'), 'background_gradient' => true, 'background_origin' => true, 'background_clip' => true, 'background_blend_mode' => true, 'output' => '.orun-single-text h1, .orun-single-text h2, .orun-single-text h3, .orun-single-text h4, .orun-single-text h5, .orun-single-text h6', 'output_mode' => 'background-color', 'default' => array( 'background-color' => 'transparent', 'background-gradient-color' => 'transparent', 'background-gradient-direction' => 'to bottom', 'background-size' => 'cover', 'background-position' => 'center center', 'background-repeat' => 'repeat', ) ), array( 'id' => 'orun-heading-color', 'type' => 'color', 'title' => __('Başlık Rengini Özelleştir', 'orun'), 'subtitle' => __('Başlık rengi özelleştirilsin mi ?', 'orun'), 'output' => '.orun-single-text h1, .orun-single-text h2, .orun-single-text h3, .orun-single-text h4, .orun-single-text h5, .orun-single-text h6', 'output_mode' => 'color', 'default' => '#222', ), array( 'id' => 'orun-heading-padding', 'type' => 'spacing', 'title' => __('Başlığa Kenarlardan Boşluk Verilsin mi ?', 'orun'), 'subtitle' => __('Başlığın kenarlarına boşluk verilsin mi ? ', 'orun'), 'output' => '.orun-single-text h1, .orun-single-text h2, .orun-single-text h3, .orun-single-text h4, .orun-single-text h5, .orun-single-text h6', 'output_mode' => 'padding', 'default' => array( 'top' => '0', 'right' => '0', 'bottom' => '0', 'left' => '0', 'unit' => 'px', ), ), array( 'id' => 'orun-opt-a-animate', 'type' => 'switcher', 'title' => __('A Linklerini Özelleştir', 'orun'), 'subtitle' => __('A Linkleri animasyon ve renk ile özelleştirilsin mi ?', 'orun'), 'default' => true, ), array( 'id' => 'orun-opt-single-prev-next-post', 'type' => 'switcher', 'title' => __('Önceki Sonraki Yazılar Gösterilsin mi?', 'orun'), 'subtitle' => __('Tekil yazı sayfasında önceki sonraki yazılar gösterilsin mi?', 'orun'), 'default' => false, ), array( 'id' => 'orun-opt-single-author-box', 'type' => 'switcher', 'title' => __('Yazar Kutusu Gösterilsin Mi?', 'orun'), 'subtitle' => __('Tekil yazı sayfasında yazar kutusu gösterilsin mi?', 'orun'), 'default' => true, ), array( 'id' => 'orun-opt-single-related', 'type' => 'switcher', 'title' => __('İlgili Yazılar Gösterilsin Mi?', 'orun'), 'subtitle' => __('Tekil yazı sayfasında ilgili yazılar gösterilsin mi?', 'orun'), 'default' => true, ), ), ]); CSF::createSection( $prefix, array( 'title' => __('Arşiv Sayfası Ayarları', 'orun'), 'icon' => 'far fa-newspaper', 'fields' => array( array( 'id' => 'orun-opt-archive-pages-on-off', 'type' => 'switcher', 'title' => __('Arşiv Sayfası Devre Dışı Bırakılsın Mı?', 'orun'), 'subtitle' => __('Arşiv Sayfası Devre Dışı Bırakılsın Mı? Bu ayar kategori, etiket, arama vb. gibi arşiv sayfalarını kapsamaz. Yalnızca aylık arşivler sayfalarını kapsar.', 'orun'), 'default' => true, ), array( 'id' => 'orun-opt-archive-posts-per-page', 'type' => 'number', 'title' => __('Sayfa Başı Kaç Yazı Gösterilsin?', 'orun'), 'subtitle' => __('Sayfa başı kaç tane yazı göstermek istediğinizi seçin. (Varsayılan: 6)', 'orun'), 'default' => '6', ), array( 'id' => 'orun-opt-archive-page-design', 'title' => __('Arşiv Sayfası Tasarımı', 'orun'), 'subtitle' => __('Arşiv sayfasının tasarımını seçin', 'orun'), 'type' => 'image_select', 'options' => array( 'post-module-1' => get_template_directory_uri() . '/assets/img/post-module-1.jpg', 'post-module-2' => get_template_directory_uri() . '/assets/img/post-module-2.jpg', 'post-module-3' => get_template_directory_uri() . '/assets/img/post-module-3.jpg', 'post-module-4' => get_template_directory_uri() . '/assets/img/post-module-4.jpg', ), 'default' => 'post-module-1', ), array( 'id' => 'orun-opt-archive-breadcrumb', 'type' => 'switcher', 'title' => __('Breadcrumb Gösterilsin Mi?', 'orun'), 'subtitle' => __('Arşiv sayfasında breadcrumb gösterilsin mi?', 'orun'), 'default' => true, ), ), ) ); CSF::createSection( $prefix, array( 'title' => __('Mobil Menü Ayarları', 'orun'), 'icon' => 'fas fa-mobile-alt', 'fields' => array( array( 'id' => 'orun-opt-mobile-menu-dark', 'type' => 'switcher', 'title' => __('Mobil Menü Koyu Mod', 'orun'), 'subtitle' => __('Mobil menü koyu tasarımda olsun mu?', 'orun'), 'default' => false, ), array( 'id' => 'orun-opt-mobile-menu-search', 'type' => 'switcher', 'title' => __('Arama Formu Görünsün Mü?', 'orun'), 'subtitle' => __('Mobil menüde arama formu görünsün mü?', 'orun'), 'default' => true, ), array( 'id' => 'orun-opt-mobile-menu-text', 'type' => 'textarea', 'title' => __('Açıklama Alanı', 'orun'), 'subtitle' => __('Mobil menüde görünmesini istediğiniz açıklamayı girin', 'orun'), ), ), ) ); CSF::createSection( $prefix, array( 'title' => __('Footer Ayarları', 'orun'), 'icon' => 'fas fa-archive rotate', 'fields' => array( array( 'id' => 'orun-opt-footer-main', 'type' => 'switcher', 'title' => __('Birinci Footer Alanı Gösterilsin Mi?', 'orun'), 'subtitle' => __('Birinci Footer Alanı Gösterilsin Mi?', 'orun'), 'default' => true, ), array( 'id' => 'orun-opt-footer-second', 'type' => 'switcher', 'title' => __('İkinci Footer Alanı Gösterilsin Mi?', 'orun'), 'subtitle' => __('İkinci Footer Alanında sol kısımı baz alır.', 'orun'), 'default' => true, ), array( 'id' => 'orun-opt-footer-second-left', 'type' => 'switcher', 'title' => __('İkinci Footer Alanı Gösterilsin Mi? (Sol)', 'orun'), 'subtitle' => __('İkinci Footer Alanında sol kısımı baz alır.', 'orun'), 'default' => true, ), array( 'id' => 'orun-opt-footer-text-left', 'type' => 'textarea', 'title' => __('Footer Açıklama Alanı', 'orun'), 'subtitle' => __('İkinci footer alanı açıklama alanı. HTML duyarlıdır.', 'orun'), 'default' => '<a href="https://orun.com/">orun</a> © 2021. Tüm hakları saklıdır.', ), array( 'id' => 'orun-opt-footer-second-right', 'type' => 'switcher', 'title' => __('İkinci Footer Alanı Gösterilsin Mi? (Sağ)', 'orun'), 'subtitle' => __('İkinci Footer Alanında sağ kısımı baz alır.', 'orun'), 'default' => true, ), array( 'id' => 'orun-opt-footer-text-right', 'type' => 'textarea', 'title' => __('Footer Açıklama Alanı', 'orun'), 'subtitle' => __('İkinci footer alanı açıklama alanı. HTML duyarlıdır.', 'orun'), 'default' => '<a href="https://orun.com/">orun</a> © 2021. Tüm hakları saklıdır.', ), ), ) ); CSF::createSection( $prefix, array( 'title' => __('Tasarım Ayarları', 'orun'), 'icon' => 'fas fa-columns', 'class' => 'orun-opt-design', 'fields' => array( array( 'type' => 'subheading', 'title' => __('Bileşen Başlığı Tasarımı', 'orun'), 'subtitle' => __('Bileşenlerin başlıklarının tasarımını seçin', 'orun'), ), array( 'id' => 'orun-opt-widget-title-design', 'title' => __('Bileşen Başlığı Tasarımı', 'orun'), 'subtitle' => __('Bileşenlerin başlıklarının tasarımını seçin', 'orun'), 'type' => 'image_select', 'options' => array( 'orun-block-title-1' => get_template_directory_uri() . '/assets/img/blocktitle1.png', 'orun-block-title-2' => get_template_directory_uri() . '/assets/img/blocktitle2.png', 'orun-block-title-3' => get_template_directory_uri() . '/assets/img/blocktitle3.png', 'orun-block-title-4' => get_template_directory_uri() . '/assets/img/blocktitle4.png', 'orun-block-title-5' => get_template_directory_uri() . '/assets/img/blocktitle5.png', 'orun-block-title-6' => get_template_directory_uri() . '/assets/img/blocktitle6.png', 'orun-block-title-7' => get_template_directory_uri() . '/assets/img/blocktitle7.png', ), 'default' => 'orun-block-title-5', ), array( 'type' => 'subheading', 'title' => __('Yukarı Çık Butonu', 'orun'), 'subtitle' => __('Yukarı çık butonunun tasarımını seçin', 'orun'), ), array( 'id' => 'orun-opt-go-to-top-button', 'type' => 'switcher', 'title' => __('Yukarı Çık Butonu', 'orun'), 'subtitle' => __('Sayfanın sağ alt köşesine "Yukarı Çık" butonu eklemek istiyorsanız etkinleştirin', 'orun'), 'default' => true, ), array( 'id' => 'orun-opt-grid-meta-gozuksun', 'type' => 'switcher', 'title' => __('Grid Modüllerinde excerpt yazsın mı?', 'orun'), 'subtitle' => __('Grid Modüllerinde excerpt yazmasını istiyorsanız etkinleştirin', 'orun'), 'default' => true, ), array( 'id' => 'orun-opt-gotop-design', 'title' => __('Yukarı Çık Butonu Tasarımı', 'orun'), 'subtitle' => __('Bileşenlerin başlıklarının tasarımını seçin', 'orun'), 'type' => 'image_select', 'options' => array( 'orun-gotop-1' => get_template_directory_uri() . '/assets/img/up-btn-1.png', 'orun-gotop-2' => get_template_directory_uri() . '/assets/img/up-btn-2.png', 'orun-gotop-3' => get_template_directory_uri() . '/assets/img/up-btn-3.png', ), 'default' => 'orun-gotop-1', ), array( 'type' => 'subheading', 'title' => 'Bileşen Ayarları', 'subtitle' => __('Bileşen Açıklamaları ayarlarını belirleyin', 'orun'), ), array( 'id' => 'orun-opt-meta-onoff', 'title' => __('Yazar/Tarih Bilgisi Anasayfada Gözükmesin', 'orun'), 'subtitle' => __('Ayarı etkinleştirirseniz anasayfadaki yazıların yazar/tarih bilgisini kaldırılır.', 'orun'), 'type' => 'switcher', 'default' => false, ), array( 'id' => 'orun-opt-navbar-read', 'title' => __('Yazı Okunmaları Sayıları Anasayfada Gözükmesin', 'orun'), 'subtitle' => __('Ayarı etkinleştirirseniz anasayfada yazıların okunma sayılarını kaldırılır.', 'orun'), 'type' => 'switcher', 'default' => false, ), array( 'type' => 'subheading', 'title' => 'Sidebar Tasarımı', 'subtitle' => __('Sidebar tasarım ayarlarını belirleyin', 'orun'), ), array( 'id' => 'orun-opt-sidebar-sticky', 'type' => 'switcher', 'title' => __('Yapışkan Sidebar', 'orun'), 'subtitle' => __('Ayarı etkinleştirirseniz sayfa kaydırıldıkça sidebar alanı da kaymaya devam eder.', 'orun'), ), array( 'type' => 'subheading', 'title' => 'Ek Tasarım Ayarları', 'subtitle' => __('Basit ama kullanışlı ek tasarım ayarlarını buradan düzenleyin.', 'orun'), ), array( 'id' => 'orun-opt-permanently-dark-mode', 'type' => 'switcher', 'title' => __('Kalıcı Koyu Mod', 'orun'), 'subtitle' => __('Site açıldığında kalıcı koyu modunu otomatik olarak etkinleştirir.', 'orun'), 'default' => false, ), ), ) ); CSF::createSection( $prefix, array( 'title' => __('Renk Ayarları', 'orun'), 'icon' => 'fa fa-eye-dropper', 'fields' => array( array( 'type' => 'heading', 'content' => __('Gelişmiş Renk Ayarları', 'orun'), ), array( 'id' => 'orun-opt-main-color', 'title' => __('Ana Renk', 'orun'), 'type' => 'color', 'output' => ':root', 'output_mode' => '--main-color', 'output_important' => true, ), array( 'type' => 'content', 'content' => __('Tasarımı daha özgür bir şekilde değiştirmek için burayı kullanın.', 'orun'), ), array( 'type' => 'subheading', 'content' => __('Üst Kısım (Header) Renk Ayarları', 'orun'), ), array( 'id' => 'orun-opt-navbar-top-bg-color', 'title' => __('Üst Menü Arkaplan Rengi', 'orun'), 'type' => 'background', 'output' => 'nav.navbar-top, nav.navbar-top ul.sub-menu', 'output_mode' => 'background', 'output_important' => true, 'background_gradient' => true, 'background_origin' => true, 'background_clip' => true, 'background_blend_mode' => true, 'default' => array( 'background-color' => '#000', 'background-gradient-color' => '#000', 'background-gradient-direction' => 'to bottom', 'background-size' => 'cover', 'background-position' => 'center center', 'background-repeat' => 'repeat', ) ), array( 'id' => 'orun-opt-navbar-top-link-color', 'title' => __('Üst Menü Metin Rengi', 'orun'), 'type' => 'color', 'output' => '.navbar-top i, .navbar-top-date, .navbar-top-menu > li > a', 'output_mode' => 'color', 'output_important' => true, ), array( 'id' => 'orun-opt-navbar-top-hover-color', 'title' => __('Üst Menü Link Hover Rengi', 'orun'), 'type' => 'color', 'output' => '.navbar-top a:hover', 'output_mode' => 'color', 'output_important' => true, ), array( 'id' => 'orun-opt-h-logo-area-color', 'title' => __('Logo Alanı Arkaplan Rengi', 'orun'), 'type' => 'color', 'output' => '.logo-area', 'output_mode' => 'background', 'output_important' => true, ), array( 'id' => 'orun-opt-navbar-main-color', 'title' => __('Ana Menü Arkaplan Rengi', 'orun'), 'type' => 'color', 'output' => '.orun-main-navbar-wrapper', 'output_mode' => 'background-color', 'output_important' => true, ), array( 'id' => 'orun-opt-navbar-main-link-color', 'title' => __('Ana Menü Link Rengi', 'orun'), 'type' => 'color', 'output' => '.orun-navbar-main > ul > li > a, .orun-navbar-main-right li', 'output_mode' => 'color', 'output_important' => true, ), array( 'id' => 'orun-opt-navbar-main-hover-color', 'title' => __('Ana Menü Link Hover Rengi', 'orun'), 'type' => 'color', 'output' => '.orun-main-navbar-wrapper .orun-navbar-main > ul > li:hover > a, .orun-navbar-main-right li:hover', 'output_mode' => 'color', 'output_important' => true, ), array( 'id' => 'orun-opt-navbar-main-hover-design-color', 'title' => __('Ana Menü Arkaplan/Çizgi Hover Rengi', 'orun'), 'type' => 'color', 'output' => '.orun-navbar-main.navbar-style-2 > ul > li:hover > a, .orun-navbar-main.navbar-style-3 > ul > li > a::before', 'output_mode' => 'background-color', 'desc' => __('Ana Menü Hover Rengi ile aynısını seçmeniz önerilir.', 'orun'), 'output_important' => true, ), array( 'type' => 'subheading', 'content' => __('Mobil Üst Kısım (Header) Renk Ayarları', 'orun'), ), array( 'id' => 'orun-opt-mobile-header-bg-color', 'title' => __('Mobil Üst Kısım Arkaplan Rengi', 'orun'), 'type' => 'color', 'output' => '.sm-screen-menu', 'output_mode' => 'background-color', ), array( 'id' => 'orun-opt-mobile-header-text-color', 'title' => __('Mobil Üst Kısım Metin Rengi', 'orun'), 'type' => 'color', 'output' => '.sm-screen-menu button, .sm-screen-menu a', 'output_mode' => 'color', ), array( 'type' => 'subheading', 'content' => __('Alt Kısım (Footer) Renk Ayarları', 'orun'), ), array( 'id' => 'orun-opt-main-footer-bg-color', 'title' => __('Birinci Footer Arkaplan Rengi', 'orun'), 'type' => 'color', 'output' => '.orun-main-footer', 'output_mode' => 'background-color', 'output_important' => true, ), array( 'id' => 'orun-opt-main-footer-title-color', 'title' => __('Birinci Footer Başlık Rengi', 'orun'), 'type' => 'color', 'output' => '.orun-widget-title h3, .orun-main-footer .widgettitle', 'output_mode' => 'color', 'output_important' => true, ), array( 'id' => 'orun-opt-footer-link-color', 'title' => __('Footer Link Rengi', 'orun'), 'type' => 'color', 'output' => '.orun-footer a', 'output_mode' => 'color', 'output_important' => true, ), array( 'id' => 'orun-opt-footer-link-hover-color', 'title' => __('Footer Link Hover Rengi', 'orun'), 'type' => 'color', 'output' => '.orun-footer a:hover', 'output_mode' => 'color', 'output_important' => true, ), array( 'id' => 'orun-opt-main-footer-title-border-color', 'title' => __('Birinci Footer Başlık Çizgi Rengi', 'orun'), 'type' => 'color', 'output' => '.orun-widget-title h3, .orun-main-footer .widgettitle', 'output_mode' => 'border-color', 'output_important' => true, ), array( 'id' => 'orun-opt-main-footer-text-color', 'title' => __('Birinci Footer Metin Rengi', 'orun'), 'type' => 'color', 'output' => '.orun-main-footer', 'output_mode' => 'color', 'output_important' => true, ), array( 'id' => 'orun-opt-second-footer-bg-color', 'title' => __('İkinci Footer Arkaplan Rengi', 'orun'), 'type' => 'color', 'output' => '.orun-second-footer', 'output_mode' => 'background-color', 'output_important' => true, ), array( 'id' => 'orun-opt-second-footer-text-color', 'title' => __('İkinci Footer Metin Rengi', 'orun'), 'type' => 'color', 'output' => '.orun-second-footer', 'output_mode' => 'color', 'output_important' => true, ), array( 'type' => 'subheading', 'content' => __('Bileşen Renk Ayarları', 'orun'), ), array( 'id' => 'orun-opt-navbar-module-link-color', 'title' => __('Manşet Bileşeni - Detay Rengi', 'orun'), 'type' => 'color', 'output' => '.custom .owl-dot', 'output_mode' => 'background-color', 'output_important' => true, ), array( 'id' => 'orun-opt-navbar-module-active-link-color', 'title' => __('Manşet Bileşeni - Aktif Detay Rengi', 'orun'), 'type' => 'color', 'output' => '.custom .owl-dot.active', 'output_mode' => 'background-color', 'output_important' => true, ), array( 'id' => 'orun-opt-navbar-module-grid-h1-active-link-color', 'title' => __('Grid Modülleri için renk ayarı', 'orun'), 'type' => 'color', 'output' => '.orun-grid-text h1, .orun-grid-text h2, .orun-grid-text h3, .orun-grid-text h4', 'output_mode' => 'color', 'output_important' => true, 'default' => array( 'color' => '#fff', ) ), array( 'id' => 'orun-opt-text-modul-post-detail-p-active-link-color', 'title' => __('Yazı Modülleri için renk ayarı', 'orun'), 'type' => 'color', 'output' => '.orun-pm-text h1, .orun-pm-text h2, .orun-pm-text h3, .orun-pm-text h4', 'output_mode' => 'color', 'output_important' => true, 'default' => array( 'color' => '#000', ) ), array( 'id' => 'orun-opt-text-modul-post-h1-active-link-color', 'title' => __('Anasayfa Detay yazıları için renk ayarı', 'orun'), 'type' => 'color', 'output' => '.orun-pm-excerpt p', 'output_mode' => 'color', 'output_important' => true, 'default' => array( 'color' => '#000', ) ), ), ) ); CSF::createSection( $prefix, array( 'title' => __('Yazı Tipleri', 'orun'), 'icon' => 'fas fa-font', 'fields' => array( array( 'type' => 'subheading', 'content' => __('Genel Yazı Ayarları', 'orun'), ), array( 'id' => 'orun-opt-main-font', 'type' => 'typography', 'title' => __('Genel - Yazı Tipi', 'orun'), 'desc' => __('Genel yazı tipidir. Tekil yazı sayfası dahil tüm sayfalarda geçerlidir.', 'orun'), 'output' => 'article, .nav-links, #primary', 'output_important' => true, 'text_align' => false, 'text_transform' => false, 'font_size' => false, 'line_height' => false, 'color' => false, 'letter_spacing' => false, 'font_style' => false, 'extra_styles' => true, ), array( 'id' => 'orun-opt-header-font', 'type' => 'typography', 'title' => __('Üst Kısım Yazı Tipi', 'orun'), 'desc' => __('Üst kısım, ana menü, üst menü için yazı tipi.', 'orun'), 'output' => '#masthead :is(h1, h2, h3, h4, h5, h6, a, span, li, p)', 'output_important' => true, 'text_align' => false, 'text_transform' => false, 'font_size' => false, 'line_height' => false, 'color' => false, 'letter_spacing' => false, 'font_style' => false, 'extra_styles' => true, ), array( 'id' => 'orun-opt-footer-font', 'type' => 'typography', 'title' => __('Alt Kısım Yazı Tipi', 'orun'), 'desc' => __('Alt kısım, ana menü, alt menü için yazı tipi.', 'orun'), 'output' => 'footer', 'output_important' => true, 'text_align' => false, 'text_transform' => false, 'font_size' => false, 'line_height' => false, 'color' => false, 'letter_spacing' => false, 'font_style' => false, 'extra_styles' => true, ), array( 'type' => 'subheading', 'content' => __('Anasayfa Ayarları', 'orun'), ), array( 'id' => 'orun-opt-navbar-module-grid-h1-active-link-size-x', 'title' => __('Grid Modülü Başlıkları - Yazı Tipi', 'orun'), 'type' => 'typography', 'output' => '.orun-grid-text h3', 'output_mode' => 'color', 'output_important' => false, 'default' => array( 'font-size' => '18.5px', ) ), array( 'id' => 'orun-opt-navbar-module-grid-h1-active-link-size', 'title' => __('Yazı Modülü Başlıkları - Yazı Tipi', 'orun'), 'type' => 'typography', 'output' => '.orun-pm-text h3', 'output_mode' => 'color', 'output_important' => false, 'default' => array( 'font-size' => '16px', ) ), array( 'id' => 'orun-opt-navbar-module-grid-h1-active-link-size-y', 'title' => __('Bileşen Başlıkları - Yazı Tipi', 'orun'), 'type' => 'typography', 'output' => '.orun-block-title h2 span, .orun-block-title h3 span,.orun-block-title-7 span, .orun-block-title-6 span,.orun-block-title-5 span,.orun-block-title-4 span, .orun-block-title-3 span,.orun-block-title-2 span,.orun-block-title-1 span', 'output_mode' => 'color', 'output_important' => true, 'default' => array( 'font-size' => '16px', ) ), array( 'id' => 'orun-opt-meta-aciklamalar-icin-active-link-size-d', 'title' => __('Meta açıklamaları - Yazı Tipi', 'orun'), 'type' => 'typography', 'output' => '.meta-start span, .orun-pm-excerpt p, .orun-grid-meta, .meta-end span', 'output_mode' => 'color', 'output_important' => true, 'default' => array( 'font-size' => '16px', ) ), array( 'id' => 'orun-opt-navbar-module-anasayfa-son-yazilar', 'title' => __('Son Yazılar - Yazı Tipi', 'orun'), 'type' => 'typography', 'output' => '.orun-block-title h3', 'output_mode' => 'color', 'output_important' => false, 'default' => array( 'font-size' => '16px', ) ), array( 'id' => 'orun-opt-navbar-module-anasayfa-kategoriler-icin', 'title' => __('Kategoriler - Yazı Tipi', 'orun'), 'type' => 'typography', 'output' => '.orun-pm-cat', 'output_mode' => 'color', 'output_important' => false, 'default' => array( 'font-size' => '16px', ) ), array( 'type' => 'subheading', 'content' => __('Tekil Yazı Sayfa Ayarları', 'orun'), ), array( 'id' => 'orun-opt-single-breadcrumb-font', 'type' => 'typography', 'title' => __('Breadcrumb Çubuğu', 'orun'), 'output' => '.orun-breadcrumb li, .orun-single-cat a', 'font_family' => false, 'text_align' => false, 'color' => false, 'text_transform' => false, ), array( 'id' => 'orun-opt-single-heading-font', 'type' => 'typography', 'title' => __('Yazı Sayfası Ana Başlık', 'orun'), 'output' => '.orun-single-heading h1, #primary h1', 'output_important' => true, 'font_family' => false, 'text_align' => false, 'color' => false, 'text_transform' => false, ), array( 'id' => 'orun-opt-single-summary-font', 'type' => 'typography', 'title' => __('Yazı Özet Alanı', 'orun'), 'output' => '.orun-single-heading p', 'output_important' => true, 'font_family' => false, 'text_align' => false, 'color' => false, 'text_transform' => false, ), array( 'id' => 'orun-opt-single-p-font', 'type' => 'typography', 'title' => __('Yazı İçeriği Paragraf', 'orun'), 'output' => '.entry-content p', 'font_family' => false, 'text_align' => false, 'color' => false, 'text_transform' => false, ), array( 'id' => 'orun-opt-single-h1-font', 'type' => 'typography', 'title' => __('Yazı İçi Başlık font Ayarları', 'orun'), 'output' => '.entry-content h2,h3,h4,h5,h6', 'output_important' => true, 'font_family' => false, 'text_align' => false, 'color' => false, 'text_transform' => false, ), array( 'id' => 'orun-opt-single-meta-font', 'type' => 'typography', 'title' => __('Yazı Meta Alanı', 'orun'), 'output' => '.orun-single-meta,.related-info span', 'output_important' => true, 'font_family' => false, 'text_align' => false, 'color' => false, 'text_transform' => false, ), array( 'type' => 'subheading', 'content' => __('Genel Yazı Ayarları - Affiliate Modülleri', 'orun'), ), array( 'id' => 'orun-opt-main-font-affiliate-basliklari', 'type' => 'typography', 'title' => __('Genel - Yazı Tipi - Affiliate Modülleri Başlıkları', 'orun'), 'desc' => __('Affiliate Modülleri başlıkları için geçerlidir.', 'orun'), 'output' => '.af-3 .orun-pm-affi-text-2 ', 'output_important' => true, 'text_align' => true, 'text_transform' => true, 'font_size' => true, 'line_height' => true, 'color' => true, 'letter_spacing' => true, 'font_style' => true, 'extra_styles' => true, 'output_mode' => 'color', 'output_important' => false, 'default' => array( 'font-size' => '16px', ) ), array( 'id' => 'orun-opt-main-font-affiliate', 'type' => 'typography', 'title' => __('Genel - Yazı Tipi - Affiliate Modülleri', 'orun'), 'desc' => __('Affiliate Modülleri tanım yazıları için geçerlidir.', 'orun'), 'output' => '.orun-pm-affi-bottom, .orun-pm-text p, .af-3 .orun-pm-affi-bottom', 'output_important' => true, 'text_align' => true, 'text_transform' => true, 'font_size' => true, 'line_height' => true, 'color' => true, 'letter_spacing' => true, 'font_style' => true, 'extra_styles' => true, 'output_mode' => 'color', 'output_important' => false, 'default' => array( 'font-size' => '16px', ) ), array( 'id' => 'orun-opt-main-font-affiliate-butonlar', 'type' => 'typography', 'title' => __('Genel - Yazı Tipi - Affiliate Modülleri Butonları', 'orun'), 'desc' => __('Affiliate Modülleri buton yazıları için geçerlidir.', 'orun'), 'output' => '.orun-pm-button a span ', 'output_important' => true, 'text_align' => true, 'text_transform' => true, 'font_size' => true, 'line_height' => true, 'color' => true, 'letter_spacing' => true, 'font_style' => true, 'extra_styles' => true, 'output_mode' => 'color', 'output_important' => false, 'default' => array( 'font-size' => '16px', ) ), ), ) ); CSF::createSection( $prefix, array( 'title' => __('Reklam Ayarları', 'orun'), 'icon' => 'fas fa-ad', 'fields' => array( array( 'id' => 'orun-opt-ads-header', 'title' => __('Üst Kısım Reklam Kodu', 'orun'), 'subtitle' => __('Önerilen reklam boyutları: 728x90, 468x60', 'orun'), 'type' => 'code_editor', 'sanitize' => false, ), array( 'id' => 'orun-opt-ads-header-bottom', 'title' => __('Üst Kısım Altı Reklam Kodu', 'orun'), 'subtitle' => __('Önerilen reklam boyutları: 970x250, 728x90, 468x60', 'orun'), 'type' => 'code_editor', 'sanitize' => false, ), array( 'id' => 'orun-opt-ads-single-top', 'title' => __('Yazı Üstü Reklam Kodu', 'orun'), 'subtitle' => __('Önerilen reklam boyutları: <em>Yatay reklamlar</em>', 'orun'), 'type' => 'code_editor', 'sanitize' => false, ), array( 'id' => 'orun-opt-ads-single-bottom', 'title' => __('Yazı Altı Reklam Kodu', 'orun'), 'subtitle' => __('Önerilen reklam boyutları: <em>Yatay reklamlar</em>', 'orun'), 'type' => 'code_editor', 'sanitize' => false, ), array( 'id' => 'orun-opt-ads-footer', 'title' => __('Alt Kısım Reklam Kodu', 'orun'), 'subtitle' => __('Önerilen reklam boyutları: 970x250, 728x90, 468x60', 'orun'), 'type' => 'code_editor', 'sanitize' => false, ), ), ) ); CSF::createSection( $prefix, array( 'title' => __('Sosyal Medya Ayarları', 'orun'), 'icon' => 'fas fa-user-plus', 'fields' => array( array( 'type' => 'content', 'content' => __('Sosyal medya hesaplarınızı URL olarak girin. Örnek: https://twitter.com/orunofficial', 'orun'), ), array( 'id' => 'orun-opt-social-rss', 'type' => 'switcher', 'title' => __('RSS', 'orun'), ), array( 'id' => 'orun-opt-social-rss-url', 'type' => 'text', 'title' => __('RSS Özel URL', 'orun'), 'desc' => __('İsteğe bağlı özel RSS URL\'i kullanıyorsanız buraya girin. Varsayılan WordPress RSS\'i için boş bırakın.', 'orun'), 'dependency' => array('orun-opt-social-rss', '==', 'true'), ), array( 'id' => 'orun-opt-google-news', 'type' => 'switcher', 'title' => __('Google News', 'orun'), ), array( 'id' => 'orun-opt-google-news-url', 'type' => 'text', 'title' => __('Google News URL', 'orun'), 'desc' => __('Google News URL adresinizi girin. Tekil yazı sayfasında gösterilir.'), 'dependency' => array('orun-opt-google-news', '==', 'true'), ), array( 'id' => 'orun-opt-social-facebook', 'type' => 'text', 'title' => __('Facebook', 'orun'), ), array( 'id' => 'orun-opt-social-twitter', 'type' => 'text', 'title' => __('Twitter', 'orun'), ), array( 'id' => 'orun-opt-social-instagram', 'type' => 'text', 'title' => __('Instagram', 'orun'), ), array( 'id' => 'orun-opt-social-pinterest', 'type' => 'text', 'title' => __('Pinterest', 'orun'), ), array( 'id' => 'orun-opt-social-youtube', 'type' => 'text', 'title' => __('YouTube', 'orun'), ), array( 'id' => 'orun-opt-social-linkedin', 'type' => 'text', 'title' => __('LinkedIn', 'orun'), ), array( 'id' => 'orun-opt-social-tumblr', 'type' => 'text', 'title' => __('Tumblr', 'orun'), ), array( 'id' => 'orun-opt-social-tiktok', 'type' => 'text', 'title' => __('TikTok', 'orun'), ), array( 'id' => 'orun-opt-social-telegram', 'type' => 'text', 'title' => __('Telegram', 'orun'), ), array( 'id' => 'orun-opt-social-whatsapp', 'type' => 'text', 'title' => __('WhatsApp', 'orun'), ), array( 'id' => 'orun-opt-social-snapchat', 'type' => 'text', 'title' => __('Snapchat', 'orun'), ), array( 'id' => 'orun-opt-social-twitch', 'type' => 'text', 'title' => __('Twitch', 'orun'), ), array( 'id' => 'orun-opt-social-medium', 'type' => 'text', 'title' => __('Medium', 'orun'), ), ), ) ); CSF::createSection( $prefix, array( 'id' => 'orun-opt-css', 'title' => __('Özel CSS', 'orun'), 'icon' => 'fas fa-file-code', 'fields' => array( array( 'id' => 'orun-opt-custom-css', 'type' => 'code_editor', 'title' => __('Özel CSS Alanı', 'orun'), 'subtitle' => __('CSS kodunuzu yandaki alana girin. Alana herhangi bir etiket veya HTML eklemeyin. Buraya girilen özel CSS, tema CSS sini geçersiz kılacaktır. Bazı durumlarda, !important etiketi gerekli olabilir. Resim veya svg yollarını URL ile kodlamayın. Bu alanın içeriği otomatik olarak kodlanacaktır.'), 'settings' => array( 'theme' => 'mbo', 'mode' => 'css', ), 'default' => '', ), ), ) ); CSF::createSection( $prefix, array( 'id' => 'orun-opt-backup', 'title' => __('İçe/Dışa Aktar', 'orun'), 'icon' => 'fas fa-cloud-download-alt', 'fields' => array( array( 'type' => 'subheading', 'title' => __('İçe/Dışa Aktar', 'orun'), ), array( 'type' => 'backup', ), ), ) ); } ?>