__( 'Design', 'activetab' ), 'type' => 'heading' ); $options[] = array( 'name' => __( 'Logo', 'activetab' ), //'desc' => __( '', 'activetab' ), 'id' => 'logo_url', 'type' => 'upload' ); $options[] = array( 'name' => __( 'Show site title in the header', 'activetab' ), 'desc' => sprintf( __( 'Edit site title', 'activetab' ), admin_url( 'options-general.php' ) ), 'id' => 'show_site_title', 'std' => '1', 'type' => 'checkbox' ); $options[] = array( 'name' => __( 'Show site description in the header', 'activetab' ), 'desc' => sprintf( __( 'Edit site description', 'activetab' ), admin_url( 'options-general.php' ) ), 'id' => 'show_site_description', 'std' => '1', 'type' => 'checkbox' ); $options[] = array( 'name' => __( 'Show site title in the sidebar', 'activetab' ), //'desc' => sprintf( __( 'edit site title', 'activetab' ), admin_url( 'options-general.php' ) ), 'id' => 'show_sidebar_site_title', 'std' => '0', 'type' => 'checkbox' ); $options[] = array( 'name' => __( 'Show site description in the sidebar', 'activetab' ), //'desc' => sprintf( __( 'edit site description', 'activetab' ), admin_url( 'options-general.php' ) ), 'id' => 'show_sidebar_site_description', 'std' => '0', 'type' => 'checkbox' ); $options[] = array( 'name' => __( 'Code', 'activetab' ), 'type' => 'heading' ); $options[] = array( 'name' => __( 'Head code', 'activetab' ), 'desc' => __( 'Code will be added to head section just before closing [head] tag', 'activetab' ), 'id' => 'code_head', 'std' => '', 'type' => 'textarea' ); $options[] = array( 'name' => __( 'Footer code', 'activetab' ), 'desc' => __( 'Code will be added to body section just before closing [body] tag', 'activetab' ), 'id' => 'code_footer', 'std' => '', 'type' => 'textarea' ); $options[] = array( 'name' => __( 'Other', 'activetab' ), 'type' => 'heading' ); $content_preview_types_array = array( 'excerpt' => __( 'Excerpt', 'activetab' ), 'content' => __( 'Full content', 'activetab' ) ); $options[] = array( 'name' => __( 'Show excerpt or full content in the list of posts', 'activetab' ), //'desc' => __( '', 'activetab' ), 'id' => 'excerpt_or_full_content_in_list', 'std' => 'excerpt', 'type' => 'radio', 'options' => $content_preview_types_array ); return $options; }