cat_ID] = $category->cat_name; } // Pull all the pages into an array $options_pages = array(); $options_pages_obj = get_pages('sort_column=post_parent,menu_order'); $options_pages[''] = 'Select a page:'; foreach ($options_pages_obj as $page) { $options_pages[$page->ID] = $page->post_title; } // If using image radio buttons, define a directory path $imagepath = get_stylesheet_directory_uri() . '/images/'; $options = array(); $options[] = array( "name" => "Layout Settings", "type" => "heading"); $options[] = array( "name" => "Logo", "desc" => "Upload or insert a URL to your own logo. Recommended width is 250px. If you don't upload a logo here, the site title and tagline will be used.", "id" => "ilmenite_logo", "type" => "upload"); $options[] = array( "name" => "Favicon", "desc" => "Upload or insert a URL to your own favicon. Make sure you upload a proper .ico file with the dimensions 16x16px.", "id" => "ilmenite_favicon", "type" => "upload"); $options[] = array( "name" => "Hide Banner", "desc" => "Check this if you want to hide the banner with random images from appearing.", "id" => "ilmenite_hidebanner", "type" => "checkbox"); $options[] = array( "name" => "Hide Design Attribution Link", "desc" => "While we would appreciate a link, if you want to remove it (it is GPL afterall), just check this box and it will go away.", "id" => "ilmenite_hideattribution", "type" => "checkbox"); $options[] = array( "name" => "Always hide comments form on pages.", "desc" => "Tenacity supports comments on pages. If you would like to disable this globally, check this box.", "id" => "ilmenite_hidepagecomments", "type" => "checkbox"); $options[] = array( "name" => "Link Color", "desc" => "If you would like a custom link color, please choose one from the color wheel or insert a custom hexcode.", "id" => "ilmenite_linkcolor", "type" => "color"); $options[] = array( "name" => "Documentation", "type" => "heading"); $options[] = array( "name" => "About the theme", "desc" => 'This is the Tenacity theme built by Erik Bernskiold at XLD Studios and released for free under the GPL license. You are free to modify this to your hearts content. Behind the scenes, the theme is powered by XLD Studios custom built framework called "Ilmenite".


We have built this theme to use mostly built-in WordPress features which is why this theme options area is so sparse. This benefits you in that the theme is much simpler to use and work with.', "type" => "info"); $options[] = array( "name" => "Support", "desc" => 'Because this is a free theme we do not guarantee full support on this theme. That being said, if you need help, want to make a feature request or file a bug, please send us an email.', "type" => "info"); $options[] = array( "name" => "How to remove a header photo!", "desc" => 'To remove a header photo that you have uploaded yourself in the header section go to your media library, find the file and delete it from there.', "type" => "info"); $options[] = array( "name" => "Customization Help", "desc" => 'If you need help in setting up your WordPress website or want help to customize this template beyond your capabilities you are welcome to contact us at XLD Studios for a quote. We also do custom websites and develop them to your needs. If you are interested, please send an email.', "type" => "info"); $options[] = array( "name" => "Recommended Plugins", "desc" => ' We would like to recommend a set of plugins that we typically use for our clients and that we truly like. These are however not necessary to run this theme. ', "type" => "info"); return $options; }