'Three Tabs Sidebar', 'before_widget' => '', // Removes
|
|
__('Reply','mtsmag'), 'add_below' => 'div-comment', 'depth' => $depth, 'max_depth' => $args['max_depth']))) ?>
Enter the code (adsense..)or your text for the content you want to show in the about box.
html is allowed
If you would like to exclude static pages from header navi please type in the IDs in ASC order,koma separeted: 1,45,67.
', 'mtsmag'), "optionid" => $themeoptionsprefix."_idofpages", "selectoptiondef" => "", "optiontype" => "text", "options" => $idofpages), array("optionname" => __('Home Featured Section', 'mtsmag'), "optiontype" => "heading"), array("optionname" => __('Featured Post Category', 'mtsmag'), "optiondescription" => __('Select the category that you would like to have displayed in the featured section on your homepage.', 'mtsmag'), "optionid" => $themeoptionsprefix."_featurepostcategory", "selectoptiondef" => "Uncategorized", "optiontype" => "select", "options" => $mts_categories), array("optionname" => __('Number of featured posts', 'mtsmag'), "optiondescription" => __('Select the number of entries that should appear as featured entries on the homepage.', 'mtsmag'), "optionid" => $themeoptionsprefix."_featurepostcategorynumber", "selectoptiondef" => "1", "optiontype" => "select", "options" => $post_entries), array("optionname" => __('Home Blog Section', 'mtsmag'), "optiontype" => "heading"), array("optionname" => __('Blog Post Category', 'mtsmag'), "optiondescription" =>__('Select the category that you would like to have displayed in the blog section on your homepage and on static page named "Blog" .', 'mtsmag'), "optionid" => $themeoptionsprefix."_blogppostcategory", "selectoptiondef" => "Uncategorized", "optiontype" => "select", "options" => $mts_categories), array("optionname" => __('Number of Blog posts', 'mtsmag'), "optiondescription" => __('Select the number of entries that should appear as blog entries on the homepage.', 'mtsmag'), "optionid" => $themeoptionsprefix."_blogppostcategorynumber", "selectoptiondef" => "1", "optiontype" => "select", "options" => $post_entries), array("optionname" => __('Home News Section', 'mtsmag'), "optiontype" => "heading"), array("optionname" => __('#1 Category', 'mtsmag'), "optiondescription" => __('Select the #1 category that you would like to have displayed in othernews section on your homepage.', 'mtsmag'), "optionid" => $themeoptionsprefix."_newscatone", "selectoptiondef" => "First Child Category", "optiontype" => "select", "options" => $mts_categories), array("optionname" => __('Number of #1 Category posts', 'mtsmag'), "optiondescription" => __('Select the number of entries that should appear in #1 on the homepage.', 'mtsmag'), "optionid" => $themeoptionsprefix."_newscatonenumber", "selectoptiondef" => "1", "optiontype" => "select", "options" => $post_entries), array("optionname" => __('#2 Category', 'mtsmag'), "optiondescription" => __('Select the #2 category that you would like to have displayed in othernews section on your homepage.', 'mtsmag'), "optionid" => $themeoptionsprefix."_newscattwo", "selectoptiondef" => "Second Child Category", "optiontype" => "select", "options" => $mts_categories), array("optionname" => __('Number of #2 Category posts', 'mtsmag'), "optiondescription" => __('Select the number of entries that should appear in #2 on the homepage.', 'mtsmag'), "optionid" => $themeoptionsprefix."_newscattwonumber", "selectoptiondef" => "1", "optiontype" => "select", "options" => $post_entries), array("optionname" => __('#3 Category', 'mtsmag'), "optiondescription" => __('Select the #3 category that you would like to have displayed in othernews section on your homepage.', 'mtsmag'), "optionid" => $themeoptionsprefix."_newscatthree", "selectoptiondef" => "Parent", "optiontype" => "select", "options" => $mts_categories), array("optionname" => __('Number of #3 Category ', 'mtsmag'), "optiondescription" => __('Select the number of entries that should appear in #3 on the homepage.', 'mtsmag'), "optionid" => $themeoptionsprefix."_newscatthreenumber", "selectoptiondef" => "1", "optiontype" => "select", "options" => $post_entries), array("optionname" => __('#4 Category', 'mtsmag'), "optiondescription" => __('Select the #4 category that you would like to have displayed in othernews section on your homepage.', 'mtsmag'), "optionid" => $themeoptionsprefix."_newscatfour", "selectoptiondef" => "One Grandchild Category", "optiontype" => "select", "options" => $mts_categories), array("optionname" => __('Number of #4 Category posts', 'mtsmag'), "optiondescription" => __('Select the number of entries that should appear in #4 on the homepage.', 'mtsmag'), "optionid" => $themeoptionsprefix."_newscatfournumber", "selectoptiondef" => "1", "optiontype" => "select", "options" => $post_entries), array("optionname" => __('Single Article', 'mtsmag'), "optiontype" => "heading"), array("optionname" => __('Show Time- Yes/NO', 'mtsmag'), "optiondescription" => __('Select 1 for Yes 2 for No', 'mtsmag'), "optionid" => $themeoptionsprefix."_singletime", "selectoptiondef" => "Select a Number:", "optiontype" => "select", "options" => $singletime), array("optionname" => __('Show Author- Yes/NO', 'mtsmag'), "optiondescription" => __('Select 1 for Yes 2 for No', 'mtsmag'), "optionid" => $themeoptionsprefix."_singleauthor", "selectoptiondef" => "Select a Number:", "optiontype" => "select", "options" => $singleauthor), array("optionname" => __('Show Postmeta or Author INFO- Yes/NO', 'mtsmag'), "optiondescription" => __('Select 1 to show postmeta at the end of an article. Select 2 to show Author INFO.', 'mtsmag'), "optionid" => $themeoptionsprefix."_singlemeta", "selectoptiondef" => "Select a Number:", "optiontype" => "select", "options" => $singlemeta), array("optionname" => __('Pages', 'mtsmag'), "optiontype" => "heading"), array("optionname" => __('Show Time- Yes/NO', 'mtsmag'), "optiondescription" => __('Select 1 for Yes 2 for No', 'mtsmag'), "optionid" => $themeoptionsprefix."_pagetime", "selectoptiondef" => "2", "optiontype" => "select", "options" => $pagetime), array("optionname" => __('Show Author- Yes/NO', 'mtsmag'), "optiondescription" => __('Select 1 for Yes 2 for No', 'mtsmag'), "optionid" => $themeoptionsprefix."_pageauthor", "selectoptiondef" => "2", "optiontype" => "select", "options" => $pageauthor), array("optionname" => __('Comment form on Post Pages', 'mtsmag'), "optiondescription" => __('Select 1 for Yes 2 for No. If you would like to have pages with comments, but some without- select template "Page No Comments"" on the right side of the writing panel.', 'mtsmag'), "optionid" => $themeoptionsprefix."_pagecomments", "selectoptiondef" => " ", "optiontype" => "select", "options" => $pagecomments), array("optionname" => __('Adsense', 'mtsmag'), "optiontype" => "heading"), array("optionname" => __('Sidebar Ad Code', 'mtsmag'), "optiondescription" => __('You can display adds in your sidebar. For best results use 250 pixels wide ad or 280 pixels wide ad
', 'mtsmag'), "optionid" => $themeoptionsprefix."_sidebarad", "selectoptiondef" => "", "optiontype" => "textarea"), array("optionname" => __('Under The Title Ad Code', 'mtsmag'), "optiondescription" => __('You can display adds under your article title. For best results use max.510px .. ads.
', 'mtsmag'), "optionid" => $themeoptionsprefix."_titlead", "selectoptiondef" => "", "optiontype" => "textarea"), array("optionname" => __('Content Ad Code', 'mtsmag'), "optiondescription" => __('You can display adds after the 3rd p tag in content.
', 'mtsmag'), "optionid" => $themeoptionsprefix."_contentad", "selectoptiondef" => "", "optiontype" => "textarea"), array("optionname" => __('Under The Content Ad Code', 'mtsmag'), "optiondescription" => __('You can display ads below the content.
', 'mtsmag'), "optionid" => $themeoptionsprefix."_undercontentad", "selectoptiondef" => "", "optiontype" => "textarea"), array("optionname" => __('Between Feature And News /Blog At Homepage', 'mtsmag'), "optiondescription" => __('You can display ads between feature articles and news/blog section.Max 510px width.
', 'mtsmag'), "optionid" => $themeoptionsprefix."_betweenhomepagead", "selectoptiondef" => "", "optiontype" => "textarea"), array("optionname" => __('At The End Of Homepage', 'mtsmag'), "optiondescription" => __('You can display ads at the end of homepage.Max 510px width.
', 'mtsmag'), "optionid" => $themeoptionsprefix."_belowhomepagead", "selectoptiondef" => "", "optiontype" => "textarea"), array("optionname" => __('Above The First Article On Blog Page', 'mtsmag'), "optiondescription" => __('You can display ads above the first article at your Blog Page.Max 510px width.
', 'mtsmag'), "optionid" => $themeoptionsprefix."_aboveblogpagead", "selectoptiondef" => "", "optiontype" => "textarea"), array("optionname" => __('At The End Of Your Blog Page', 'mtsmag'), "optiondescription" => __('You can display ads at the end of your Blog Page.Max 510px width.
', 'mtsmag'), "optionid" => $themeoptionsprefix."_belowblogpagead", "selectoptiondef" => "", "optiontype" => "textarea"), array("optionname" => __('Tracking Code', 'mtsmag'), "optiontype" => "heading"), array("optionname" => __('Site Tracking Code i.e: Google Analytics,Your Counter', 'mtsmag'), "optiondescription" => __('Using your own counter or Goolge Analytics? You can enter your code below.
', 'mtsmag'), "optionid" => $themeoptionsprefix."_sitetrackingcode", "selectoptiondef" => "", "optiontype" => "textarea"), array("optionname" => __('Sidebar Social Accounts', 'mtsmag'), "optiontype" => "heading"), array("optionname" => __('Show Twitter -Yes/No', 'mtsmag'), "optiondescription" => __('Select 1 for Yes 2 for No', 'mtsmag'), "optionid" => $themeoptionsprefix."_showtwitter", "selectoptiondef" => "Select yes or no:", "optiontype" => "select", "options" => $showtwitter), array("optionname" => __('Twitter URL', 'mtsmag'), "optiondescription" => __('If you have a twitter account you can enter the URL here and a link will appear on the page
', 'mtsmag'), "optionid" => $themeoptionsprefix."_twitterurl", "selectoptiondef" => "", "optiontype" => "text"), array("optionname" => __('Header for RSS Subscribe Block', 'mtsmag'), "optiondescription" => __('The text to display as the header above the subscribe links in the sidebar.
', 'mtsmag'), "optionid" => $themeoptionsprefix."_rsssubscribeblockh4", "selectoptiondef" => "", "optiontype" => "text"), array("optionname" => __('Subtext for rss subscribe block', 'mtsmag'), "optiondescription" => __('The text to display as a short description for why to subscribe to your feed.
', 'mtsmag'), "optionid" => $themeoptionsprefix."_rsssubscribeblocksubtext", "selectoptiondef" => "", "optiontype" => "text"), array("optionname" => __('Show Feedburner- Yes/NO', 'mtsmag'), "optiondescription" => __('Select 1 for Yes 2 for No. "No" shows the default RSS Link.', 'mtsmag'), "optionid" => $themeoptionsprefix."_feedsubscribe", "selectoptiondef" => "Select a Number:", "optiontype" => "select", "options" => $feedsubscribe), array("optionname" => __('Feedburner RSS URL', 'mtsmag'), "optiondescription" => __('Your Feedburner URL
', 'mtsmag'), "optionid" => $themeoptionsprefix."_feedburnerurl", "selectoptiondef" => "", "optiontype" => "text"), array("optionname" => __('Feedburner ID', 'mtsmag'), "optiondescription" => __('Your Feedburner ID here.
', 'mtsmag'), "optionid" => $themeoptionsprefix."_feedburnerid", "selectoptiondef" => "", "optiontype" => "text"), ); 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(page_title, menu_title, capability, file, [function], [icon_url]); //add_menu_page($this_theme."", $this_theme." ", 'edit_themes', basename(__FILE__), 'do_page_mtsmag',$iconpath); add_theme_page($this_theme. __('Options', 'mtsmag'), "$this_theme" . __('Options', 'mtsmag'), 'edit_themes', basename(__FILE__), 'do_page_mtsmag'); } function do_page_mtsmag () { global $this_theme, $shortname, $options; if ( $_REQUEST['saved'] ) echo ''.$themename.' settings saved.
'.$themename.' settings reset.