/
home
/
rekodeb
/
webrodez
/
wp-content
/
themes
/
calmer
/
lib
/
options
/
Upload File
HOME
<?php Redux::set_section('calmor_opt', array( 'title' => esc_html__( 'Blog', 'calmer' ), 'id' => 'blog_page_opt', 'icon' => 'dashicons dashicons-admin-post', )); /** * Blog Archive Settings */ Redux::set_section('calmor_opt', array( 'title' => esc_html__( 'Blog Archive', 'calmer' ), 'id' => 'blog_archive_settings_opt', 'icon' => '', 'subsection' => true, 'fields' => array( array( 'id' => 'blog_layout', 'type' => 'image_select', 'title' => __('Blog Layout', 'calmer'), 'subtitle' => __('Select your blog Layout', 'calmer'), 'options' => array( 'full' => array( 'alt' => '1 Column', 'img' => ReduxFramework::$_url.'assets/img/1col.png' ), 'left' => array( 'alt' => '2 Column Left', 'img' => ReduxFramework::$_url.'assets/img/2cl.png' ), 'right' => array( 'alt' => '2 Column Right', 'img' => ReduxFramework::$_url.'assets/img/2cr.png' ), ), 'default' => 'right' ), array( 'id' => 'post_archive_format', 'type' => 'button_set', 'title' => esc_html__('Post Format', 'calmer'), 'options' => array( 'yes' => esc_html__('List', 'calmer'), 'no' => esc_html__('Grid', 'calmer'), ), 'default' => 'yes' ), array( 'id' => 'post_meta_show_hide', 'type' => 'button_set', 'title' => esc_html__('Post Meta', 'calmer'), 'options' => array( 'yes' => esc_html__('Show', 'calmer'), 'no' => esc_html__('Hide', 'calmer'), ), 'default' => 'yes' ), array( 'id' => 'read_more_text_button', 'title' => __('Read More Button Text', 'calmer'), 'subtitle' => __('If you empty this field this then read more button are not showing ', 'calmer'), 'type' => 'text', 'default' => 'Read More' ), array( 'id' => 'blog_excerpt_wordlimit', 'title' => __('Post Excerpt Limit', 'calmer'), 'type' => 'text', 'default' => '200' ), ) )); /** * Blog Single Post */ Redux::set_section('calmor_opt', array( 'title' => esc_html__( 'Single Post', 'calmer' ), 'id' => 'blog_single_post_settings_opt', 'icon' => '', 'subsection' => true, 'fields' => array( array( 'id' => 'display_tags_single', 'type' => 'button_set', 'title' => esc_html__('Display Post Tags', 'calmer'), 'options' => array( 'yes' => 'Yes', 'no' => 'No', ), 'default' => 'no', ), array( 'id' => 'display_blog_share', 'type' => 'button_set', 'title' => esc_html__('Display Social Share?', 'calmer'), 'options' => array( 'yes' => 'Yes', 'no' => 'No', ), 'default' => 'no', ), array( 'id' => 'blog_single_shared_title', 'title' => __('Title Text', 'calmer'), 'type' => 'text', 'default' => 'Shared', 'required' => array( 'display_blog_share', '=', 'yes' ) ), array( 'id' => 'is_social_share_links', 'type' => 'checkbox', 'title' => __('Checked Share Links', 'calmer'), 'options' => array( 'facebook' => __('Facebook', 'calmer'), 'twitter' => __('Twitter', 'calmer'), 'pinterest'=> __('Pinterest', 'calmer'), 'linkedin' => __('Linkedin', 'calmer') ), 'default' => array( 'facebook' => '1', 'twitter' => '1', 'pinterest' => '0', 'linkedin' => '1' ), 'required' => array( 'display_blog_share', '=', 'yes' ) ), ) ));