cat_ID] = $wp_category_list->cat_name; $wp_category_id[] = $wp_category_list->cat_ID; } $options = array ( array( "name" => "Theme Name Options", "type" => "title" ), /** General Settings -------------------------------------------------------- */ array( "name" => "general-settings", "type" => "tab-open" ), array( "name" => "Site Maintenance", "type" => "open" ), array( "name" => "Activate Maintenance Mode", "id" => $shortname."_maintenance_status", "std" => "No", "type" => "select", "options" => array("Yes", "No"), "desc" => "Set maintenance mode, YES will make visitors won't be able to browse your site." ), array( "name" => "Maintenance Title", "id" => $shortname."_maintenance_title", "std" => "Maintenance Mode", "type" => "text", "desc" => "Enter the maintenance title." ), array( "name" => "Maintenance Message", "id" => $shortname."_maintenance_text", "std" => "Sorry, our site is down for maintenance. Be sure to check again in a few minutes.", "type" => "textarea", "desc" => "Enter the message you want your visitors to see when maintenance mode is turn on." ), array( "name" => "Maintenance Message for Administrator", "id" => $shortname."_maintenance_text_admin", "std" => "Notice: You are in maintenance mode!", "type" => "text", "desc" => "Enter the message you want display for logged in administrator." ), array( "type" => "close" ), array( "name" => "Post Options", "type" => "open" ), array( "name" => "Date Format", "id" => $shortname."_date_format", "std" => "j F, Y - h:i A", "type" => "text", "desc" => "WARNING: Please don't change the date format if you don't know what you are doing!
Enter your custom date format, you can see the available parameters at http://php.net/manual/en/function.date.php." ), array( "name" => "Display Update Post Link", "id" => $shortname."_update_link", "std" => "Yes", "type" => "radio", "options" => array("Yes","No"), "desc" => "If set to 'Yes', the update post link will be displayed to logged in administrator and users with editing rights." ), array( "type" => "close" ), array( "type" => "tab-close" ), /** Appearance Settings -------------------------------------------------------- */ array( "name" => "appearance-settings", "type" => "tab-open" ), array( "name" => "Appearances", "type" => "open" ), array( "name" => "Theme Style", "id" => $shortname."_style", "std" => "blue", "type" => "select", "options" => array("black", "red", "blue"), "desc" => "Which style should be use for the theme." ), array( "name" => "Logo", "id" => $shortname."_logo", "id2" => $shortname."_logo_base_path", "type" => "file", "desc" => "Upload your logo. Only JPG, GIF and PNG image allowed. Max image width: 350px, max image height: 30px." ), array( "name" => "Favicon", "id" => $shortname."_favicon", "id3" => $shortname."_favicon_base_path", "type" => "file", "std" => "", "desc" => "Upload your favicon. Only ICO, JPG, GIF and PNG image allowed. Max image width: 32px, max image height: 32px." ), array( "name" => "Font Family", "id" => $shortname."_font", "std" => "Tahoma", "type" => "select", "options" => array( "Verdana", "Arial", "Georgia", "Tahoma", "Lucida Sans", "Myriad Pro" ), "desc" => "Choose font family." ), array( "type" => "close" ), array( "name" => "Color Settings", "type" => "open" ), array( "name" => "Main Text Color", "id" => $shortname."_color_text", "std" => "555555", "type" => "text", "desc" => "Enter color code. Example: 333333" ), array( "name" => "Main Link Color", "id" => $shortname."_color_link", "type" => "text", "std" => "15516d", "desc" => "Enter color code. Example: dedede" ), array( "name" => "Main Link Hover Color", "id" => $shortname."_color_hover", "std" => "15516d", "type" => "text", "desc" => "Enter color code. Example: ff0000" ), array( "name" => "Main Link Visited Color", "id" => $shortname."_color_visited", "std" => "15516d", "type" => "text", "desc" => "Enter color code. Example: ff0000" ), array( "type" => "close" ), array( "name" => "Custom CSS", "type" => "open" ), array( "name" => "Custom CSS Codes", "id" => $shortname."_custom_css", "std" => "", "type" => "textarea", "desc" => "Type your custom CSS codes here, alternatively you can also write down you custom CSS styles on the custom.css file located on the theme root directory." ), array( "type" => "close" ), array( "type" => "tab-close" ), /** Homepage Settings -------------------------------------------------------- */ array( "name" => "homepage-settings", "type" => "tab-open" ), array( "name" => "Featured Slider", "type" => "open" ), array( "name" => "Which Category", "id" => $shortname."_featured_cat", "std" => "1", "type" => "select", "options" => $wp_categories, "desc" => "Choose the category that will be displayed in the featured slider." ), array( "name" => "How Many Item Should be Displayed", "id" => $shortname."_featured_total", "std" => "5", "type" => "text", "desc" => "Number of post that should be displayed in the featured slider." ), array( "name" => "Slider Effect", "id" => $shortname."_slider_effect", "std" => "fade", "type" => "select", "options" => array("cover", "fade", "none", "scrollUp", "scrollDown", "scrollLeft", "scrollRight", "scrollHorz", "scrollVert", "turnLeft", "turnRight"), "desc" => "The effect that will be use in featured slider." ), array( "type" => "close" ), array( "name" => "Category Highlights", "type" => "open" ), array( "name" => "Include These Categories to Category Highlights", "id" => $shortname."_cat_highlights_id", "std" => "", "type" => "text", "desc" => "Enter the category IDs you want to include in Latest News, seperate each one with a coma. Example: 1,3,4,5" ), array( "type" => "close" ), array( "name" => "Latest News", "type" => "open" ), array( "name" => "Exclude These Categories From Latest News", "id" => $shortname."_exclude_cat_latest_news", "std" => "", "type" => "text", "desc" => "Enter the category IDs you want to exclude from Latest News, seperate each one with a coma. Example: 1,3,4,5" ), array( "name" => "How Many Items to be Shown in Latest News", "id" => $shortname."_latest_news_total", "std" => "8", "type" => "text", "desc" => "Enter the number of items to be shown in Latest News." ), array( "type" => "close" ), array( "type" => "tab-close" ), /** Menu Settings -------------------------------------------------------- */ array( "name" => "menus-settings", "type" => "tab-open" ), array( "name" => "Menu Settings", "type" => "open" ), array( "name" => "Use WordPress 3.0 Navigation Menu Feature", "id" => $shortname."_wp_nav_menu", "type" => "select", "std" => "No", "options" => array("Yes", "No"), "desc" => "WARNING: Only choose Yes if you are using WordPress 3.0 and above." ), array( "name" => "Include These Category IDs", "id" => $shortname."_cat_include", "type" => "text", "std" => "", "desc" => "Enter the category IDs you want to include in the top menu, seperate each one with a coma.
Example: 1,3,4,5" ), array( "name" => "Category Order", "id" => $shortname."_cat_order", "std" => "ASC", "type" => "select", "options" => array("ASC","DESC"), "desc" => "Sort order of the category menu, ASC for Ascending and DESC for Descending." ), array( "name" => "Include These Page IDs", "id" => $shortname."_page_include", "std" => "2", "type" => "text", "desc" => "Enter the page IDs you want to include in the top menu, seperate each one with a coma.
Example: 1,3,4,5" ), array( "name" => "Pages Order", "id" => $shortname."_page_order", "std" => "ASC", "type" => "select", "options" => array("ASC","DESC"), "desc" => "Sort order of the page menu, ASC for Ascending and DESC for Descending." ), array( "type" => "close" ), array( "type" => "tab-close" ), /** Advertising Settings -------------------------------------------------------- */ array( "name" => "advertisement-settings", "type" => "tab-open" ), array( "name" => "300x250 Advertisement Banner", "type" => "open" ), array( "name" => "Banner Image Location", "id" => $shortname."_ad_300x250", "type" => "text", "std" => "http://www.themewarrior.com/files/themes/ads/ad-300x250.jpg", "desc" => "Enter the URL for this banner ad." ), array( "name" => "Banner URL", "id" => $shortname."_ad_300x250_url", "type" => "text", "std" => "http://www.themewarrior.com", "desc" => "Enter the URL where this banner will linked to." ), array( "type" => "close" ), array( "name" => "125x125 Advertisement Banner", "type" => "open" ), array( "name" => "Banner Image Location #1", "id" => $shortname."_ad_1", "type" => "text", "std" => "http://www.themewarrior.com/files/themes/ads/ad-125x125.jpg", "desc" => "Enter the URL for this banner ad." ), array( "name" => "Banner URL #1", "id" => $shortname."_ad_url_1", "type" => "text", "std" => "http://www.themewarrior.com", "desc" => "Enter the URL where this banner will linked to." ), array( "name" => "Banner Image Location #2", "id" => $shortname."_ad_2", "type" => "text", "std" => "http://www.themewarrior.com/files/themes/ads/ad-125x125.jpg", "desc" => "Enter the URL for this banner ad." ), array( "name" => "Banner URL #2", "id" => $shortname."_ad_url_2", "type" => "text", "std" => "http://www.themewarrior.com", "desc" => "Enter the URL where this banner will linked to." ), array( "name" => "Banner Image Location #3", "id" => $shortname."_ad_3", "type" => "text", "std" => "http://www.themewarrior.com/files/themes/ads/ad-125x125.jpg", "desc" => "Enter the URL for this banner ad." ), array( "name" => "Banner URL #3", "id" => $shortname."_ad_url_3", "type" => "text", "std" => "http://www.themewarrior.com", "desc" => "Enter the URL where this banner will linked to." ), array( "name" => "Banner Image Location #4", "id" => $shortname."_ad_4", "type" => "text", "std" => "http://www.themewarrior.com/files/themes/ads/ad-125x125.jpg", "desc" => "Enter the URL for this banner ad." ), array( "name" => "Banner URL #4", "id" => $shortname."_ad_url_4", "type" => "text", "std" => "http://www.themewarrior.com", "desc" => "Enter the URL where this banner will linked to." ), array( "name" => "Banner Image Location #5", "id" => $shortname."_ad_5", "type" => "text", "std" => "http://www.themewarrior.com/files/themes/ads/ad-125x125.jpg", "desc" => "Enter the URL for this banner ad." ), array( "name" => "Banner URL #5", "id" => $shortname."_ad_url_5", "type" => "text", "std" => "http://www.themewarrior.com", "desc" => "Enter the URL where this banner will linked to." ), array( "name" => "Banner Image Location #6", "id" => $shortname."_ad_6", "type" => "text", "std" => "http://www.themewarrior.com/files/themes/ads/ad-125x125.jpg", "desc" => "Enter the URL for this banner ad." ), array( "name" => "Banner URL #6", "id" => $shortname."_ad_url_6", "type" => "text", "std" => "http://www.themewarrior.com", "desc" => "Enter the URL where this banner will linked to." ), array( "type" => "close" ), array( "type" => "tab-close" ), /** Miscellaneous Settings -------------------------------------------------------- */ array( "name" => "miscellaneous-settings", "type" => "tab-open" ), array( "name" => "Social Networks", "type" => "open" ), array( "name" => "Twitter Username", "id" => $shortname."_twitter", "std" => "themewarrior", "type" => "text", "desc" => "Your Twitter username. Example: http://twitter.com/themewarrior" ), array( "name" => "Facebook Profile / Page", "id" => $shortname."_facebook", "std" => "themewarrior", "type" => "text", "desc" => "Your Facebook profile URL.
Example: http://www.facebook.com/chimelcake" ), array( "name" => "MySpace Page", "id" => $shortname."_myspace", "std" => "", "type" => "text", "desc" => "Your MySpace page username.
Example: http://www.myspace.com/themewarrior" ), array( "name" => "Linkedin Profile", "id" => $shortname."_linkedin", "std" => "", "type" => "text", "desc" => "Your MySpace page username.
Example: http://www.linkedin.com/in/andrayogi" ), array( "name" => "Flickr Photos", "id" => $shortname."_flickr", "std" => "", "type" => "text", "desc" => "Your Flickr Photos page.
Example: http://www.flickr.com/photos/andrastudio" ), array( "name" => "YouTube Videos", "id" => $shortname."_youtube", "std" => "", "type" => "text", "desc" => "Your YouTube video page.
Example: http://www.youtube.com/user/andrastudio" ), array( "name" => "Vimeo Videos", "id" => $shortname."_vimeo", "std" => "", "type" => "text", "desc" => "Your Vimeo video page.
Example: http://www.vimeo.com/andrastudio" ), array( "type" => "close" ), array( "name" => "Miscellaneous", "type" => "open" ), array( "name" => "Footer Codes", "id" => $shortname."_footer_codes", "std" => "", "type" => "textarea", "desc" => "Paste your Google Analytics code or any other codes to be placed on footer." ), array( "type" => "close" ), array( "type" => "tab-close" ) ); ?>