Server IP : 172.67.158.161 / Your IP : 3.141.31.116 Web Server : LiteSpeed System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : giankuin ( 1871) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/proc/thread-self/root/home/giankuin/sieuthiweb.com.vn/wp-content/themes/flatsome/inc/admin/options/blog/ |
Upload File : |
<?php Flatsome_Option::add_section( 'blog-single', array( 'title' => __( 'Blog Single Post', 'flatsome-admin' ), 'panel' => 'blog', ) ); Flatsome_Option::add_field( 'option', array( 'type' => 'radio-image', 'settings' => 'blog_post_layout', 'label' => __( 'Blog Post Single Layout', 'flatsome-admin' ), 'section' => 'blog-single', 'default' => 'right-sidebar', 'choices' => array( 'right-sidebar' => $image_url . 'layout-right.svg', 'left-sidebar' => $image_url . 'layout-left.svg', 'no-sidebar' => $image_url . 'layout-no-sidebar.svg', ), ) ); Flatsome_Option::add_field( 'option', array( 'type' => 'radio-image', 'settings' => 'blog_post_style', 'label' => __( 'Title Layout', 'flatsome-admin' ), 'section' => 'blog-single', 'default' => 'default', 'choices' => array( 'default' => $image_url . 'blog-single.svg', 'top' => $image_url . 'blog-single-full.svg', 'inline' => $image_url . 'blog-single-inline.svg', ), ) ); Flatsome_Option::add_field( 'option', array( 'type' => 'checkbox', 'settings' => 'blog_single_transparent', 'label' => __( 'Transparent Header', 'flatsome-admin' ), 'section' => 'blog-single', 'default' => 0, ) ); Flatsome_Option::add_field( 'option', array( 'type' => 'checkbox', 'settings' => 'blog_single_header_meta', 'label' => __( 'Enable Header Meta', 'flatsome-admin' ), 'section' => 'blog-single', 'default' => 1, ) ); Flatsome_Option::add_field( 'option', array( 'type' => 'checkbox', 'settings' => 'blog_single_featured_image', 'label' => __( 'Enable Featured Image', 'flatsome-admin' ), 'section' => 'blog-single', 'default' => 1, ) ); Flatsome_Option::add_field( 'option', array( 'type' => 'checkbox', 'settings' => 'blog_share', 'label' => __( 'Enable Share Icons', 'flatsome-admin' ), 'section' => 'blog-single', 'default' => 1, ) ); Flatsome_Option::add_field( 'option', array( 'type' => 'checkbox', 'settings' => 'blog_single_footer_meta', 'label' => __( 'Enable Footer Meta', 'flatsome-admin' ), 'section' => 'blog-single', 'default' => 1, ) ); Flatsome_Option::add_field( 'option', array( 'type' => 'checkbox', 'settings' => 'blog_author_box', 'label' => __( 'Enable Blog Author Box', 'flatsome-admin' ), 'section' => 'blog-single', 'default' => 1, ) ); Flatsome_Option::add_field( 'option', array( 'type' => 'checkbox', 'settings' => 'blog_single_next_prev_nav', 'label' => __( 'Enable Next/Prev Navigation', 'flatsome-admin' ), 'section' => 'blog-single', 'default' => 1, ) ); Flatsome_Option::add_field( 'option', array( 'type' => 'textarea', 'settings' => 'blog_after_post', 'label' => __( 'HTML after blog posts', 'flatsome-admin' ), 'section' => 'blog-single', 'description' => 'Enter HTML or shortcodes that will be visible after blog posts. (Before comment box). Shortcodes are allowed', 'sanitize_callback' => 'flatsome_custom_sanitize', 'default' => '', ) );