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

ID, $field['id'], true ); if(empty( $meta ) ){ $meta='default'; } if( $field['thumbnail']==' ' ): ?>