$value){ $sociable_icons[$key]=PEXETO_FRONT_IMAGES_URL.'icons/'.$value; } $pexeto_general_options= array( array( "name" => "General", "type" => "title", "img" => PEXETO_IMAGES_URL."icon_general.png" ), array( "type" => "open", "subtitles"=>array(array("id"=>"main", "name"=>"Main Settings"), array("id"=>"sidebars", "name"=>"Sidebars"), array("id"=>"sociable", "name"=>"Sociable Icons"), array("id"=>"seo", "name"=>"SEO"), array("id"=>"update", "name"=>"Theme Update")) ), /* ------------------------------------------------------------------------* * MAIN SETTINGS * ------------------------------------------------------------------------*/ array( "type" => "subtitle", "id"=>'main' ), array( "name" => "Favicon image URL", "id" => PEXETO_SHORTNAME."_favicon", "type" => "upload", "desc" => "Upload a favicon image - with .ico extention." ), array( "name" => "Widgetized Footer", "id" => PEXETO_SHORTNAME."_widgetized_footer", "type" => "checkbox", "std" => 'on'), array( "name" => "Display page title on pages", "id" => PEXETO_SHORTNAME."_show_page_title", "type" => "checkbox", "std" => 'on', "desc" => 'If "ON" selected, the page title will be displayed in the beginning of the page content as a main title. ' ), array( "name" => "Display comments on pages", "id" => PEXETO_SHORTNAME."_page_comments", "type" => "checkbox", "std" => 'off', "desc" => 'By default comments won\'t be displayed on pages, but if you turn this option ON, you will be able to enable/disable comments for the separate pages in the "Allow comments" field of the page.
Note: This option is available for the Default Page Template only' ), array( "name" => "Display Twitter and Facebook buttons in lightbox", "id" => PEXETO_SHORTNAME."_sociable_lightbox", "type" => "checkbox", "std" => 'on'), array( "name" => "Google Analytics Code", "id" => PEXETO_SHORTNAME."_analytics", "type" => "textarea", "desc" => "You can paste your generated Google Analytics here and it will be automatically set to the theme." ), array( "type" => "close"), /* ------------------------------------------------------------------------* * SIDEBARS * ------------------------------------------------------------------------*/ array( "type" => "subtitle", "id"=>'sidebars' ), array( "name"=>"Add Sidebar", "id"=>'sidebars', "type"=>"custom", "button_text"=>'Add Sidebar', "fields"=>array( array('id'=>'_sidebar_name', 'type'=>'text', 'name'=>'Sidebar Name') ), "desc"=>"You can add as many custom sidebars you like and after that for each page you will be able to assign a different sidebar." ), array( "type" => "close"), /* ------------------------------------------------------------------------* * SOCIABLE ICONS * ------------------------------------------------------------------------*/ array( "type" => "subtitle", "id"=>'sociable' ), array( "name" => "Display sociable icons in footer", "id" => PEXETO_SHORTNAME."_show_footer_icons", "type" => "checkbox", "std" => 'on', "desc" => 'If enabled, a sociable icons section will be displayed in the footer below the four columns. The widgetized footer must be enabled in order for the icons to be displayed. You can add sociable icons in the "Add a sociable icon to the footer" section below.' ), array( "name"=>"Add a sociable icon to the footer", "id"=>'sociable_icons', "type"=>"custom", "button_text"=>'Add Icon', "preview"=>'_icon_url', "fields"=>array( array('id'=>'_icon_url', 'type'=>'imageselect', 'name'=>'Select Icon','options'=>$sociable_icons), array('id'=>'_icon_link', 'type'=>'text', 'name'=>'Sociable Site Link'), array('id'=>'_icon_title', 'type'=>'text', 'name'=>'Hover title (optional)') ) ), array( "type" => "close"), /* ------------------------------------------------------------------------* * SEO * ------------------------------------------------------------------------*/ array( "type" => "subtitle", "id"=>'seo' ), array( "type" => "documentation", "text" => '
Note: This section contains some basic SEO options. For more advanced options, you may consider using a SEO plugin - some plugins that we recommend are WordPress SEO by Yoast and All in One SEO Pack
' ), array( "name" => "Site keywords", "id" => PEXETO_SHORTNAME."_seo_keywords", "type" => "text", "desc" => 'The main keywords that describe your site, separated by commas. Example:
photography,design,art' ), array( "name" => "Home Page Description", "id" => PEXETO_SHORTNAME."_seo_description", "type" => "textarea", "desc" => "By default the Tagline set in Settings » General will be displayed as a description of the site. Here you can set a description that will be displayed on your home page only." ), array( "name" => "Home page title", "id" => PEXETO_SHORTNAME."_seo_home_title", "type" => "text", "desc" => 'This is the home page document title. By default the blog name is displayed and if you insert a title here, it will be prepended to the blog name' ), array( "name" => "Page title separator", "id" => PEXETO_SHORTNAME."_seo_serapartor", "type" => "text", "std" => '@', "desc" => 'Separates the different title parts' ), array( "name" => "Page title for category browsing", "id" => PEXETO_SHORTNAME."_seo_category_title", "type" => "text", "std" => 'Category » ', "desc" => 'This is the page title that is set to the document when browsing a category - the title is built by the text entered here, the name of the category and the name of the blog - for example:
Category » Business « @ Blog name' ), array( "name" => "Page title for tag browsing", "id" => PEXETO_SHORTNAME."_seo_tag_title", "type" => "text", "std" => 'Tag » ', "desc" => 'This is the page title that is set to the document when browsing a tag - the title is built by the text entered here, the name of the tag and the name of the blog - for example:
Tag » business « @ Blog name' ), array( "name" => "Page title for search results", "id" => PEXETO_SHORTNAME."_search_tag_title", "type" => "text", "std" => 'Search results » ', "desc" => 'This is the page title that is set to the document when displaying search results - the title is built by the text entered here, the search query and the name of the blog - for example:
Search results » business « @ Blog name' ), array( "name" => "Exclude pages from indexation", "id" => PEXETO_SHORTNAME."_seo_indexation", "type" => "multicheck", "options" => array(array('id'=>'category', 'name'=>'Category Archive'), array('id'=>'date', 'name'=>'Date Archive'), array('id'=>'tag', 'name'=>'Tag Archive'), array('id'=>'author', 'name'=>'Author Archive'), array('id'=>'search', 'name'=>'Search Results')), "class"=>"exclude", "desc" => 'Pages, such as archives pages, display some duplicate content - for example, the same post can be found on your main Blog page, but also in a category archive, date archive, etc. Some search engines are reported to penalize sites associated with too much duplicate content. Therefore, excluding the pages from this option will remove the search engine indexiation by adding "noindex" and "nofollow" meta tags which would prevent the search engines to index this duplicate content. By default, all the pages are indexed. '), array( "type" => "close"), /* ------------------------------------------------------------------------* * THEME UPDATE * ------------------------------------------------------------------------*/ array( "type" => "subtitle", "id"=>'update' ), array( "name" => "Envato Marketplace Username", "id" => PEXETO_SHORTNAME."_tf_username", "type" => "text", "desc" => "If you would like to have an option to automatically update the theme from the admin panel, you have to insert the username of the account you used to purchase the theme from ThemeForest. For more information you can refer to the \"Updates\" section of the documentation." ), array( "name" => "Envato Marketplace API Key", "id" => PEXETO_SHORTNAME."_tf_api_key", "type" => "text", "desc" => "If you would like to have an option to automatically update the theme from the admin panel, you have to insert your API Key here. To obtain your API Key, visit your \"My Settings\" page on any of the Envato Marketplaces (ThemeForest). For more information you can refer to the \"Updates\" section of the documentation." ), array( "type" => "close"), array( "type" => "close")); pexeto_add_options($pexeto_general_options);