Server IP : 172.67.158.161 / Your IP : 18.119.113.66 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 : /home/giankuin/sieuthiweb.com.vn/wp-content/themes/flatsome/inc/admin/options/pages/ |
Upload File : |
<?php // PAGE META OPTIONS include('meta/meta_box_framework.php'); function flatsome_custom_meta_boxes() { $meta_box = array( 'id' => 'flatsome_page_options2', // Meta box ID 'title' => 'Page Layout', // Meta box title 'pages' => array('page'), // Post types this meta box should be shown on 'context' => 'side', // Meta box context 'priority' => 'core', // Meta box priority 'fields' => array( array( 'id' => '_footer', 'name' => 'Page Footer', //'desc' => 'This is a description.', 'type' => 'select', 'std' => 'normal', 'choices' => array( 'normal' => 'Normal', 'simple' => 'Simple', 'custom' => 'Custom', 'transparent' => 'Transparent', 'disabled' => 'Hide', ) ), ) ); dev7_add_meta_box( $meta_box ); } add_action( 'dev7_meta_boxes', 'flatsome_custom_meta_boxes' );