'
', 'before_title' => 'You can replace the text title with a logo by entering the logo URL here Note:include http://
", "optionid" => $themeoptionsprefix."_sitelogo", "selectoptiondef" => "", "optiontype" => "text"), array("optionname" => "Site Tracking Code Example: Google Analytics", "optiondescription" => "Using Goolge Analytics? You can enter your code below.
", "optionid" => $themeoptionsprefix."_sitetrackingcode", "selectoptiondef" => "", "optiontype" => "textarea"), array("optionname" => "Header Banner", "optiondescription" => "You can display a banner in the header of your page to the far right of your title/logo by entering the complete banner code
", "optionid" => $themeoptionsprefix."_bannerad", "selectoptiondef" => "", "optiontype" => "textarea"), array("optionname" => "Sidebar Ad Code", "optiondescription" => "You can display adds in your sidebar. For best results use 250 pixels wide ad or 280 pixels wide ad
", "optionid" => $themeoptionsprefix."_sidebarad", "selectoptiondef" => "", "optiontype" => "textarea"), array("optionname" => "Flickr Slideshow Replacer", "optiondescription" => "If you want to put something else in the place of the flickr slideshow
", "optionid" => $themeoptionsprefix."_flickrslideshowreplacer", "selectoptiondef" => "", "optiontype" => "textarea"), array("optionname" => "Feedburner RSS URL", "optiondescription" => "Your Feedburner URL
", "optionid" => $themeoptionsprefix."_feedburnerurl", "selectoptiondef" => "", "optiontype" => "text"), array("optionname" => "Feedburner ID", "optiondescription" => "Your Feedburner ID here.
", "optionid" => $themeoptionsprefix."_feedburnerid", "selectoptiondef" => "", "optiontype" => "text"), array("optionname" => "Header for Sidebar Subscribe Block", "optiondescription" => "The text to display as the header above the subscribe links in the sidebar.
", "optionid" => $themeoptionsprefix."_rsssubscribeblockh2", "selectoptiondef" => "", "optiontype" => "text"), array("optionname" => "Subtext for rss subscribe block", "optiondescription" => "The text to display as a short description for why to subscribe to your feed.
", "optionid" => $themeoptionsprefix."_rsssubscribeblocksubtext", "selectoptiondef" => "", "optiontype" => "text"), array("optionname" => "Subscribe Link Text", "optiondescription" => "The text to use for your subscribe link.
", "optionid" => $themeoptionsprefix."_rsssubscribeblocklinktext", "selectoptiondef" => "", "optiontype" => "text"), array("optionname" => "Your Flickr ID", "optiondescription" => "Provide your flickr id if using the flickr slideshow widget. Get ID.
", "optionid" => $themeoptionsprefix."_flickruserid", "selectoptiondef" => "", "optiontype" => "text"), array("optionname" => "Flickr Tags", "optiondescription" => "Use tags to control the types of pictures that get shown in the slideshow. Separate by commas
", "optionid" => $themeoptionsprefix."_flickrtags", "selectoptiondef" => "", "optiontype" => "text"), array("optionname" => "Number of Posts on Home Page", "optiondescription" => "You can set the number of posts to show on the homepage.
", "optionid" => $themeoptionsprefix."_numpostshome", "selectoptiondef" => "Select a Number:", "optiontype" => "select", "options" => $arrnumposts), ); function do_options_update_theme() { global $this_theme, $options; if ( $_GET['page'] == basename(__FILE__) ) { if ( 'updateoptions' == $_REQUEST['action'] ) { foreach ($options as $optionvalue) { update_option( $optionvalue['optionid'], $_REQUEST[ $optionvalue['optionid'] ] ); } foreach ($options as $optionvalue) { if( isset( $_REQUEST[ $optionvalue['optionid'] ] ) ) { update_option( $optionvalue['optionid'], $_REQUEST[ $optionvalue['optionid'] ] ); } else { delete_option( $optionvalue['optionid'] ); } } header("Location: admin.php?page=functions.php&optionsupdated=true"); die; } } add_menu_page($this_theme." Options", $this_theme." Options", 'edit_themes', basename(__FILE__), 'do_page_6609', $menuico6609); } function do_page_6609 (){ global $options, $this_theme; ?>