s in logo area)', 'gillion' ),
'3' => esc_html__( 'With Ad place', 'gillion' ),
),
'default' => 'default',
),
array(
'id' => 'header_style',
'title' => esc_html__( 'Above Content', 'gillion' ),
'subtitle' => esc_html__( 'Enable or disable header above content', 'gillion' ),
'type' => 'select',
'options' => array(
'default' => esc_html__( 'Default', 'gillion' ),
'light' => esc_html__( 'Light Text Large', 'gillion' ),
'light_mobile_off' => esc_html__( 'Light Text Large (default mobile version)', 'gillion' ),
'dark' => esc_html__( 'Dark Text Large', 'gillion' ),
'dark_mobile_off' => esc_html__( 'Dark Text Large (default mobile version)', 'gillion' ),
),
'default' => '1',
),
array(
'id' => 'header_style_description',
'title' => esc_html__( 'Above Content - Description', 'gillion' ),
'subtitle' => esc_html__( 'Enter this page description', 'gillion' ),
'type' => 'text',
'default' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit',
),
array(
'id' => 'header_style_breadcrumbs',
'title' => esc_html__( 'Above Content - Breadcrumbs', 'gillion' ),
'subtitle' => esc_html__( 'Enable or disable dreadcrumbs', 'gillion' ),
'type' => 'button_set',
'options' => array(
'0' => 'Off',
'1' => esc_html__( 'On', 'gillion' ),
),
),
array(
'id' => 'header_style_scroll_button',
'title' => esc_html__( 'Above Content - Scroll Down Button', 'gillion' ),
'subtitle' => esc_html__( 'Enable or disable scroll down button', 'gillion' ),
'type' => 'button_set',
'options' => array(
'0' => 'Off',
'1' => esc_html__( 'On', 'gillion' ),
),
),
array(
'id' => 'titlebar',
'title' => esc_html__( 'Titlebar', 'gillion' ),
'subtitle' => esc_html__( 'Enable or disable titlebar', 'gillion' ),
'type' => 'select',
'options' => array(
'default' => esc_html__( 'Default (from theme options)', 'gillion' ),
'on' => esc_html__( 'On', 'gillion' ),
'off' => esc_html__( 'Off', 'gillion' ),
),
'default' => 'default',
),
array(
'id' => 'titlebar_background',
'title' => esc_html__( 'Titlebar Background Image', 'gillion' ),
'subtitle' => esc_html__( 'Upload titlebar background image', 'gillion' ),
'url' => '1',
'type' => 'media',
),
array(
'id' => 'titlebar_background_parallax',
'title' => esc_html__( 'Titlebar Parallax Background', 'gillion' ),
'subtitle' => esc_html__( 'Enable or disable parallax background', 'gillion' ),
'type' => 'select',
'options' => array(
'default' => esc_html__( 'Default (from theme options)', 'gillion' ),
'on' => esc_html__( 'On', 'gillion' ),
'off' => esc_html__( 'Off', 'gillion' ),
),
'default' => 'default',
),
array(
'id' => 'transparent_everything',
'title' => esc_html__( 'Transparent body/header/titlebar', 'gillion' ),
'subtitle' => esc_html__( 'Enable or disable transparent body/header/titlebar', 'gillion' ),
'type' => 'button_set',
'options' => array(
'off' => esc_html__( 'Off', 'gillion' ),
'on' => esc_html__( 'On', 'gillion' ),
),
'default' => 'off',
),
array(
'id' => 'header-overlay',
'type' => 'button_set',
'title' => __( 'Overlay', 'gillion' ),
'subtitle' => __( 'Make header appear above page content', 'gillion' ),
'options' => array(
'on' => 'On',
'' => 'Default',
'off' => 'Off'
),
'default' => 'off'
),
),
);
$page_sections[] = $post_sections[] = array(
'title' => __( 'Footer', 'gillion' ),
'icon' => 'ti-anchor',
'fields' => array(
array(
'id' => 'instagram_widgets',
'title' => esc_html__( 'Instagram Widget', 'gillion' ),
'subtitle' => esc_html__( 'Enable or disable footer widgets', 'gillion' ),
'type' => 'button_set',
'options' => array(
'on' => esc_html__( 'On', 'gillion' ),
'off' => esc_html__( 'Off', 'gillion' ),
),
'default' => 'on',
),
array(
'id' => 'footer_widgets',
'title' => esc_html__( 'Footer Widgets', 'gillion' ),
'subtitle' => esc_html__( 'Enable or disable footer widgets', 'gillion' ),
'type' => 'select',
'options' => array(
'default' => esc_html__( 'Default (from theme options)', 'gillion' ),
'on' => esc_html__( 'On', 'gillion' ),
'off' => esc_html__( 'Off', 'gillion' ),
),
'default' => 'default',
),
array(
'id' => 'copyright_bar',
'title' => esc_html__( 'FooterCopyrights', 'gillion' ),
'subtitle' => esc_html__( 'Enable or disable footer copyrights', 'gillion' ),
'type' => 'select',
'options' => array(
'default' => esc_html__( 'Default (from theme options)', 'gillion' ),
'on' => esc_html__( 'On', 'gillion' ),
'off' => esc_html__( 'Off', 'gillion' ),
),
'default' => 'default',
),
),
);
$page_sections[] = array(
'title' => __( 'Blog', 'gillion' ),
'icon' => 'ti-pencil-alt',
'fields' => array(
array(
'id' => 'use only if page template is set to blog_divider',
'title' => '
' . esc_html__( 'Use only if page template is set to Blog', 'gillion' ) . '
',
'type' => 'raw',
),
array(
'id' => 'page_blog_title',
'title' => esc_html__( 'Blog Custom Title', 'gillion' ),
'type' => 'text',
),
array(
'id' => 'page-blog-style',
'title' => esc_html__( 'Blog Style', 'gillion' ),
'subtitle' => esc_html__( 'Choose blog style', 'gillion' ),
'type' => 'radio',
'options' => array(
'masonry' => esc_html__( 'Masonry', 'gillion' ),
'masonry blog-style-masonry-card' => esc_html__( 'Masonry Card', 'gillion' ),
'grid' => esc_html__( 'Grid', 'gillion' ),
'left-small' => esc_html__( 'Left', 'gillion' ),
'left-mini' => esc_html__( 'Left (mini)', 'gillion' ),
'left' => esc_html__( 'Left (large)', 'gillion' ),
'left-right' => esc_html__( 'Left/Right Mix', 'gillion' ),
'left-right blog-style-left-right-small' => esc_html__( 'Left/Right Mix (small without description)', 'gillion' ),
'left-right blog-style-left-right-large' => esc_html__( 'Left/Right Mix (large)', 'gillion' ),
'large' => esc_html__( 'Large (title at the top)', 'gillion' ),
'large large-title-bellow' => esc_html__( 'Large (title bellow the image)', 'gillion' ),
'large large-centered' => esc_html__( 'Large (centered)', 'gillion' ),
),
'default' => 'masonry masonry-shadow',
),
array(
'id' => 'page_blog_featured',
'title' => esc_html__( 'Blog Featured Post', 'gillion' ),
'type' => 'button_set',
'options' => array(
'0' => 'Off',
'1' => esc_html__( 'On', 'gillion' ),
),
),
array(
'id' => 'page_blog_featured_style',
'title' => esc_html__( 'Blog Featured Post Style', 'gillion' ),
'subtitle' => esc_html__( 'Choose blog featured post style', 'gillion' ),
'type' => 'select',
'options' => array(
'large' => esc_html__( 'Large (title at the top)', 'gillion' ),
'large large-title-bellow' => esc_html__( 'Large (title bellow the image)', 'gillion' ),
'large large-centered' => esc_html__( 'Large (centered)', 'gillion' ),
),
'default' => 'large',
),
array(
'id' => 'page_blog_pagination_alignment',
'title' => esc_html__( 'Blog Pagination Alignment', 'gillion' ),
'subtitle' => esc_html__( 'Choose blog pagination alignment', 'gillion' ),
'type' => 'button_set',
'options' => array(
'left' => esc_html__( 'Left', 'gillion' ),
'center' => esc_html__( 'Center', 'gillion' ),
'right' => esc_html__( 'Right', 'gillion' ),
),
'default' => 'left',
),
array(
'id' => 'page_blog_order',
'title' => esc_html__( 'Blog Posts Order', 'gillion' ),
'subtitle' => esc_html__( 'Choose blog posts order', 'gillion' ),
'type' => 'select',
'options' => array(
'DESC' => esc_html__( 'Latest posts', 'gillion' ),
'ASC' => esc_html__( 'Oldest posts', 'gillion' ),
'rand' => esc_html__( 'Random posts', 'gillion' ),
),
'default' => 'DESC',
),
array(
'id' => 'page_blog_offset',
'title' => esc_html__( 'Blog Posts Offset', 'gillion' ),
'subtitle' => esc_html__( 'Choose blog posts offset', 'gillion' ),
'type' => 'select',
'options' => array(
'0' => 'No offset',
'1' => '1 posts',
'2' => '2 posts',
'3' => '3 posts',
'4' => '4 posts',
'5' => '5 posts',
'6' => '6 posts',
'7' => '7 posts',
'8' => '8 posts',
'9' => '9 posts',
'10' => '10 posts',
'11' => '11 posts',
'12' => '12 posts',
'13' => '13 posts',
'14' => '14 posts',
'15' => '15 posts',
'16' => '16 posts',
),
'default' => 'default',
),
array(
'id' => 'page_blog_category',
'title' => esc_html__( 'Blog Category', 'gillion' ),
'subtitle' => esc_html__( 'Enter one category per line (seperated with enter) either by name or slug', 'gillion' ),
'type' => 'textarea',
'population' => 'taxonomy',
'source' => 'category',
'prepopulate' => '200',
'limit' => '50',
),
array(
'id' => 'page_blog_posts_per_page',
'title' => esc_html__( 'Blog Posts Per Page', 'gillion' ),
'subtitle' => esc_html__( 'Choose how many posts will be disaplayed per page', 'gillion' ),
'type' => 'select',
'options' => array(
'default' => esc_html__( 'Default (from theme options)', 'gillion' ),
'3' => '3 posts',
'4' => '4 posts',
'5' => '5 posts',
'6' => '6 posts',
'7' => '7 posts',
'8' => '8 posts',
'9' => '9 posts',
'10' => '10 posts',
'11' => '11 posts',
'12' => '12 posts',
'13' => '13 posts',
'14' => '14 posts',
'15' => '15 posts',
'16' => '16 posts',
),
'default' => 'default',
),
array(
'id' => 'page_blog_pagination_type',
'title' => esc_html__( 'Blog Pagination Type', 'gillion' ),
'subtitle' => esc_html__( 'Choose blog pagination type', 'gillion' ),
'type' => 'radio',
'options' => array(
'default' => esc_html__( 'Default per page', 'gillion' ),
'button' => esc_html__( 'Load More button (on click)', 'gillion' ),
'infinite' => esc_html__( 'Infinite loading (on scroll)', 'gillion' ),
),
'default' => 'default',
),
array(
'id' => 'page_blog_dividing_line',
'title' => esc_html__( 'Blog Dividing Line', 'gillion' ),
'type' => 'button_set',
'options' => array(
'off' => esc_html__( 'Off', 'gillion' ),
'on' => esc_html__( 'On', 'gillion' ),
),
'default' => 'on',
),
array(
'id' => 'page_blog_description',
'title' => esc_html__( 'Blog Posts Description', 'gillion' ),
'type' => 'button_set',
'options' => array(
'default' => esc_html__( 'Default', 'gillion' ),
'off' => esc_html__( 'Off', 'gillion' ),
),
'default' => 'default',
),
),
);
$page_sections[] = $post_sections[] = array(
'title' => __( 'Colors', 'gillion' ),
'icon' => 'ti-palette',
'fields' => array(
array(
'id' => 'accent_color',
'title' => esc_html__( 'Accent Color', 'gillion' ),
'subtitle' => esc_html__( 'Set custom accent color for this page or leave blank for default', 'gillion' ),
'type' => 'color',
'validate' => 'color',
),
array(
'id' => 'accent_hover_color',
'title' => esc_html__( 'Accent Hover Color', 'gillion' ),
'subtitle' => esc_html__( 'Select page accent color on hover or leave blank for default', 'gillion' ),
'type' => 'color',
'validate' => 'color',
),
array(
'id' => 'header_nav_active_color',
'title' => esc_html__( 'Active Navigation Color', 'gillion' ),
'subtitle' => esc_html__( 'Select active navigation color or leave blank for default', 'gillion' ),
'type' => 'color',
'validate' => 'color',
),
array(
'id' => 'footer_hover_color',
'title' => esc_html__( 'Footer Hover Color', 'gillion' ),
'subtitle' => esc_html__( 'Select footer color on hover', 'gillion' ),
'type' => 'color',
'validate' => 'color',
),
),
);
// Declare your metaboxes
$metaboxes = array();
$metaboxes[] = array(
'id' => 'page-settings',
'title' => __( 'Page Settings', 'gillion' ),
'post_type' => 'page',
//'page_template' => array('page-test.php'), // Visibility of box based on page template selector
//'post_format' => array('image'), // Visibility of box based on post format
'position' => 'normal', // normal, advanced, side
'priority' => 'high', // high, core, default, low - Priorities of placement
'sections' => $page_sections,
);
$metaboxes[] = array(
'id' => 'post-settings',
'title' => __( 'Post Settings', 'gillion' ),
'post_type' => 'post',
'position' => 'normal',
'priority' => 'high',
'sections' => $post_sections,
);
return $metaboxes;
}
بایگانیها ارزش روز سهام عدالت یک میلیونی - اکوفاین | مدیریتی ، مالی ، اقتصادی
برچسب: ارزش روز سهام عدالت یک میلیونی
Home > ارزش روز سهام عدالت یک میلیونی