array( 'id' => 'catchflames-sidebarlayout', 'value' => 'default', 'label' => sprintf( __( 'Default Layout Set in Theme Settings', 'catchflames' ), esc_url( admin_url('admin.php?page=theme_options' ) ) ), 'thumbnail' => ' ' ), 'three-columns' => array( 'id' => 'catchflames-sidebarlayout', 'value' => 'three-columns', 'label' => __( 'Three Columns (Style 1)', 'catchflames' ), 'thumbnail' => get_template_directory_uri() . '/inc/panel/images/three-columns.png' ), 'right-sidebar' => array( 'id' => 'catchflames-sidebarlayout', 'value' => 'right-sidebar', 'label' => __( 'Right sidebar', 'catchflames' ), 'thumbnail' => get_template_directory_uri() . '/inc/panel/images/right-sidebar.png' ), 'left-sidebar' => array( 'id' => 'catchflames-sidebarlayout', 'value' => 'left-sidebar', 'label' => __( 'Left sidebar', 'catchflames' ), 'thumbnail' => get_template_directory_uri() . '/inc/panel/images/left-sidebar.png' ), 'no-sidebar' => array( 'id' => 'catchflames-sidebarlayout', 'value' => 'no-sidebar', 'label' => __( 'No sidebar', 'catchflames' ), 'thumbnail' => get_template_directory_uri() . '/inc/panel/images/no-sidebar.png' ) ); /** * @renders metabox to for sidebar layout */ function catchflames_sidebar_layout() { global $sidebar_layout, $post; // Use nonce for verification wp_nonce_field( basename( __FILE__ ), 'custom_meta_box_nonce' ); // Begin the field table and loop ?>