<?php

/* ----------------------------------------------------------------------------------- */
/* Initializes all the theme settings option fields for admin area. */
/* ----------------------------------------------------------------------------------- */
$options = array('tabs' => array(array('name' => __('General', 'tfuse'), 'type' => 'tab', 'id' => TF_THEME_PREFIX . '_general', 'headings' => array(array('name' => __('General Settings', 'tfuse'), 'options' => array(array('name' => __('Logo Type', 'tfuse'), 'desc' => __('Select logo type', 'tfuse'), 'id' => TF_THEME_PREFIX . '_logo_type', 'value' => 'text', 'options' => array('text' => __('Text logo', 'tfuse'), 'img' => __('Image logo', 'tfuse')), 'type' => 'select'), array('name' => __('Custom Logo', 'tfuse'), 'desc' => __('Upload a logo for your theme, or specify the image address of your online logo. (//yoursite.com/logo.png)', 'tfuse'), 'id' => TF_THEME_PREFIX . '_logo', 'value' => '', 'type' => 'upload'), array('name' => __('Text Logo', 'tfuse'), 'desc' => __('Enter your text for logo', 'tfuse'), 'id' => TF_THEME_PREFIX . '_logo_text', 'value' => 'Games<span>Zone</span>', 'type' => 'text', 'divider' => true), array('name' => __('Custom Favicon', 'tfuse') . ' <br /> (16px x 16px)', 'desc' => __('Upload a 16px x 16px Png/Gif image that will represent your website\'s favicon.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_favicon', 'value' => '', 'type' => 'upload', 'divider' => true), array('name' => __('Default Avatar', 'tfuse'), 'desc' => __('For users without a custom avatar of their own, you can either display a generic logo or a generated one based on their e-mail address.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_default_avatar', 'value' => '', 'type' => 'upload', 'divider' => true), array('name' => __('Tracking Code', 'tfuse'), 'desc' => __('Paste your Google Analytics (or other) tracking code here. This will be added into the footer template of your theme.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_google_analytics', 'value' => '', 'type' => 'textarea', 'divider' => true), array('name' => __('Custom CSS', 'tfuse'), 'desc' => __('Quickly add some CSS to your theme by adding it to this block.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_custom_css', 'value' => '', 'type' => 'textarea'))), array('name' => __('Gallery', 'tfuse'), 'options' => array(array('name' => __('Gallery Type', 'tfuse'), 'desc' => __('Select your preferred  display type for Gallery posts.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_portf_type', 'value' => 'pretty', 'options' => array('pretty' => __('Gallery', 'tfuse'), 'single' => __('Single Image', 'tfuse')), 'type' => 'select'))), array('name' => __('Socials', 'tfuse'), 'options' => array(array('name' => __('Socials Location', 'tfuse'), 'desc' => __('Select socials location', 'tfuse'), 'id' => TF_THEME_PREFIX . '_header_socials', 'value' => 'both', 'options' => array('no' => __('Disable socials', 'tfuse'), 'both' => __('Header and Footer', 'tfuse'), 'header' => __('Header', 'tfuse'), 'footer' => __('Footer', 'tfuse')), 'type' => 'select', 'divider' => true), array('name' => __('Title', 'tfuse'), 'desc' => __('Socials Title', 'tfuse'), 'id' => TF_THEME_PREFIX . '_header_socials_title', 'value' => '', 'type' => 'text', 'divider' => true), array('name' => __('Facebook', 'tfuse'), 'desc' => __('Facebook Link', 'tfuse'), 'id' => TF_THEME_PREFIX . '_header_facebook', 'value' => '', 'type' => 'text'), array('name' => __('Twitter', 'tfuse'), 'desc' => __('Twitter Link', 'tfuse'), 'id' => TF_THEME_PREFIX . '_header_twitter', 'value' => '', 'type' => 'text'), array('name' => __('Dribbble', 'tfuse'), 'desc' => __('Dribbble Link', 'tfuse'), 'id' => TF_THEME_PREFIX . '_header_dribbble', 'value' => '', 'type' => 'text'), array('name' => __('LinkedIn', 'tfuse'), 'desc' => __('LinkedIn Link', 'tfuse'), 'id' => TF_THEME_PREFIX . '_header_linkedin', 'value' => '', 'type' => 'text'), array('name' => __('Flickr', 'tfuse'), 'desc' => __('Flickr Link', 'tfuse'), 'id' => TF_THEME_PREFIX . '_header_flickr', 'value' => '', 'type' => 'text'))), array('name' => __('404 Page Shortcodes', 'tfuse'), 'options' => array(array('name' => __('Shortcodes on Top', 'tfuse'), 'desc' => __('In this textarea you can input your prefered custom shotcodes.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_404_content_on_top', 'value' => '', 'type' => 'textarea'), array('name' => __('Shortcodes before Content', 'tfuse'), 'desc' => __('In this textarea you can input your prefered custom shotcodes.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_404_content_top', 'value' => '', 'type' => 'textarea'), array('name' => __('Shortcodes after Content', 'tfuse'), 'desc' => __('In this textarea you can input your prefered custom shotcodes.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_404_content_bottom', 'value' => '', 'type' => 'textarea'))), array('name' => __('Search Page Shortcodes', 'tfuse'), 'options' => array(array('name' => __('Shortcodes on Top', 'tfuse'), 'desc' => __('In this textarea you can input your prefered custom shotcodes.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_search_content_on_top', 'value' => '', 'type' => 'textarea'), array('name' => __('Shortcodes before Content', 'tfuse'), 'desc' => __('In this textarea you can input your prefered custom shotcodes.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_search_content_top', 'value' => '', 'type' => 'textarea'), array('name' => __('Shortcodes after Content', 'tfuse'), 'desc' => __('In this textarea you can input your prefered custom shotcodes.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_search_content_bottom', 'value' => '', 'type' => 'textarea'))), array('name' => __('Twitter', 'tfuse'), 'options' => array(array('name' => __('Consumer Key', 'tfuse'), 'desc' => __('Set your', 'tfuse') . '<a href="//screencast.com/t/zHu17C7nXy1">' . __('twitter', 'tfuse') . '</a> ' . __('application', 'tfuse') . ' <a href="//screencast.com/t/yb44HiF2NZ">' . __('consumer key', 'tfuse') . '</a>.', 'id' => TF_THEME_PREFIX . '_twitter_consumer_key', 'value' => 'XW7t8bECoR6ogYtUDNdjiQ', 'type' => 'text', 'divider' => true), array('name' => __('Consumer Secret', 'tfuse'), 'desc' => __('Set your ', 'tfuse') . '<a href="//screencast.com/t/zHu17C7nXy1">' . __('twitter', 'tfuse') . '</a> ' . __('application', 'tfuse') . ' <a href="//screencast.com/t/eaKJHG1omN">' . __('consumer secret key', 'tfuse') . '</a>.', 'id' => TF_THEME_PREFIX . '_twitter_consumer_secret', 'value' => 'Z7UzuWU8a4obyOOlIguuI4a5JV4ryTIPKZ3POIAcJ9M', 'type' => 'text', 'divider' => true), array('name' => __('User Token', 'tfuse'), 'desc' => __('Set your ', 'tfuse') . '<a href="//screencast.com/t/zHu17C7nXy1">' . __('twitter', 'tfuse') . '</a> ' . __('application', 'tfuse') . ' <a href="//screencast.com/t/QEEG2O4H">' . __('access token key', 'tfuse') . '</a>.', 'id' => TF_THEME_PREFIX . '_twitter_user_token', 'value' => '1510587853-ugw6uUuNdNMdGGDn7DR4ZY4IcarhstIbq8wdDud', 'type' => 'text', 'divider' => true), array('name' => __('User Secret', 'tfuse'), 'desc' => __('Set your ', 'tfuse') . '<a href="//screencast.com/t/zHu17C7nXy1">' . __('twitter', 'tfuse') . '</a>  ' . __('application', 'tfuse') . ' <a href="//screencast.com/t/Yv7nwRGsz">' . __('access token secret key', 'tfuse') . '</a>.', 'id' => TF_THEME_PREFIX . '_twitter_user_secret', 'value' => '7aNcpOUGtdKKeT1L72i3tfdHJWeKsBVODv26l9C0Cc', 'type' => 'text'))), array('name' => __('RSS', 'tfuse'), 'options' => array(array('name' => __('RSS URL', 'tfuse'), 'desc' => __('Enter your preferred RSS URL. (Feedburner or other)', 'tfuse'), 'id' => TF_THEME_PREFIX . '_feedburner_url', 'value' => '', 'type' => 'text', 'divider' => true), array('name' => __('E-Mail URL', 'tfuse'), 'desc' => __('Enter your preferred E-mail subscription URL. (Feedburner or other)', 'tfuse'), 'id' => TF_THEME_PREFIX . '_feedburner_id', 'value' => '', 'type' => 'text', 'divider' => true))), array('name' => __('Enable Theme settings', 'tfuse'), 'options' => array(array('name' => __('Author Info', 'tfuse'), 'desc' => __('Enable Author Info?', 'tfuse'), 'id' => TF_THEME_PREFIX . '_disable_author_info', 'value' => 'true', 'type' => 'checkbox', 'divider' => true), array('name' => __('SEO Tab', 'tfuse'), 'desc' => __('Enable SEO option?', 'tfuse'), 'id' => TF_THEME_PREFIX . '_enable_tfuse_seo_tab', 'value' => true, 'type' => 'checkbox', 'on_update' => 'reload_page', 'divider' => true), array('name' => __('Dynamic Image Resizer', 'tfuse'), 'desc' => __('This will Enable the thumb.php script that dynamicaly resizes images on your site. We recommend you keep this enabled, however note that for this to work you need to have "GD Library" installed on your server. This should be done by your hosting server administrator.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_disable_resize', 'value' => 'true', 'type' => 'checkbox', 'divider' => true), array('name' => __('Remove Wordpress Versions', 'tfuse'), 'desc' => __('Remove Wordpress versions from the source code, for security reasons.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_remove_wp_versions', 'value' => TRUE, 'type' => 'checkbox'))))), array('name' => __('Styles', 'tfuse'), 'id' => TF_THEME_PREFIX . '_styles', 'headings' => array(array('name' => __('Theme Fonts', 'tfuse'), 'options' => array(array('name' => __('Headings Font', 'tfuse'), 'desc' => __('Select the headings font. You can preview it on ', 'tfuse') . '<a href="https://www.google.com/fonts" target="_blank">' . __(' Google Fonts', 'tfuse') . '</a>', 'id' => TF_THEME_PREFIX . '_h_font', 'value' => 'roboto', 'options' => array('roboto' => __('Roboto Slab', 'tfuse'), 'cabin' => 'Cabin', 'droid_sans' => 'Droid Sans', 'gafata' => 'Gafata', 'oxygen' => 'Oxygen', 'philosopher' => 'Philosopher', 'questrial' => 'Questrial', 'raleway' => 'Raleway', 'signika' => 'Signika', 'ubuntu' => 'Ubuntu', 'georgia' => 'Georgia', 'arial' => 'Arial', 'arbutus' => 'Arbutus Slab', 'bitter' => 'Bitter', 'coustard' => 'Coustard', 'droid_serif' => 'Droid Serif', 'eb' => 'EB Garamond', 'goudy' => 'Goudy Bookletter 1911', 'kotta' => 'Kotta One', 'playfair' => 'Playfair Display', 'vidaloka' => 'Vidaloka'), 'type' => 'select', 'divider' => true), array('name' => __('Body Font', 'tfuse'), 'desc' => __('Select the body font. You can preview it on ', 'tfuse') . '<a href="https://www.google.com/fonts" target="_blank">' . __(' Google Fonts', 'tfuse') . '</a>', 'id' => TF_THEME_PREFIX . '_body_font', 'value' => 'gafata', 'options' => array('roboto' => __('Roboto Slab', 'tfuse'), 'cabin' => 'Cabin', 'droid_sans' => 'Droid Sans', 'gafata' => 'Gafata', 'oxygen' => 'Oxygen', 'philosopher' => 'Philosopher', 'questrial' => 'Questrial', 'raleway' => 'Raleway', 'signika' => 'Signika', 'ubuntu' => 'Ubuntu', 'georgia' => 'Georgia', 'arial' => 'Arial', 'arbutus' => 'Arbutus Slab', 'bitter' => 'Bitter', 'coustard' => 'Coustard', 'droid_serif' => 'Droid Serif', 'eb' => 'EB Garamond', 'goudy' => 'Goudy Bookletter 1911', 'kotta' => 'Kotta One', 'playfair' => 'Playfair Display', 'vidaloka' => 'Vidaloka'), 'type' => 'select'))), array('name' => __('Theme Styles', 'tfuse'), 'options' => array(array('name' => __('Website Background Color', 'tfuse'), 'desc' => __('Select Background Color', 'tfuse'), 'id' => TF_THEME_PREFIX . '_bg_color', 'value' => '#ededed', 'type' => 'colorpicker', 'divider' => true), array('name' => __('Primary Color', 'tfuse'), 'desc' => __('Select Primary Color', 'tfuse'), 'id' => TF_THEME_PREFIX . '_primary_color', 'value' => '#66cc33', 'type' => 'colorpicker', 'divider' => true), array('name' => __('Main Menu Gradient', 'tfuse'), 'desc' => __('Select Main Menu Top Color', 'tfuse'), 'id' => TF_THEME_PREFIX . '_menu_color', 'value' => '#000000', 'type' => 'colorpicker'), array('name' => __('', 'tfuse'), 'desc' => __('Select Main Menu Bottom Color', 'tfuse'), 'id' => TF_THEME_PREFIX . '_menu_color_bot', 'value' => '#343434', 'type' => 'colorpicker', 'divider' => true), array('name' => __('Top Section Background', 'tfuse'), 'desc' => __('Select Top Section Background', 'tfuse'), 'id' => TF_THEME_PREFIX . '_top_section', 'value' => '#403f3f', 'type' => 'colorpicker', 'divider' => true), array('name' => __('Text Color', 'tfuse'), 'desc' => __('Select Text Color', 'tfuse'), 'id' => TF_THEME_PREFIX . '_text_color', 'value' => '#666666', 'type' => 'colorpicker', 'divider' => true), array('name' => __('Link Color', 'tfuse'), 'desc' => __('Select Link Color', 'tfuse'), 'id' => TF_THEME_PREFIX . '_link_color', 'value' => '#f25d3c', 'type' => 'colorpicker', 'divider' => true), array('name' => __('Footer Top Background', 'tfuse'), 'desc' => __('Select Footer Top Background', 'tfuse'), 'id' => TF_THEME_PREFIX . '_footer_color', 'value' => '#0b0b0b', 'type' => 'colorpicker', 'divider' => true), array('name' => __('Footer Bottom Background', 'tfuse'), 'desc' => __('Select Footer Bottom Background', 'tfuse'), 'id' => TF_THEME_PREFIX . '_footer_color_bot', 'value' => '#0e0e0e', 'type' => 'colorpicker'))))), array('name' => __('Homepage', 'tfuse'), 'id' => TF_THEME_PREFIX . '_homepage', 'headings' => array(array('name' => __('Homepage Population', 'tfuse'), 'options' => array(array('name' => __('Homepage Population', 'tfuse'), 'desc' => __(' Select which categories to display on homepage. More over you can choose to load a specific page or change the number of posts on the homepage from ', 'tfuse') . '<a target="_blank" href="' . network_admin_url('options-reading.php') . '">' . __('here', 'tfuse') . '</a>', 'id' => TF_THEME_PREFIX . '_homepage_category', 'value' => '', 'options' => array('all' => __('From All Categories', 'tfuse'), 'specific' => __('From Specific Categories', 'tfuse'), 'page' => __('From Specific Page', 'tfuse')), 'type' => 'select', 'install' => 'cat'), array('name' => __('Select specific categories to display on homepage', 'tfuse'), 'desc' => __('Pick one or more 
                            categories by starting to type the category name.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_categories_select_categ', 'type' => 'multi', 'subtype' => 'category'), array('name' => __('Select Page', 'tfuse'), 'desc' => __('Select the page', 'tfuse'), 'id' => TF_THEME_PREFIX . '_home_page', 'value' => 'image', 'options' => tfuse_list_page_options(), 'type' => 'select'))), array('name' => __('Homepage Shortcodes', 'tfuse'), 'options' => array(array('name' => __('Shortcodes on Top', 'tfuse'), 'desc' => __('In this textarea you can input your prefered custom shotcodes.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_content_on_top', 'value' => '', 'type' => 'textarea'), array('name' => __('Shortcodes before Content', 'tfuse'), 'desc' => __('In this textarea you can input your prefered custom shotcodes.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_content_top', 'value' => '', 'type' => 'textarea'), array('name' => __('Shortcodes after Content', 'tfuse'), 'desc' => __('In this textarea you can input your prefered custom shotcodes.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_content_bottom', 'value' => '', 'type' => 'textarea'))))), array('name' => __('Blog', 'tfuse'), 'id' => TF_THEME_PREFIX . '_blogpage', 'headings' => array(array('name' => __('Blog Page Population', 'tfuse'), 'options' => array(array('name' => __('Select Blog Page', 'tfuse'), 'desc' => __('Select the blog page', 'tfuse'), 'id' => TF_THEME_PREFIX . '_blog_page', 'value' => 'image', 'options' => tfuse_list_page_options(), 'type' => 'select', 'divider' => true), array('name' => __('Blog Page Population', 'tfuse'), 'desc' => __(' Select which categories to display on blogpage. More over you can choose to load a specific page or change the number of posts on the blogpage from ', 'tfuse') . '<a target="_blank" href="' . network_admin_url('options-reading.php') . '">' . __('here', 'tfuse') . '</a>', 'id' => TF_THEME_PREFIX . '_blogpage_category', 'value' => '', 'options' => array('all' => __('From All Categories', 'tfuse'), 'specific' => __('From Specific Categories', 'tfuse')), 'type' => 'select', 'install' => 'cat'), array('name' => __('Select specific categories to display on blogpage', 'tfuse'), 'desc' => __('Pick one or more
                            categories by starting to type the category name.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_categories_select_categ_blog', 'type' => 'multi', 'subtype' => 'category'))), array('name' => __('Blog Page Shortcodes', 'tfuse'), 'options' => array(array('name' => __('Shortcodes on Top', 'tfuse'), 'desc' => __('In this textarea you can input your prefered custom shotcodes.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_blog_content_on_top', 'value' => '', 'type' => 'textarea'), array('name' => __('Shortcodes before Content', 'tfuse'), 'desc' => __('In this textarea you can input your prefered custom shotcodes.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_blog_content_top', 'value' => '', 'type' => 'textarea'), array('name' => __('Shortcodes after Content', 'tfuse'), 'desc' => __('In this textarea you can input your prefered custom shotcodes.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_blog_content_bottom', 'value' => '', 'type' => 'textarea'))))), array('name' => __('Posts', 'tfuse'), 'id' => TF_THEME_PREFIX . '_posts', 'headings' => array(array('name' => __('Default Post Options', 'tfuse'), 'options' => array(array('name' => __('Post Content', 'tfuse'), 'desc' => __('Select if you want to show the full content (use <em>more</em> tag) or the excerpt on posts listings (categories).', 'tfuse'), 'id' => TF_THEME_PREFIX . '_post_content', 'value' => 'excerpt', 'options' => array('excerpt' => __('The Excerpt', 'tfuse'), 'content' => __('Full Content', 'tfuse')), 'type' => 'select'))))), array('name' => __('Footer', 'tfuse'), 'id' => TF_THEME_PREFIX . '_footer', 'headings' => array(array('name' => __('Footer Content', 'tfuse'), 'options' => array(array('name' => __('Enable Footer Widgets', 'tfuse'), 'desc' => __('Enable Footer Widgets', 'tfuse'), 'id' => TF_THEME_PREFIX . '_footer_widgets', 'value' => true, 'type' => 'checkbox', 'divider' => true), array('name' => __('Copyright', 'tfuse'), 'desc' => __('Change Copyright', 'tfuse'), 'id' => TF_THEME_PREFIX . '_footer_copyright', 'value' => '', 'type' => 'text')))))));
<?php

/* ----------------------------------------------------------------------------------- */
/* Initializes all the theme settings option fields for admin area. */
/* ----------------------------------------------------------------------------------- */
$directory = get_template_directory_uri();
$options = array('tabs' => array(array('name' => __('General', 'tfuse'), 'type' => 'tab', 'id' => TF_THEME_PREFIX . '_general', 'headings' => array(array('name' => __('General Settings', 'tfuse'), 'options' => array(array('name' => __('Select Logo Type', 'tfuse'), 'desc' => __('Select the type of logo', 'tfuse'), 'id' => TF_THEME_PREFIX . '_logo_type', 'value' => 'text', 'options' => array('text' => __('Text', 'tfuse'), 'image' => __('Image', 'tfuse')), 'type' => 'select'), array('name' => __('Top Logo Text', 'tfuse'), 'desc' => __('Enter top logo text. Is posible to use "i" and "span" tags', 'tfuse'), 'id' => TF_THEME_PREFIX . '_logo_text', 'value' => 'The', 'type' => 'text'), array('name' => __('Bottom Logo Text', 'tfuse'), 'desc' => __('Enter top logo text. Is posible to use "i" and "span" tags', 'tfuse'), 'id' => TF_THEME_PREFIX . '_logo_text_bottom', 'value' => 'Flavour', 'type' => 'text'), array('name' => __('Custom Logo', 'tfuse'), 'desc' => __('Upload a logo for your theme, or specify the image address of your online logo. (http://yoursite.com/logo.png)', 'tfuse'), 'id' => TF_THEME_PREFIX . '_logo', 'value' => '', 'type' => 'upload'), array('name' => __('Select Logo Position', 'tfuse'), 'desc' => __('Select the position of logo. Atention if you set center position you must set primary and secondary menu, else only primary', 'tfuse'), 'id' => TF_THEME_PREFIX . '_logo_position', 'value' => 'center', 'options' => array('left' => __('Left', 'tfuse'), 'center' => __('Center', 'tfuse'), 'right' => __('Right', 'tfuse')), 'type' => 'select', 'divider' => true), array('name' => __('Custom Favicon <br /> (16px x 16px)', 'tfuse'), 'desc' => __('Upload a 16px x 16px Png/Gif image that will represent your website\'s favicon.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_favicon', 'value' => '', 'type' => 'upload', 'divider' => true), array('name' => __('Select Navigation Type', 'tfuse'), 'desc' => __('Select the type of navigation', 'tfuse'), 'id' => TF_THEME_PREFIX . '_site_menu_type', 'value' => 'simple', 'options' => array('simple' => __('Simple Menu', 'tfuse'), 'sticky' => __('Sticky Menu', 'tfuse')), 'type' => 'select', 'divider' => true), array('name' => __('Search Box text', 'tfuse'), 'desc' => __('Enter your Search Box text', 'tfuse'), 'id' => TF_THEME_PREFIX . '_search_box_text', 'value' => 'enter keywords', 'type' => 'text', 'divider' => true), array('name' => __('Default Avatar', 'tfuse'), 'desc' => __('For users without a custom avatar of their own, you can either display a generic logo or a generated one based on their e-mail address.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_default_avatar', 'value' => '', 'type' => 'upload', 'divider' => true), array('name' => __('Tracking Code', 'tfuse'), 'desc' => __('Paste your Google Analytics (or other) tracking code here. This will be added into the footer template of your theme.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_google_analytics', 'value' => '', 'type' => 'textarea', 'divider' => true), array('name' => __('Custom CSS', 'tfuse'), 'desc' => __('Quickly add some CSS to your theme by adding it to this block.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_custom_css', 'value' => '', 'type' => 'textarea'))), array('name' => __('RSS Settings', 'tfuse'), 'options' => array(array('name' => __('RSS URL', 'tfuse'), 'desc' => __('Enter your preferred RSS URL. (Feedburner or other', 'tfuse'), 'id' => TF_THEME_PREFIX . '_feedburner_url', 'value' => '', 'type' => 'text', 'divider' => true), array('name' => __('E-Mail URL', 'tfuse'), 'desc' => __('Enter your preferred E-mail subscription URL. (Feedburner or other)', 'tfuse'), 'id' => TF_THEME_PREFIX . '_feedburner_id', 'value' => '', 'type' => 'text'))), array('name' => __('Twitter', 'tfuse'), 'options' => array(array('name' => __('Consumer Key', 'tfuse'), 'desc' => __('Set your <a href="http://screencast.com/t/zHu17C7nXy1">twitter</a> application <a href="http://screencast.com/t/yb44HiF2NZ">consumer key</a>.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_twitter_consumer_key', 'value' => 'XW7t8bECoR6ogYtUDNdjiQ', 'type' => 'text', 'divider' => true), array('name' => __('Consumer Secret', 'tfuse'), 'desc' => __('Set your <a href="http://screencast.com/t/zHu17C7nXy1">twitter</a> application <a href="http://screencast.com/t/eaKJHG1omN">consumer secret key</a>.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_twitter_consumer_secret', 'value' => 'Z7UzuWU8a4obyOOlIguuI4a5JV4ryTIPKZ3POIAcJ9M', 'type' => 'text', 'divider' => true), array('name' => __('User Token', 'tfuse'), 'desc' => __('Set your <a href="http://screencast.com/t/zHu17C7nXy1">twitter</a> application <a href="http://screencast.com/t/QEEG2O4H">access token key</a>.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_twitter_user_token', 'value' => '1510587853-ugw6uUuNdNMdGGDn7DR4ZY4IcarhstIbq8wdDud', 'type' => 'text', 'divider' => true), array('name' => __('User Secret', 'tfuse'), 'desc' => __('Set your <a href="http://screencast.com/t/zHu17C7nXy1">twitter</a>  application <a href="http://screencast.com/t/Yv7nwRGsz">access token secret key</a>.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_twitter_user_secret', 'value' => '7aNcpOUGtdKKeT1L72i3tfdHJWeKsBVODv26l9C0Cc', 'type' => 'text'))), array('name' => __('Enable Theme settings', 'tfuse'), 'options' => array(array('name' => __('Blog Filter', 'tfuse'), 'desc' => __('Enable Blog Filter?', 'tfuse'), 'id' => TF_THEME_PREFIX . '_enable_blog_filter', 'value' => true, 'type' => 'checkbox', 'divider' => true), array('name' => __('Portfolio Filter', 'tfuse'), 'desc' => __('Enable Portfolio Filter?', 'tfuse'), 'id' => TF_THEME_PREFIX . '_enable_portfolio_filter', 'value' => true, 'type' => 'checkbox', 'divider' => true), array('name' => __('Author Info', 'tfuse'), 'desc' => __('Enable Author Info?', 'tfuse'), 'id' => TF_THEME_PREFIX . '_enable_author_info', 'value' => false, 'type' => 'checkbox', 'divider' => true), array('name' => __('Post Meta', 'tfuse'), 'desc' => __('Enable Post Meta?', 'tfuse'), 'id' => TF_THEME_PREFIX . '_enable_post_meta', 'value' => true, 'type' => 'checkbox', 'divider' => true), array('name' => __('Portfolio Meta', 'tfuse'), 'desc' => __('Enable Portfolio Meta?', 'tfuse'), 'id' => TF_THEME_PREFIX . '_enable_porfolio_meta', 'value' => true, 'type' => 'checkbox', 'divider' => true), array('name' => __('Events Meta', 'tfuse'), 'desc' => __('Enable Events Meta?', 'tfuse'), 'id' => TF_THEME_PREFIX . '_enable_events_meta', 'value' => true, 'type' => 'checkbox', 'divider' => true), array('name' => __('Menus Meta', 'tfuse'), 'desc' => __('Enable Menus Meta?', 'tfuse'), 'id' => TF_THEME_PREFIX . '_enable_menus_meta', 'value' => true, 'type' => 'checkbox', 'divider' => true), array('name' => __('Go to Single Menu?', 'tfuse'), 'desc' => __('Go to single menu?', 'tfuse'), 'id' => TF_THEME_PREFIX . '_single_menu', 'value' => false, 'type' => 'checkbox', 'divider' => true), array('name' => __('prettyPhoto on Portfolios', 'tfuse'), 'desc' => __('Enable opening image and attachemnts in prettyPhoto on Categories listings? If No, image link go to post.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_enable_portfolio_prettyphoto', 'value' => true, 'type' => 'checkbox', 'divider' => true), array('name' => __('Dynamic Image Resizer', 'tfuse'), 'desc' => __('This will Disable the thumb.php script that dynamicaly resizes images on your site. We recommend you keep this enabled, however note that for this to work you need to have "GD Library" installed on your server. This should be done by your hosting server administrator.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_disable_resize', 'value' => false, 'type' => 'checkbox', 'divider' => true), array('name' => __('Disable SEO Tab', 'tfuse'), 'desc' => __('Disable SEO option?', 'tfuse'), 'id' => TF_THEME_PREFIX . '_disable_tfuse_seo_tab', 'value' => false, 'type' => 'checkbox', 'on_update' => 'reload_page', 'divider' => true), array('name' => __('Remove Wordpress Versions', 'tfuse'), 'desc' => __('Remove Wordpress versions from the source code, for security reasons.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_remove_wp_versions', 'value' => true, 'type' => 'checkbox'))))), array('name' => __('Styles', 'tfuse'), 'id' => TF_THEME_PREFIX . '_styles', 'headings' => array(array('name' => __('Theme Fonts', 'tfuse'), 'options' => array(array('name' => __('Hand Written', 'tfuse'), 'desc' => __('Select the hand writtent font. You can preview it on ', 'tfuse') . '<a href="https://www.google.com/fonts" target="_blank">' . __(' Google Fonts', 'tfuse') . '</a>', 'id' => TF_THEME_PREFIX . '_hand_font', 'value' => 'great_vibes', 'options' => array('regular' => '---Regular---', 'intro_inline' => 'Intro Inline', 'hand_writting' => '---Handwriting---', 'great_vibes' => 'Great Vibes', 'pacifico' => 'Pacifico', 'dancing_script' => 'Dancing Script', 'gloria_hallelujah' => 'Gloria Hallelujah', 'satisfy' => 'Satisfy', 'bad_script' => 'Bad Script', 'allura' => 'Allura', 'serif' => '---Serif---', 'roboto' => 'Roboto Slab', 'georgia' => 'Georgia', 'arbutus' => 'Arbutus Slab', 'bitter' => 'Bitter', 'coustard' => 'Coustard', 'droid_serif' => 'Droid Serif', 'eb' => 'EB Garamond', 'goudy' => 'Goudy Bookletter 1911', 'kotta' => 'Kotta One', 'playfair' => 'Playfair Display', 'vidaloka' => 'Vidaloka', 'sans_serif' => '---Sans Serif---', 'cabin' => 'Cabin', 'droid_sans' => 'Droid Sans', 'gafata' => 'Gafata', 'oxygen' => 'Oxygen', 'philosopher' => 'Philosopher', 'questrial' => 'Questrial', 'raleway' => 'Raleway', 'signika' => 'Signika', 'ubuntu' => 'Ubuntu', 'arial' => 'Arial'), 'type' => 'select', 'divider' => true), array('name' => __('Titles', 'tfuse'), 'desc' => __('Select the titles font. You can preview it on ', 'tfuse') . '<a href="https://www.google.com/fonts" target="_blank">' . __(' Google Fonts', 'tfuse') . '</a>', 'id' => TF_THEME_PREFIX . '_titles_font', 'value' => 'raleway', 'options' => array('regular' => '---Regular---', 'intro_inline' => 'Intro Inline', 'hand_writting' => '---Handwriting---', 'great_vibes' => 'Great Vibes', 'pacifico' => 'Pacifico', 'dancing_script' => 'Dancing Script', 'gloria_hallelujah' => 'Gloria Hallelujah', 'satisfy' => 'Satisfy', 'bad_script' => 'Bad Script', 'allura' => 'Allura', 'serif' => '---Serif---', 'roboto' => 'Roboto Slab', 'georgia' => 'Georgia', 'arbutus' => 'Arbutus Slab', 'bitter' => 'Bitter', 'coustard' => 'Coustard', 'droid_serif' => 'Droid Serif', 'eb' => 'EB Garamond', 'goudy' => 'Goudy Bookletter 1911', 'kotta' => 'Kotta One', 'playfair' => 'Playfair Display', 'vidaloka' => 'Vidaloka', 'sans_serif' => '---Sans Serif---', 'cabin' => 'Cabin', 'droid_sans' => 'Droid Sans', 'gafata' => 'Gafata', 'oxygen' => 'Oxygen', 'philosopher' => 'Philosopher', 'questrial' => 'Questrial', 'raleway' => 'Raleway', 'signika' => 'Signika', 'ubuntu' => 'Ubuntu', 'arial' => 'Arial'), 'type' => 'select', 'divider' => true), array('name' => __('Body Text', 'tfuse'), 'desc' => __('Select the body text font. You can preview it on ', 'tfuse') . '<a href="https://www.google.com/fonts" target="_blank">' . __(' Google Fonts', 'tfuse') . '</a>', 'id' => TF_THEME_PREFIX . '_body_font', 'value' => 'raleway', 'options' => array('regular' => '---Regular---', 'intro_inline' => 'Intro Inline', 'hand_writting' => '---Handwriting---', 'great_vibes' => 'Great Vibes', 'pacifico' => 'Pacifico', 'dancing_script' => 'Dancing Script', 'gloria_hallelujah' => 'Gloria Hallelujah', 'satisfy' => 'Satisfy', 'bad_script' => 'Bad Script', 'allura' => 'Allura', 'serif' => '---Serif---', 'roboto' => 'Roboto Slab', 'georgia' => 'Georgia', 'arbutus' => 'Arbutus Slab', 'bitter' => 'Bitter', 'coustard' => 'Coustard', 'droid_serif' => 'Droid Serif', 'eb' => 'EB Garamond', 'goudy' => 'Goudy Bookletter 1911', 'kotta' => 'Kotta One', 'playfair' => 'Playfair Display', 'vidaloka' => 'Vidaloka', 'sans_serif' => '---Sans Serif---', 'cabin' => 'Cabin', 'droid_sans' => 'Droid Sans', 'gafata' => 'Gafata', 'oxygen' => 'Oxygen', 'philosopher' => 'Philosopher', 'questrial' => 'Questrial', 'raleway' => 'Raleway', 'signika' => 'Signika', 'ubuntu' => 'Ubuntu', 'arial' => 'Arial'), 'type' => 'select'))), array('name' => __('Logo Fonts', 'tfuse'), 'options' => array(array('name' => __('Top Logo', 'tfuse'), 'desc' => __('Select the font for top logo. You can preview it on ', 'tfuse') . '<a href="https://www.google.com/fonts" target="_blank">' . __(' Google Fonts', 'tfuse') . '</a>', 'id' => TF_THEME_PREFIX . '_top_logo_font', 'value' => 'great_vibes', 'options' => array('regular' => '---Regular---', 'intro_inline' => 'Intro Inline', 'hand_writting' => '---Handwriting---', 'great_vibes' => 'Great Vibes', 'pacifico' => 'Pacifico', 'dancing_script' => 'Dancing Script', 'gloria_hallelujah' => 'Gloria Hallelujah', 'satisfy' => 'Satisfy', 'bad_script' => 'Bad Script', 'allura' => 'Allura', 'serif' => '---Serif---', 'roboto' => 'Roboto Slab', 'georgia' => 'Georgia', 'arbutus' => 'Arbutus Slab', 'bitter' => 'Bitter', 'coustard' => 'Coustard', 'droid_serif' => 'Droid Serif', 'eb' => 'EB Garamond', 'goudy' => 'Goudy Bookletter 1911', 'kotta' => 'Kotta One', 'playfair' => 'Playfair Display', 'vidaloka' => 'Vidaloka', 'sans_serif' => '---Sans Serif---', 'cabin' => 'Cabin', 'droid_sans' => 'Droid Sans', 'gafata' => 'Gafata', 'oxygen' => 'Oxygen', 'philosopher' => 'Philosopher', 'questrial' => 'Questrial', 'raleway' => 'Raleway', 'signika' => 'Signika', 'ubuntu' => 'Ubuntu', 'arial' => 'Arial'), 'type' => 'select', 'divider' => true), array('name' => __('Bottom Logo', 'tfuse'), 'desc' => __('Select the font for bottom logo. You can preview it on ', 'tfuse') . '<a href="https://www.google.com/fonts" target="_blank">' . __(' Google Fonts', 'tfuse') . '</a>', 'id' => TF_THEME_PREFIX . '_bottom_logo_font', 'value' => 'intro_inline', 'options' => array('regular' => '---Regular---', 'intro_inline' => 'Intro Inline', 'hand_writting' => '---Handwriting---', 'great_vibes' => 'Great Vibes', 'pacifico' => 'Pacifico', 'dancing_script' => 'Dancing Script', 'gloria_hallelujah' => 'Gloria Hallelujah', 'satisfy' => 'Satisfy', 'bad_script' => 'Bad Script', 'allura' => 'Allura', 'serif' => '---Serif---', 'roboto' => 'Roboto Slab', 'georgia' => 'Georgia', 'arbutus' => 'Arbutus Slab', 'bitter' => 'Bitter', 'coustard' => 'Coustard', 'droid_serif' => 'Droid Serif', 'eb' => 'EB Garamond', 'goudy' => 'Goudy Bookletter 1911', 'kotta' => 'Kotta One', 'playfair' => 'Playfair Display', 'vidaloka' => 'Vidaloka', 'sans_serif' => '---Sans Serif---', 'cabin' => 'Cabin', 'droid_sans' => 'Droid Sans', 'gafata' => 'Gafata', 'oxygen' => 'Oxygen', 'philosopher' => 'Philosopher', 'questrial' => 'Questrial', 'raleway' => 'Raleway', 'signika' => 'Signika', 'ubuntu' => 'Ubuntu', 'arial' => 'Arial'), 'type' => 'select'), array('name' => __('Letter Spacing', 'tfuse'), 'desc' => __('Enter the letter spacing. Ex: -10', 'tfuse'), 'id' => TF_THEME_PREFIX . '_logo_letter_spacing', 'value' => '-10', 'type' => 'text'))), array('name' => __('Theme Styles', 'tfuse'), 'options' => array(array('name' => __('Highlight Color', 'tfuse'), 'desc' => __('Select Highlight Color', 'tfuse'), 'id' => TF_THEME_PREFIX . '_highlight_color', 'value' => '#FFA42E', 'type' => 'colorpicker'))))), array('name' => __('Homepage', 'tfuse'), 'id' => TF_THEME_PREFIX . '_homepage', 'headings' => array(array('name' => __('Homepage Population', 'tfuse'), 'options' => array(array('name' => __('Homepage Population', 'tfuse'), 'desc' => __('Select which categories to display on homepage. More over you can choose to load a specific page or change the number of posts on the homepage from <a target="_blank" href="' . network_admin_url('options-reading.php') . '">here</a>', 'tfuse'), 'id' => TF_THEME_PREFIX . '_homepage_category', 'value' => '', 'options' => array('all' => __('From All Categories', 'tfuse'), 'specific' => __('From Specific Categories', 'tfuse'), 'page' => __('From Specific Page', 'tfuse')), 'type' => 'select', 'install' => 'cat'), array('name' => __('Select specific categories to display on homepage', 'tfuse'), 'desc' => __('Pick one or more categories by starting to type the category name.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_categories_select_categ', 'type' => 'multi', 'subtype' => 'category'), array('name' => __('Select Page', 'tfuse'), 'desc' => __('Select the page', 'tfuse'), 'id' => TF_THEME_PREFIX . '_home_page', 'value' => 'image', 'options' => tfuse_list_page_options(), 'type' => 'select'), array('name' => __('Use page options', 'tfuse'), 'desc' => __('Use page options', 'tfuse'), 'id' => TF_THEME_PREFIX . '_use_page_options', 'value' => false, 'type' => 'checkbox'))), array('name' => __('Homepage Shortcodes', 'tfuse'), 'options' => array(array('name' => __('Shortcodes Before Menu', 'tfuse'), 'desc' => __('In this textarea you can input your prefered custom shotcodes.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_content_before_menu', 'value' => '', 'type' => 'textarea'), array('name' => __('Shortcodes Before Content', 'tfuse'), 'desc' => __('In this textarea you can input your prefered custom shotcodes.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_content_top', 'value' => '', 'type' => 'textarea'), array('name' => __('Shortcodes After Content', 'tfuse'), 'desc' => __('In this textarea you can input your prefered custom shotcodes.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_content_bottom', 'value' => '', 'type' => 'textarea'))))), array('name' => __('Blog', 'tfuse'), 'id' => TF_THEME_PREFIX . '_blogpage', 'headings' => array(array('name' => __('Blog Page Population', 'tfuse'), 'options' => array(array('name' => __('Select Page', 'tfuse'), 'desc' => __('Select the page', 'tfuse'), 'id' => TF_THEME_PREFIX . '_blog_page', 'value' => 'image', 'options' => tfuse_list_page_options(), 'type' => 'select'), array('name' => __('Blog Page Population', 'tfuse'), 'desc' => __('Select which categories to display on blog page. More over you can choose to load a specific page or change the number of posts on the blog page from <a target="_blank" href="' . network_admin_url('options-reading.php') . '">here</a>', 'tfuse'), 'id' => TF_THEME_PREFIX . '_blogpage_category', 'value' => '', 'options' => array('all' => __('From All Categories', 'tfuse'), 'specific' => __('From Specific Categories', 'tfuse')), 'type' => 'select', 'install' => 'cat'), array('name' => __('Select specific categories to display on blog page', 'tfuse'), 'desc' => __('Pick one or more categories by starting to type the category name.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_categories_select_categ_blog', 'type' => 'multi', 'subtype' => 'category'))), array('name' => __('Blog Page Shortcodes', 'tfuse'), 'options' => array(array('name' => __('Shortcodes Before Menu', 'tfuse'), 'desc' => __('In this textarea you can input your prefered custom shotcodes.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_content_before_menu_blog', 'value' => '', 'type' => 'textarea'), array('name' => __('Shortcodes Before Content', 'tfuse'), 'desc' => __('In this textarea you can input your prefered custom shotcodes.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_content_top_blog', 'value' => '', 'type' => 'textarea'), array('name' => __('Shortcodes After Content', 'tfuse'), 'desc' => __('In this textarea you can input your prefered custom shotcodes.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_content_bottom_blog', 'value' => '', 'type' => 'textarea'))))), array('name' => __('Posts', 'tfuse'), 'id' => TF_THEME_PREFIX . '_posts', 'headings' => array(array('name' => __('Default Post Options', 'tfuse'), 'options' => array(array('name' => __('Post Content', 'tfuse'), 'desc' => __('Select if you want to show the full content (use <em>more</em> tag) or the excerpt on posts listings (categories).', 'tfuse'), 'id' => TF_THEME_PREFIX . '_post_content', 'value' => 'excerpt', 'options' => array('excerpt' => __('The Excerpt', 'tfuse'), 'content' => __('Full Content', 'tfuse')), 'type' => 'select'), array('name' => __('Post Type', 'tfuse'), 'desc' => __('Select your preferred post type', 'tfuse'), 'id' => TF_THEME_PREFIX . '_single_post_type', 'value' => 'post-style-1', 'options' => array('post-style-1' => array($directory . '/images/post-type/post-style-1.png', __('Image with left align and rounded', 'tfuse')), 'post-style-2' => array($directory . '/images/post-type/post-style-2.png', __('Image with right align and rounded', 'tfuse')), 'post-style-3' => array($directory . '/images/post-type/post-style-3.png', __('Image with left align', 'tfuse')), 'post-style-4' => array($directory . '/images/post-type/post-style-4.png', __('Image with right align', 'tfuse')), 'post-style-6' => array($directory . '/images/post-type/post-style-6.png', __('Big image and centered, title after image', 'tfuse')), 'post-style-7' => array($directory . '/images/post-type/post-style-7.png', __('Big image and centered', 'tfuse'))), 'type' => 'images'))))), array('name' => __('Menus', 'tfuse'), 'id' => TF_THEME_PREFIX . '_menus', 'headings' => array(array('name' => __('Default Post Menus', 'tfuse'), 'options' => array(array('name' => __('Money Currency, symbol', 'tfuse'), 'desc' => __('The symbol of the currency being used. (i.e. $, €, £) in singular form.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_currency_symbol', 'value' => '$', 'type' => 'text'), array('name' => __('Money Symbol position', 'tfuse'), 'desc' => __('The symbol the position from against price: Left / Right', 'tfuse'), 'id' => TF_THEME_PREFIX . '_symbol_position', 'value' => 'left', 'options' => array('left' => __('Left', 'tfuse'), 'right' => __('Right', 'tfuse')), 'type' => 'select'))))), array('name' => __('Footer', 'tfuse'), 'id' => TF_THEME_PREFIX . '_footer', 'headings' => array(array('name' => __('Footer Content', 'tfuse'), 'options' => array(array('name' => __('Custom Copyright', 'tfuse'), 'desc' => __('Create your custom copyright', 'tfuse'), 'id' => TF_THEME_PREFIX . '_custom_copyright', 'value' => 'Restaurant Wordpress theme © 2014 Made by <a rel="nofollow" href="http://themefuse.com" target="_blank">ThemeFuse</a>', 'type' => 'textarea'))), array('name' => __('Footer Social', 'tfuse'), 'options' => array(array('name' => __('Facebook', 'tfuse'), 'desc' => __('Enter facebook link', 'tfuse'), 'id' => TF_THEME_PREFIX . '_social_facebook', 'value' => '', 'type' => 'text'), array('name' => __('Twitter', 'tfuse'), 'desc' => __('Enter twitter link', 'tfuse'), 'id' => TF_THEME_PREFIX . '_social_twitter', 'value' => '', 'type' => 'text'), array('name' => __('Pinterest', 'tfuse'), 'desc' => __('Enter pinterest link', 'tfuse'), 'id' => TF_THEME_PREFIX . '_social_pinterest', 'value' => '', 'type' => 'text'), array('name' => __('Trip Advisor', 'tfuse'), 'desc' => __('Enter Trip Advisor link', 'tfuse'), 'id' => TF_THEME_PREFIX . '_social_trip_advisor', 'value' => '', 'type' => 'text'), array('name' => __('Instagram', 'tfuse'), 'desc' => __('Enter instagram link', 'tfuse'), 'id' => TF_THEME_PREFIX . '_social_instagram', 'value' => '', 'type' => 'text'))))), array('name' => __('Page elements', 'tfuse'), 'id' => TF_THEME_PREFIX . '_page_elements', 'headings' => array(array('name' => __('Search', 'tfuse'), 'options' => array(array('name' => __('Shortcodes Before Menu', 'tfuse'), 'desc' => __('In this textarea you can input your prefered custom shotcodes.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_content_before_menu_search', 'value' => '', 'type' => 'textarea'), array('name' => __('Shortcodes Before Content', 'tfuse'), 'desc' => __('In this textarea you can input your prefered custom shotcodes.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_content_top_search', 'value' => '', 'type' => 'textarea'), array('name' => __('Shortcodes After Content', 'tfuse'), 'desc' => __('In this textarea you can input your prefered custom shotcodes.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_content_bottom_search', 'value' => '', 'type' => 'textarea'))), array('name' => __('404', 'tfuse'), 'options' => array(array('name' => __('404 text', 'tfuse'), 'desc' => __('Enter text for 404 page.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_text_404', 'value' => '', 'type' => 'textarea'), array('name' => __('Shortcodes Before Menu', 'tfuse'), 'desc' => __('In this textarea you can input your prefered custom shotcodes.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_content_before_menu_404', 'value' => '', 'type' => 'textarea'), array('name' => __('Shortcodes Before Content', 'tfuse'), 'desc' => __('In this textarea you can input your prefered custom shotcodes.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_content_top_404', 'value' => '', 'type' => 'textarea'), array('name' => __('Shortcodes After Content', 'tfuse'), 'desc' => __('In this textarea you can input your prefered custom shotcodes.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_content_bottom_404', 'value' => '', 'type' => 'textarea'))), array('name' => __('Tag', 'tfuse'), 'options' => array(array('name' => __('Shortcodes Before Menu', 'tfuse'), 'desc' => __('In this textarea you can input your prefered custom shotcodes.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_content_before_menu_tag', 'value' => '', 'type' => 'textarea'), array('name' => __('Shortcodes Before Content', 'tfuse'), 'desc' => __('In this textarea you can input your prefered custom shotcodes.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_content_top_tag', 'value' => '', 'type' => 'textarea'), array('name' => __('Shortcodes After Content', 'tfuse'), 'desc' => __('In this textarea you can input your prefered custom shotcodes.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_content_bottom_tag', 'value' => '', 'type' => 'textarea'))), array('name' => __('Archive', 'tfuse'), 'options' => array(array('name' => __('Shortcodes Before Menu', 'tfuse'), 'desc' => __('In this textarea you can input your prefered custom shotcodes.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_content_before_menu_archive', 'value' => '', 'type' => 'textarea'), array('name' => __('Shortcodes Before Content', 'tfuse'), 'desc' => __('In this textarea you can input your prefered custom shotcodes.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_content_top_archive', 'value' => '', 'type' => 'textarea'), array('name' => __('Shortcodes After Content', 'tfuse'), 'desc' => __('In this textarea you can input your prefered custom shotcodes.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_content_bottom_archive', 'value' => '', 'type' => 'textarea')))))));
Exemple #3
0
<?php

/* ----------------------------------------------------------------------------------- */
/* Initializes all the theme settings option fields for admin area. */
/* ----------------------------------------------------------------------------------- */
$options = array('tabs' => array(array('name' => __('General', 'tfuse'), 'type' => 'tab', 'id' => TF_THEME_PREFIX . '_general', 'headings' => array(array('name' => __('General Settings', 'tfuse'), 'options' => array(array('name' => __('Custom Logo', 'tfuse'), 'desc' => __('Upload a logo for your theme, or specify the image address of your online logo. (http://yoursite.com/logo.png)', 'tfuse'), 'id' => TF_THEME_PREFIX . '_logo', 'value' => '', 'type' => 'upload'), array('name' => __('Custom Favicon <br /> (16px x 16px)', 'tfuse'), 'desc' => __('Upload a 16px x 16px Png/Gif image that will represent your website\'s favicon.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_favicon', 'value' => '', 'type' => 'upload', 'divider' => true), array('name' => __('Header Contact Info', 'tfuse'), 'desc' => __('This contact info appears on the right side in the header of the theme', 'tfuse'), 'id' => TF_THEME_PREFIX . '_header_text_box', 'value' => '', 'type' => 'textarea', 'divider' => true), array('name' => __('Search Box text', 'tfuse'), 'desc' => __('Enter your Search Box text', 'tfuse'), 'id' => TF_THEME_PREFIX . '_search_box_text', 'value' => 'Type for search', 'type' => 'text', 'divider' => true), array('name' => __('Tracking Code', 'tfuse'), 'desc' => __('Paste your Google Analytics (or other) tracking code here. This will be added into the footer template of your theme.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_google_analytics', 'value' => '', 'type' => 'textarea', 'divider' => true), array('name' => __('Custom CSS', 'tfuse'), 'desc' => __('Quickly add some CSS to your theme by adding it to this block.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_custom_css', 'value' => '', 'type' => 'textarea'))), array('name' => __('Appoiments', 'tfuse'), 'options' => array(array('name' => __('Reserved Days', 'tfuse'), 'desc' => __('Enter Reserved Days in dd-mm-yy fomrat, comma separated e.g. 2011-12-31, 2012-1-1', 'tfuse'), 'id' => TF_THEME_PREFIX . '_reserved_days', 'value' => '', 'type' => 'textarea'))), array('name' => __('RSS', 'tfuse'), 'options' => array(array('name' => __('RSS URL', 'tfuse'), 'desc' => __('Enter your preferred RSS URL. (Feedburner or other)', 'tfuse'), 'id' => TF_THEME_PREFIX . '_feedburner_url', 'value' => '', 'type' => 'text', 'divider' => true), array('name' => __('E-Mail URL', 'tfuse'), 'desc' => __('Enter your preferred E-mail subscription URL. (Feedburner or other)', 'tfuse'), 'id' => TF_THEME_PREFIX . '_feedburner_id', 'value' => '', 'type' => 'text'))), array('name' => __('Twitter', 'tfuse'), 'options' => array(array('name' => __('Consumer Key', 'tfuse'), 'desc' => __('Set your <a href="http://screencast.com/t/zHu17C7nXy1">twitter</a> application <a href="http://screencast.com/t/yb44HiF2NZ">consumer key</a>.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_twitter_consumer_key', 'value' => 'XW7t8bECoR6ogYtUDNdjiQ', 'type' => 'text', 'divider' => true), array('name' => __('Consumer Secret', 'tfuse'), 'desc' => __('Set your <a href="http://screencast.com/t/zHu17C7nXy1">twitter</a> application <a href="http://screencast.com/t/eaKJHG1omN">consumer secret key</a>.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_twitter_consumer_secret', 'value' => 'Z7UzuWU8a4obyOOlIguuI4a5JV4ryTIPKZ3POIAcJ9M', 'type' => 'text', 'divider' => true), array('name' => __('User Token', 'tfuse'), 'desc' => __('Set your <a href="http://screencast.com/t/zHu17C7nXy1">twitter</a> application <a href="http://screencast.com/t/QEEG2O4H">access token key</a>.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_twitter_user_token', 'value' => '1510587853-ugw6uUuNdNMdGGDn7DR4ZY4IcarhstIbq8wdDud', 'type' => 'text', 'divider' => true), array('name' => __('User Secret', 'tfuse'), 'desc' => __('Set your <a href="http://screencast.com/t/zHu17C7nXy1">twitter</a>  application <a href="http://screencast.com/t/Yv7nwRGsz">access token secret key</a>.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_twitter_user_secret', 'value' => '7aNcpOUGtdKKeT1L72i3tfdHJWeKsBVODv26l9C0Cc', 'type' => 'text'))), array('name' => __('Copyright', 'tfuse'), 'options' => array(array('name' => __('Custom Copyright', 'tfuse'), 'desc' => __('Create your custom copyright', 'tfuse'), 'id' => TF_THEME_PREFIX . '_custom_copyright', 'value' => 'Made by Themefuse -<a href="http://themefuse.com"> Premium WordPress Themes</a>', 'type' => 'textarea'))), array('name' => __('Disable Theme settings', 'tfuse'), 'options' => array(array('name' => __('Image on Single Post', 'tfuse'), 'desc' => __('Disable Image on All Single Posts? These settings may be overridden for individual articles.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_disable_image', 'value' => 'false', 'type' => 'checkbox', 'divider' => true), array('name' => __('Video on Single Post', 'tfuse'), 'desc' => __('Disable Video on All Single Posts? These settings may be overridden for individual articles.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_disable_video', 'value' => 'false', 'type' => 'checkbox', 'divider' => true), array('name' => __('Post Comments', 'tfuse'), 'desc' => __('Disable Comments for All Posts? These settings may be overridden for individual articles.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_disable_posts_comments', 'value' => 'false', 'type' => 'checkbox', 'divider' => true), array('name' => __('Page Comments', 'tfuse'), 'desc' => __('Disable Comments for All Pages? These settings may be overridden for individual articles.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_disable_pages_comments', 'value' => 'true', 'type' => 'checkbox', 'divider' => true), array('name' => __('Author Info', 'tfuse'), 'desc' => __('Disable Author Info? These settings may be overridden for individual articles.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_disable_author_info', 'value' => 'false', 'type' => 'checkbox', 'divider' => true), array('name' => __('Post meta', 'tfuse'), 'desc' => __('Disable Post meta? These settings may be overridden for individual articles.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_disable_post_meta', 'value' => 'false', 'type' => 'checkbox', 'divider' => true), array('name' => __('Post Published Date', 'tfuse'), 'desc' => __('Disable Post Published Date? These settings may be overridden for individual articles.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_disable_published_date', 'value' => 'false', 'type' => 'checkbox', 'divider' => true), array('name' => 'prettyPhoto on Categories', 'desc' => __('Disable opening image and attachemnts in prettyPhoto on Categories listings? If YES, image link go to post.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_disable_listing_lightbox', 'value' => 'false', 'type' => 'checkbox', 'divider' => true), array('name' => 'prettyPhoto on Single Post', 'desc' => __('Disable opening image and attachemnts in prettyPhoto on Single Post?', 'tfuse'), 'id' => TF_THEME_PREFIX . '_disable_single_lightbox', 'value' => 'false', 'type' => 'checkbox', 'divider' => true), array('name' => __('SEO Tab', 'tfuse'), 'desc' => __('Disable SEO option?', 'tfuse'), 'id' => TF_THEME_PREFIX . '_disable_tfuse_seo_tab', 'value' => 'false', 'type' => 'checkbox', 'on_update' => 'reload_page', 'divider' => true), array('name' => __('Dynamic Image Resizer', 'tfuse'), 'desc' => __('This will Disable the thumb.php script that dynamicaly resizes images on your site. We recommend you keep this enabled, however note that for this to work you need to have "GD Library" installed on your server. This should be done by your hosting server administrator.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_disable_resize', 'value' => 'false', 'type' => 'checkbox'), array('name' => __('Image from content', 'tfuse'), 'desc' => __('If no thumbnail is specified then the first uploaded image in the post is used.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_enable_content_img', 'value' => 'false', 'type' => 'checkbox'), array('name' => __('Remove Wordpress Versions', 'tfuse'), 'desc' => __('Remove Wordpress versions from the source code, for security reasons.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_remove_wp_versions', 'value' => FALSE, 'type' => 'checkbox'))), array('name' => __('WordPress Admin Style', 'tfuse'), 'options' => array(array('name' => __('Disable Themefuse Style', 'tfuse'), 'desc' => __('Disable Themefuse Style', 'tfuse'), 'id' => TF_THEME_PREFIX . '_deactivate_tfuse_style', 'value' => 'false', 'type' => 'checkbox', 'on_update' => 'reload_page'))))), array('name' => __('Homepage', 'tfuse'), 'id' => TF_THEME_PREFIX . '_homepage', 'headings' => array(array('name' => __('Homepage Population', 'tfuse'), 'options' => array(array('name' => __('Homepage Population', 'tfuse'), 'desc' => ' Select which categories to display on homepage. More over you can choose to load a specific page or change the number of posts on the homepage from <a target="_blank" href="' . network_admin_url('options-reading.php') . '">here</a>', 'id' => TF_THEME_PREFIX . '_homepage_category', 'value' => '', 'options' => array('all' => __('From All Categories', 'tfuse'), 'specific' => __('From Specific Categories', 'tfuse'), 'page' => __('From Specific Page', 'tfuse')), 'type' => 'select', 'install' => 'cat'), array('name' => __('Select specific categories to display on homepage', 'tfuse'), 'desc' => __('Pick one or more
                            categories by starting to type the category name.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_categories_select_categ', 'type' => 'multi', 'subtype' => 'category'), array('name' => __('Select Page', 'tfuse'), 'desc' => __('Select the page', 'tfuse'), 'id' => TF_THEME_PREFIX . '_home_page', 'value' => 'image', 'options' => tfuse_list_page_options(), 'type' => 'select'), array('name' => __('Use page options', 'tfuse'), 'desc' => __('Use page options', 'tfuse'), 'id' => TF_THEME_PREFIX . '_use_page_options', 'value' => 'false', 'type' => 'checkbox'))), array('name' => __('Homepage Header', 'tfuse'), 'options' => array(array('name' => __('Element of Hedear', 'tfuse'), 'desc' => __('Select type of element on the header.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_header_element', 'value' => 'image', 'options' => array('none' => __('Without Header Element', 'tfuse'), 'slider' => __('Slider on Header', 'tfuse'), 'image' => __('Image on Header', 'tfuse')), 'type' => 'select'), $this->ext->slider->model->has_sliders() ? array('name' => __('Slider', 'tfuse'), 'desc' => __('Select a slider for your post. The sliders are created on the', 'tfuse') . '<a href="' . admin_url('admin.php?page=tf_slider_list') . '" target="_blank">' . __('Sliders page', 'tfuse') . '</a>.', 'id' => TF_THEME_PREFIX . '_select_slider', 'value' => '', 'options' => $TFUSE->ext->slider->get_sliders_dropdown(), 'type' => 'select') : array('name' => __('Slider', 'tfuse'), 'desc' => '', 'id' => TF_THEME_PREFIX . '_select_slider', 'value' => '', 'html' => __('No sliders created yet. You can start creating one', 'tfuse') . '<a href="' . admin_url('admin.php?page=tf_slider_list') . '">' . __('here', 'tfuse') . '</a>.', 'type' => 'raw'), array('name' => __('Header Image', 'tfuse'), 'desc' => __('Upload an image for your header. It will be resized to 960x142 px', 'tfuse'), 'id' => TF_THEME_PREFIX . '_header_image', 'value' => '', 'type' => 'upload'))), array('name' => __('Homepage Shortcodes', 'tfuse'), 'options' => array(array('name' => __('Shortcodes after Content', 'tfuse'), 'desc' => __('In this textarea you can input your prefered custom shotcodes.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_content_bottom', 'value' => '', 'type' => 'textarea'))))), array('name' => __('Blog', 'tfuse'), 'id' => TF_THEME_PREFIX . '_blogpage', 'headings' => array(array('name' => __('Blog Page Population', 'tfuse'), 'options' => array(array('name' => __('Select Blog Page', 'tfuse'), 'desc' => __('Select the blog page', 'tfuse'), 'id' => TF_THEME_PREFIX . '_blog_page', 'value' => 'image', 'options' => tfuse_list_page_options(), 'type' => 'select', 'divider' => true), array('name' => __('Blog Page Population', 'tfuse'), 'desc' => ' Select which categories to display on blog page. More over you can choose to load a specific page or change the number of posts on the homepage from <a target="_blank" href="' . network_admin_url('options-reading.php') . '">here</a>', 'id' => TF_THEME_PREFIX . '_blogpage_category', 'value' => '', 'options' => array('all' => __('From All Categories', 'tfuse'), 'specific' => __('From Specific Categories', 'tfuse')), 'type' => 'select', 'install' => 'cat'), array('name' => __('Select specific categories to display on homepage', 'tfuse'), 'desc' => __('Pick one or more
                            categories by starting to type the category name.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_categories_select_categ_blog', 'type' => 'multi', 'subtype' => 'category'))), array('name' => __('Blog Page Header', 'tfuse'), 'options' => array(array('name' => __('Element of Hedear', 'tfuse'), 'desc' => __('Select type of element on the header.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_header_element_blog', 'value' => 'image', 'options' => array('none' => __('Without Header Element', 'tfuse'), 'slider' => __('Slider on Header', 'tfuse'), 'image' => __('Image on Header', 'tfuse')), 'type' => 'select'), $this->ext->slider->model->has_sliders() ? array('name' => __('Slider', 'tfuse'), 'desc' => __('Select a slider for your post. The sliders are created on the', 'tfuse') . '<a href="' . admin_url('admin.php?page=tf_slider_list') . '" target="_blank">' . __('Sliders page', 'tfuse') . '</a>.', 'id' => TF_THEME_PREFIX . '_select_slider_blog', 'value' => '', 'options' => $TFUSE->ext->slider->get_sliders_dropdown(), 'type' => 'select') : array('name' => __('Slider', 'tfuse'), 'desc' => '', 'id' => TF_THEME_PREFIX . '_select_slider_blog', 'value' => '', 'html' => __('No sliders created yet. You can start creating one', 'tfuse') . '<a href="' . admin_url('admin.php?page=tf_slider_list') . '">' . __('here', 'tfuse') . '</a>.', 'type' => 'raw'), array('name' => __('Header Image', 'tfuse'), 'desc' => __('Upload an image for your header. It will be resized to 960x142 px', 'tfuse'), 'id' => TF_THEME_PREFIX . '_header_image_blog', 'value' => '', 'type' => 'upload'))))), array('name' => __('Posts', 'tfuse'), 'id' => TF_THEME_PREFIX . '_posts', 'headings' => array(array('name' => __('Default Post Options', 'tfuse'), 'options' => array(array('name' => __('Post Content', 'tfuse'), 'desc' => __('Select if you want to show the full content (use <em>more</em> tag) or the excerpt on posts listings (categories).', 'tfuse'), 'id' => TF_THEME_PREFIX . '_post_content', 'value' => 'excerpt', 'options' => array('excerpt' => __('The Excerpt', 'tfuse'), 'content' => __('Full Content', 'tfuse')), 'type' => 'select', 'divider' => true), array('name' => __('Image Position', 'tfuse'), 'desc' => __('Select your preferred image alignment', 'tfuse'), 'id' => TF_THEME_PREFIX . '_single_image_position', 'value' => 'alignleft', 'type' => 'images', 'options' => array('alignleft' => array($url . 'left_off.png', __('Align to the left', 'tfuse')), 'alignright' => array($url . 'right_off.png', __('Align to the right', 'tfuse')))), array('name' => __('Image Resize (px)', 'tfuse'), 'desc' => __('These are the default width and height values. If you want to resize the image change the values with your own. If you input only one, the image will get resized with constrained proportions based on the one you specified.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_single_image_dimensions', 'value' => array(612, 252), 'type' => 'textarray', 'divider' => true), array('name' => __('Thumbnail Position', 'tfuse'), 'desc' => __('Select your preferred thumbnail alignment', 'tfuse'), 'id' => TF_THEME_PREFIX . '_thumbnail_position', 'value' => 'alignleft', 'type' => 'images', 'options' => array('alignleft' => array($url . 'left_off.png', __('Align to the left', 'tfuse')), 'alignright' => array($url . 'right_off.png', __('Align to the right', 'tfuse')))), array('name' => __('Thumbnail Resize (px)', 'tfuse'), 'desc' => __('These are the default width and height values. If you want to resize the thumbnail change the values with your own. If you input only one, the thumbnail will get resized with constrained proportions based on the one you specified.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_thumbnail_dimensions', 'value' => array(580, 349), 'type' => 'textarray', 'divider' => true), array('name' => __('Video Position', 'tfuse'), 'desc' => __('Select your preferred video alignment', 'tfuse'), 'id' => TF_THEME_PREFIX . '_video_position', 'value' => 'alignleft', 'type' => 'images', 'options' => array('alignleft' => array($url . 'left_off.png', __('Align to the left', 'tfuse')), 'alignright' => array($url . 'right_off.png', __('Align to the right', 'tfuse')))), array('name' => __('Video Resize (px)', 'tfuse'), 'desc' => __('These are the default width and height values. If you want to resize the video change the values with your own. If you input only one, the video will get resized with constrained proportions based on the one you specified.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_video_dimensions', 'value' => array(580, 349), 'type' => 'textarray'))))), array('name' => __('Header', 'tfuse'), 'id' => TF_THEME_PREFIX . '_feader', 'headings' => array(array('name' => __('Default Header Images', 'tfuse'), 'options' => array(array('name' => __('Pages', 'tfuse'), 'desc' => __('Default header image for pages. These settings may be overridden for individual articles.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_page_header_image', 'value' => '', 'type' => 'upload', 'divider' => true), array('name' => __('Posts', 'tfuse'), 'desc' => __('Default header image for posts. These settings may be overridden for individual articles.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_post_header_image', 'value' => '', 'type' => 'upload', 'divider' => true), array('name' => __('Categories', 'tfuse'), 'desc' => __('Default header image for categories. These settings may be overridden for individual articles.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_category_header_image', 'value' => '', 'type' => 'upload', 'divider' => true), array('name' => __('Doctors', 'tfuse'), 'desc' => __('Default header image for doctors. These settings may be overridden for individual articles.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_doctor_header_image', 'value' => '', 'type' => 'upload', 'divider' => true), array('name' => __('Specialties', 'tfuse'), 'desc' => __('Default header image for specialties. These settings may be overridden for individual articles.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_specialty_header_image', 'value' => '', 'type' => 'upload', 'divider' => true), array('name' => __('Services', 'tfuse'), 'desc' => __('Default header image for services. These settings may be overridden for individual articles.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_service_header_image', 'value' => '', 'type' => 'upload'))))), array('name' => __('Footer', 'tfuse'), 'id' => TF_THEME_PREFIX . '_footer', 'headings' => array(array('name' => __('Footer Content', 'tfuse'), 'options' => array(array('name' => __('Enable Footer Shortcodes', 'tfuse'), 'desc' => __('This will enable footer shortcodes.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_enable_footer_shortcodes', 'value' => '', 'type' => 'checkbox'), array('name' => __('Footer Shortcodes', 'tfuse'), 'desc' => __('In this textarea you can input your prefered custom shotcodes.', 'tfuse'), 'id' => TF_THEME_PREFIX . '_footer_shortcodes', 'value' => '', 'type' => 'textarea')))))));