Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--Below code is for 1 page tab, jQuery transitions between the tabs-->
- <div class="wrap" style="width:70%">
- <!-- Add the icon to the page -->
- <div id="icon-themes" class="icon32"></div>
- <?php
- $active_tab = isset( $_GET[ 'tab' ] ) ? $_GET[ 'tab' ] : 'general_settings';
- if( isset( $_GET[ 'tab' ] ) ) {
- $active_tab = $_GET[ 'tab' ];
- } // end if
- ?>
- <h2 class="nav-tab-wrapper">
- <a href="?page=sandbox_theme_options&tab=general_settings" class="nav-tab <?php echo $active_tab == 'general_settings' ? 'nav-tab-active' : ''; ?>">General Settings</a></li>
- <a href="?page=sandbox_theme_options&tab=layout_options" class="nav-tab <?php echo $active_tab == 'layout_options' ? 'nav-tab-active' : ''; ?>">Layout Options</a>
- <a href="?page=sandbox_theme_options&tab=content_display" class="nav-tab <?php echo $active_tab == 'content_display' ? 'nav-tab-active' : ''; ?>">Content Display</a>
- <a href="?page=sandbox_theme_options&tab=advanced_options" class="nav-tab <?php echo $active_tab == 'advanced_options' ? 'nav-tab-active' : ''; ?>">Advanced Options</a>
- </h2>
- <?php
- if( $active_tab == 'general_settings' ) { ?>
- <form class="page-form" method="post" action="options.php">
- <?php wp_nonce_field('update-options');?>
- <?php $options = get_option('theme_settings'); ?>
- <div id="poststuff" class="metabox-holder has-right-sidebar" >
- <div class="postbox" style="width: 100%">
- <h3>Main</h3>
- <table width="100%" border="0" cellspacing="8" cellpadding="0" class="form-table">
- <tr class="rm_input">
- <td width="60%">
- <strong style="margin-left:5px">Body Style</strong></td>
- <td> </td>
- </tr>
- <tr class="rm_input" style="border-bottom: 1px solid rgb(223, 223, 223)">
- <td>
- <select name="body_style" id="body_style" style="width:100%;">
- <option value="fluid" <?php if($options['body_style'] == 'fluid'){echo "selected";}?>>Fluid</option>
- <option value="fixed" <?php if($options['body_style'] == 'fixed'){echo "selected";}?>>Fixed</option>
- </select>
- </td>
- <td width="50%" style="color:#666">This option changes the width of your website.</td>
- </tr>
- <tr class="rm_input">
- <td width="60%">
- <strong style="margin-left:5px">Body Color</strong></td>
- <td> </td>
- </tr>
- <tr class="rm_input" style="border-bottom: 1px solid rgb(223, 223, 223)">
- <td>
- <select name="body_color" id="body_color" style="width:100%;">
- <option value="black" <?php if($options['body_color'] == 'black'){echo "selected";}?>>Black</option>
- <option value="maroon" <?php if($options['body_color'] == 'maroon'){echo "selected";}?>>Maroon</option>
- <option value="brown" <?php if($options['body_color'] == 'brown'){echo "selected";}?>>Brown</option>
- <option value="darkbrown" <?php if($options['body_color'] == 'darkbrown'){echo "selected";}?>>Dark Brown</option>
- <option value="dark" <?php if($options['body_color'] == 'dark'){echo "selected";}?>>Dark</option>
- <option value="blue" <?php if($options['body_color'] == 'blue'){echo "selected";}?>>Blue</option>
- <option value="skyblue" <?php if($options['body_color'] == 'skyblue'){echo "selected";}?>>Sky Blue</option>
- <option value="lightblue" <?php if($options['body_color'] == 'lightblue'){echo "selected";}?>>Light Blue</option>
- <option value="midnightblue" <?php if($options['body_color'] == 'midnightblue') {echo "selected";}?>>Midnight Blue</option>
- <option value="green" <?php if($options['body_color'] == 'green'){echo "selected";}?>>Green</option>
- <option value="lemonlime" <?php if($options['body_color'] == 'lemonlime') {echo "selected";}?>>Lemon Lime</option>
- <option value="forestgreen" <?php if($options['body_color'] == 'forestgreen') {echo "selected";}?>>Forest Green</option>
- <option value="olivegreen" <?php if($options['body_color'] == 'olivegreen') {echo "selected";}?>>Olive Green</option>
- <option value="darkpurple" <?php if($options['body_color'] == 'darkpurple'){echo "selected";}?>>Dark Purple</option>
- <option value="light" <?php if($options['body_color'] == 'light'){echo "selected";}?>>Light</option>
- <option value="navy" <?php if($options['body_color'] == 'navy'){echo "selected";}?>>Navy</option>
- <option value="orange" <?php if($options['body_color'] == 'orange'){echo "selected";}?>>Orange</option>
- <option value="burntorange" <?php if($options['body_color'] == 'burntorange'){echo "selected";}?>>Burnt Orange</option>
- <option value="lavender" <?php if($options['body_color'] == 'lavender'){echo "selected";}?>>Lavender</option>
- <option value="purple" <?php if($options['body_color'] == 'purple'){echo "selected";}?>>Purple</option>
- <option value="red" <?php if($options['body_color'] == 'red'){echo "selected";}?>>Red</option>
- <option value="slategray" <?php if($options['body_color'] == 'slategray'){echo "selected";}?>>Slate Gray</option>
- <option value="teal" <?php if($options['body_color'] == 'teal'){echo "selected";}?>>Teal</option>
- </select>
- </td>
- <td width="50%" style="color:#666">This option will change the background color of your website.</td>
- </tr>
- <tr class="rm_input">
- <td width="50%">
- <strong style="margin-left:5px">Skin Color</strong></td>
- <td> </td>
- </tr>
- <tr class="rm_input" style="border-bottom: 1px solid rgb(223, 223, 223)">
- <td>
- <select name="skin_color" id="skin_color" style="width:100%;">
- <option value="blue" <?php if($options['skin_color'] =='blue'){echo "selected";}?>>Blue</option>
- <option value="green" <?php if($options['skin_color'] =='green'){echo "selected";}?>>Green</option>
- <option value="maroon" <?php if($options['skin_color'] == 'maroon'){echo "selected";}?>>Maroon</option>
- <option value="teal" <?php if($options['skin_color'] == 'teal'){echo "selected";}?>>Teal</option>
- <option value="gray" <?php if($options['skin_color'] == 'gray'){echo "selected";}?>>Gray</option>
- <option value="yellow" <?php if($options['skin_color'] == 'yellow'){echo "selected";}?>>Yellow</option>
- <option value="purple" <?php if($options['skin_color'] == 'purple'){echo "selected";}?>>Purple</option>
- <option value="orange" <?php if($options['skin_color'] == 'orange'){echo "selected";}?>>Orange</option>
- <option value="navy" <?php if($options['skin_color'] == 'navy'){echo "selected";}?>>Navy</option>
- <option value="darkpurple" <?php if($options['skin_color'] == 'darkpurple'){echo "selected";}?>>Dark Purple</option>
- <option value="black" <?php if($options['skin_color'] == 'black'){echo "selected";}?>>Black</option>
- <option value="brown" <?php if($options['skin_color'] == 'teal'){echo "selected";}?>>Brown</option>
- <option value="forest_green" <?php if($options['skin_color'] == 'forest_green'){echo "selected";}?>>Forest Green</option>
- <option value="olive_green" <?php if($options['skin_color'] == 'olive_green'){echo "selected";}?>>Olive Green</option>
- <option value="pink" <?php if($options['skin_color'] == 'pink'){echo "selected";}?>>Pink</option>
- <option value="sky_blue" <?php if($options['skin_color'] == 'sky_blue'){echo "selected";}?>>Sky Blue</option>
- <option value="slate_gray" <?php if($options['skin_color'] == 'slate_gray'){echo "selected";}?>>Slate Gray</option>
- </select>
- </td>
- <td width="50%" style="color:#666">This option will change the header color of your website.</td>
- </tr>
- <tr class="rm_input">
- <td width="50%">
- <strong style="margin-left:5px">Background Texture</strong></td>
- <td> </td>
- </tr>
- <tr class="rm_input" style="border-bottom: 1px solid rgb(223, 223, 223)">
- <td>
- <select name="background_texture" id="background_texture" style="width:100%">
- <option value="glow" <?php if($options['background_texture'] =='glow'){echo "selected";}?>>Glow</option>
- <option value="splatter" <?php if($options['background_texture'] =='splatter'){echo "selected";}?>>Splatter</option>
- <option value="bokeh" <?php if($options['background_texture'] =='bokeh') { echo "selected";}?>>Bokeh</option>
- <option value="vintage_wallpaper" <?php if($options['background_texture'] =='vintage_wallpaper'){echo "selected";}?>>Vintage Wallpaper</option>
- <option value="horizontal_lines" <?php if($options['background_texture'] =='horizontal_lines') { echo "selected";}?>>Horizontal Lines</option>
- </select>
- </td>
- <td width="50%" style="color:#666">This option will add a design texture to your websites background.</td>
- </tr>
- <tr class="rm_input">
- <td width="50%"><strong style="margin-left:5px">Logo</strong></td>
- <td></td>
- </tr>
- <tr class="rm_input">
- <td width="50%">
- <select name="title_type" id="title_type" style="width:100%">
- <option value="site_title" <?php if($options['title_type'] =='site_title'){echo "selected";}?>>Site Title</option>
- <option value="custom_image" <?php if($options['title_type'] =='custom_image') { echo "selected";}?>>Custom Image</option>
- </select>
- </td>
- <td width="50%" style="color:#666">Enter an URL or upload an image for the banner.</td>
- </tr>
- <tr>
- <td>
- <label for="upload_image">
- <input id="upload_image" style="float:left; width:80%" type="text" name="upload_image" value="<?php echo $options['upload_image']; ?>" />
- <input style="float:right" id="upload_image_button" type="button" value="Upload Image" />
- <br/>
- </label>
- <div id="image-holder"><img style="max-width:300px" name="upload_image" src="<?php if ($options['upload_image'] != "" ) { echo $options['upload_image']; } ?>" /></div>
- </td>
- <td></td>
- </tr>
- <!--<tr class="rm_input">
- <td width="25%">Menu Search Bar</td>
- <td width="75%">
- <select name="menu_search_bar" id="menu_search_bar" style="width:100px;">
- <option value="Yes" <?php if($options['menu_search_bar'] =='Yes'){echo "selected";}?>>Yes</option>
- <option value="No" <?php if($options['menu_search_bar'] =='No'){echo "selected";}?>>No</option>
- </select> </td>
- </tr>-->
- </table>
- </div>
- </div>
- <div id="poststuff" class="metabox-holder has-right-sidebar" >
- <div class="postbox" style="width: 100%">
- <h3>Typography</h3>
- <table width="100%" border="0" cellspacing="8" cellpadding="0" class="form-table">
- <tr class="rm_input">
- <td width="50%">
- <strong style="margin-left:5px">Site Title Font</strong></td>
- <td> </td>
- </tr>
- <tr class="rm_input">
- <td>
- <select name="site_title_font" id="site_title_font">
- <option value="jennasue" <?php if($options['site_title_font'] =='jennasue') {echo "selected";}?>>Jenna Sue</option>
- <option value="nobile" <?php if($options['site_title_font'] =='nobile') {echo "selected";}?>>Nobile</option>
- <option value="arial" <?php if($options['site_title_font'] =='arial'){echo "selected";}?>>Arial</option>
- <option value="calibri" <?php if($options['site_title_font'] =='calibri'){echo "selected";}?>>Calibri</option>
- <option value="verdana" <?php if($options['site_title_font'] =='verdana'){echo "selected";}?>>Verdana</option>
- </select>
- <select name="site_title_font_size" id="site_title_font_size" style="width:50px">
- <option value="20px" <?php if($options['site_title_font_size'] == '20px') {echo "selected";}?>>20px</option>
- <option value="25px" <?php if($options['site_title_font_size'] == '25px') {echo "selected";}?>>25px</option>
- <option value="30px" <?php if($options['site_title_font_size'] == '30px') {echo "selected";}?>>30px</option>
- <option value="35px" <?php if($options['site_title_font_size'] == '35px') {echo "selected";}?>>35px</option>
- <option value="40px" <?php if($options['site_title_font_size'] == '40px') {echo "selected";}?>>40px</option>
- <option value="45px" <?php if($options['site_title_font_size'] == '45px') {echo "selected";}?>>45px</option>
- <option value="50px" <?php if($options['site_title_font_size'] == '50px') {echo "selected";}?>>50px</option>
- <option value="55px" <?php if($options['site_title_font_size'] == '55px') {echo "selected";}?>>55px</option>
- <option value="60px" <?php if($options['site_title_font_size'] == '60px') {echo "selected";}?>>60px</option>
- <option value="65px" <?php if($options['site_title_font_size'] == '65px') {echo "selected";}?>>65px</option>
- <option value="70px" <?php if($options['site_title_font_size'] == '70px') {echo "selected";}?>>70px</option>
- <option value="75px" <?php if($options['site_title_font_size'] == '75px') {echo "selected";}?>>75px</option>
- <option value="80px" <?php if($options['site_title_font_size'] == '80px') {echo "selected";}?>>80px</option>
- <option value="85px" <?php if($options['site_title_font_size'] == '85px') {echo "selected";}?>>85px</option>
- <option value="90px" <?php if($options['site_title_font_size'] == '90px') {echo "selected";}?>>90px</option>
- </select>
- </td>
- <td style="color:#666">Changes the font type and size of the title at the top of your website.</td>
- </tr>
- <tr class="rm-input" style="border-bottom: 1px solid rgb(223, 223, 223)">
- <td>
- <div class="google-font-box">
- <span>Or enter the name of a font from the <a href="http://www.google.com/webfonts" target="_blank">Google Font Directory</a></span>
- <input style="width:95%" type="text" id="site_title_font_google" name="site_title_font_google" value="<?php echo $options['site_title_font_google']; ?>"
- </div>
- </td>
- </tr>
- <!--<tr class="rm_input">
- <td width="50%">
- <strong style="margin-left:5px">Site Tagline Font</strong></td>
- <td> </td>
- </tr>-->
- <!--<tr class="rm_input">
- <td>
- <select name="site_tagline_font" id="site_tagline_font">
- <option value="jennasue" <?php if($options['site_tagline_font'] =='jennasue') {echo "selected";}?>>Jenna Sue</option>
- <option value="nobile" <?php if($options['site_tagline_font'] =='nobile') {echo "selected";}?>>Nobile</option>
- <option value="arial" <?php if($options['site_tagline_font'] =='arial'){echo "selected";}?>>Arial</option>
- <option value="calibri" <?php if($options['site_tagline_font'] =='calibri'){echo "selected";}?>>Calibri</option>
- <option value="verdana" <?php if($options['site_tagline_font'] =='verdana'){echo "selected";}?>>Verdana</option>
- </select>
- <select name="site_tagline_font_size" id="site_tagline_font_size" style="width:50px">
- <option value="20px" <?php if($options['site_tagline_font_size'] == '20px') {echo "selected";}?>>20px</option>
- <option value="25px" <?php if($options['site_tagline_font_size'] == '25px') {echo "selected";}?>>25px</option>
- <option value="30px" <?php if($options['site_tagline_font_size'] == '30px') {echo "selected";}?>>30px</option>
- <option value="35px" <?php if($options['site_tagline_font_size'] == '35px') {echo "selected";}?>>35px</option>
- <option value="40px" <?php if($options['site_tagline_font_size'] == '40px') {echo "selected";}?>>40px</option>
- <option value="45px" <?php if($options['site_tagline_font_size'] == '45px') {echo "selected";}?>>45px</option>
- <option value="50px" <?php if($options['site_tagline_font_size'] == '50px') {echo "selected";}?>>50px</option>
- <option value="55px" <?php if($options['site_tagline_font_size'] == '55px') {echo "selected";}?>>55px</option>
- <option value="60px" <?php if($options['site_tagline_font_size'] == '60px') {echo "selected";}?>>60px</option>
- <option value="65px" <?php if($options['site_tagline_font_size'] == '65px') {echo "selected";}?>>65px</option>
- <option value="70px" <?php if($options['site_tagline_font_size'] == '70px') {echo "selected";}?>>70px</option>
- <option value="75px" <?php if($options['site_tagline_font_size'] == '75px') {echo "selected";}?>>75px</option>
- <option value="80px" <?php if($options['site_tagline_font_size'] == '80px') {echo "selected";}?>>80px</option>
- <option value="85px" <?php if($options['site_tagline_font_size'] == '85px') {echo "selected";}?>>85px</option>
- <option value="90px" <?php if($options['site_tagline_font_size'] == '90px') {echo "selected";}?>>90px</option>
- </select>
- </td>
- <td style="color:#666">Changes the font type and size of the tagline at the top of your website.</td>
- </tr>-->
- <!--<tr class="rm-input" style="border-bottom: 1px solid rgb(223, 223, 223)">
- <td>
- <div class="google-font-box">
- <span>Or enter the name of a font from the <a href="http://www.google.com/webfonts" target="_blank">Google Font Directory</a></span>
- <input style="width:95%" type="text" id="site_tagline_font_google" name="site_tagline_font_google" value="<?php echo $options['site_tagline_font_google']; ?>"
- </div>
- </td>
- </tr>-->
- <tr class="rm_input">
- <td width="50%">
- <strong style="margin-left:5px">Primary Body Font</strong></td>
- <td> </td>
- </tr>
- <tr class="rm_input">
- <td>
- <select name="primary_body_font" id="primary_body_font">
- <option value="jennasue" <?php if($options['primary_body_font'] =='jennasue') {echo "selected";}?>>Jenna Sue</option>
- <option value="nobile" <?php if($options['primary_body_font'] =='nobile') {echo "selected";}?>>Nobile</option>
- <option value="arial" <?php if($options['primary_body_font'] =='arial'){echo "selected";}?>>Arial</option>
- <option value="calibri" <?php if($options['primary_body_font'] =='calibri'){echo "selected";}?>>Calibri</option>
- <option value="verdana" <?php if($options['primary_body_font'] =='verdana'){echo "selected";}?>>Verdana</option>
- </select>
- <select name="primary_body_font_size" id"primary_body_font_size" style="width:50px">
- <option value="8px" <?php if($options['primary_body_font_size'] == '8px') {echo "selected";}?>>8px</option>
- <option value="9px" <?php if($options['primary_body_font_size'] == '9px') {echo "selected";}?>>9px</option>
- <option value="10px" <?php if($options['primary_body_font_size'] == '10px') {echo "selected";}?>>10px</option>
- <option value="11px" <?php if($options['primary_body_font_size'] == '11px') {echo "selected";}?>>11px</option>
- <option value="12px" <?php if($options['primary_body_font_size'] == '12px') {echo "selected";}?>>12px</option>
- <option value="13px" <?php if($options['primary_body_font_size'] == '13px') {echo "selected";}?>>13px</option>
- <option value="14px" <?php if($options['primary_body_font_size'] == '14px') {echo "selected";}?>>14px</option>
- <option value="15px" <?php if($options['primary_body_font_size'] == '15px') {echo "selected";}?>>15px</option>
- <option value="16px" <?php if($options['primary_body_font_size'] == '16px') {echo "selected";}?>>16px</option>
- </select>
- </td>
- <td style="color:#666">Changes the font name and size in the main content area.</td>
- </tr>
- <tr class="rm-input" style="border-bottom: 1px solid rgb(223, 223, 223)">
- <td>
- <div class="google-font-box">
- <span>Or enter the name of a font from the <a href="http://www.google.com/webfonts" target="_blank">Google Font Directory</a></span>
- <input style="width:95%" type="text" id="primary_body_font_google" name="primary_body_font_google" value="<?php echo $options['primary_body_font_google']; ?>"
- </div>
- </td>
- </tr>
- <tr class="rm_input">
- <td width="50%">
- <strong style="margin-left:5px">Heading Font</strong></td>
- <td> </td>
- </tr>
- <tr class="rm_input">
- <td>
- <select name="heading_font" id="heading_font">
- <option value="jennasue" <?php if($options['heading_font'] =='jennasue') {echo "selected";}?>>Jenna Sue</option>
- <option value="nobile" <?php if($options['heading_font'] =='nobile') {echo "selected";}?>>Nobile</option>
- <option value="arial" <?php if($options['heading_font'] =='arial'){echo "selected";}?>>Arial</option>
- <option value="calibri" <?php if($options['heading_font'] =='calibri'){echo "selected";}?>>Calibri</option>
- <option value="verdana" <?php if($options['heading_font'] =='verdana'){echo "selected";}?>>Verdana</option>
- </select>
- <select name="heading_font_size" id"heading_font_size" style="width:50px">
- <option value="8px" <?php if($options['heading_font_size'] == '8px') {echo "selected";}?>>8px</option>
- <option value="9px" <?php if($options['heading_font_size'] == '9px') {echo "selected";}?>>9px</option>
- <option value="10px" <?php if($options['heading_font_size'] == '10px') {echo "selected";}?>>10px</option>
- <option value="11px" <?php if($options['heading_font_size'] == '11px') {echo "selected";}?>>11px</option>
- <option value="12px" <?php if($options['heading_font_size'] == '12px') {echo "selected";}?>>12px</option>
- <option value="13px" <?php if($options['heading_font_size'] == '13px') {echo "selected";}?>>13px</option>
- <option value="14px" <?php if($options['heading_font_size'] == '14px') {echo "selected";}?>>14px</option>
- <option value="15px" <?php if($options['heading_font_size'] == '15px') {echo "selected";}?>>15px</option>
- <option value="16px" <?php if($options['heading_font_size'] == '16px') {echo "selected";}?>>16px</option>
- </select>
- </td>
- <td style="color:#666">Changes the heading font type and size.</td>
- </tr>
- <tr class="rm-input" style="border-bottom: 1px solid rgb(223, 223, 223)">
- <td>
- <div class="google-font-box">
- <span>Or enter the name of a font from the <a href="http://www.google.com/webfonts" target="_blank">Google Font Directory</a></span>
- <input style="width:95%" type="text" id="heading_font_google" name="heading_font_google" value="<?php echo $options['heading_font_google']; ?>"
- </div>
- </td>
- </tr>
- <tr class="rm_input">
- <td width="50%">
- <strong style="margin-left:5px">Main Navigation Font</strong></td>
- <td> </td>
- </tr>
- <tr class="rm_input">
- <td>
- <select name="main_navigation_font" id="main_navigation_font">
- <option value="jennasue" <?php if($options['main_navigation_font'] =='jennasue') {echo "selected";}?>>Jenna Sue</option>
- <option value="nobile" <?php if($options['main_navigation_font'] =='nobile') {echo "selected";}?>>Nobile</option>
- <option value="arial" <?php if($options['main_navigation_font'] =='arial'){echo "selected";}?>>Arial</option>
- <option value="calibri" <?php if($options['main_navigation_font'] =='calibri'){echo "selected";}?>>Calibri</option>
- <option value="verdana" <?php if($options['main_navigation_font'] =='verdana'){echo "selected";}?>>Verdana</option>
- </select>
- <select name="main_navigation_font_size" id="main_navigation_font_size" style="width:50px">
- <option value="8px" <?php if($options['main_navigation_font_size'] == '8px') {echo "selected";}?>>8px</option>
- <option value="9px" <?php if($options['main_navigation_font_size'] == '9px') {echo "selected";}?>>9px</option>
- <option value="10px" <?php if($options['main_navigation_font_size'] == '10px') {echo "selected";}?>>10px</option>
- <option value="11px" <?php if($options['main_navigation_font_size'] == '11px') {echo "selected";}?>>11px</option>
- <option value="12px" <?php if($options['main_navigation_font_size'] == '12px') {echo "selected";}?>>12px</option>
- <option value="13px" <?php if($options['main_navigation_font_size'] == '13px') {echo "selected";}?>>13px</option>
- <option value="14px" <?php if($options['main_navigation_font_size'] == '14px') {echo "selected";}?>>14px</option>
- <option value="15px" <?php if($options['main_navigation_font_size'] == '15px') {echo "selected";}?>>15px</option>
- <option value="16px" <?php if($options['main_navigation_font_size'] == '16px') {echo "selected";}?>>16px</option>
- </select>
- </td>
- <td style="color:#666">Changes the font type and size in the navigation menu area.</td>
- </tr>
- <tr class="rm-input" style="border-bottom: 1px solid rgb(223, 223, 223)">
- <td>
- <div class="google-font-box">
- <span>Or enter the name of a font from the <a href="http://www.google.com/webfonts" target="_blank">Google Font Directory</a></span>
- <input style="width:95%" type="text" id="main_navigation_font_google" name="main_navigation_font_google" value="<?php echo $options['main_navigation_font_google']; ?>"
- </div>
- </td>
- </tr>
- <tr class="rm_input">
- <td width="50%">
- <strong style="margin-left:5px">Footer Font</strong></td>
- <td> </td>
- </tr>
- <tr class="rm_input">
- <td>
- <select name="footer_font" id="footer_font">
- <option value="jennasue" <?php if($options['footer_font'] =='jennasue') {echo "selected";}?>>Jenna Sue</option>
- <option value="nobile" <?php if($options['footer_font'] =='nobile') {echo "selected";}?>>Nobile</option>
- <option value="arial" <?php if($options['footer_font'] =='arial'){echo "selected";}?>>Arial</option>
- <option value="calibri" <?php if($options['footer_font'] =='calibri'){echo "selected";}?>>Calibri</option>
- <option value="verdana" <?php if($options['footer_font'] =='verdana'){echo "selected";}?>>Verdana</option>
- </select>
- <select name="footer_font_size" id="footer_font_size" style="width:50px">
- <option value="8px" <?php if($options['footer_font_size'] == '8px') {echo "selected";}?>>8px</option>
- <option value="9px" <?php if($options['footer_font_size'] == '9px') {echo "selected";}?>>9px</option>
- <option value="10px" <?php if($options['footer_font_size'] == '10px') {echo "selected";}?>>10px</option>
- <option value="11px" <?php if($options['footer_font_size'] == '11px') {echo "selected";}?>>11px</option>
- <option value="12px" <?php if($options['footer_font_size'] == '12px') {echo "selected";}?>>12px</option>
- <option value="13px" <?php if($options['footer_font_size'] == '13px') {echo "selected";}?>>13px</option>
- <option value="14px" <?php if($options['footer_font_size'] == '14px') {echo "selected";}?>>14px</option>
- <option value="15px" <?php if($options['footer_font_size'] == '15px') {echo "selected";}?>>15px</option>
- <option value="16px" <?php if($options['footer_font_size'] == '16px') {echo "selected";}?>>16px</option>
- </select>
- </td>
- <td style="color:#666">Changes the font type and size in the footer area.</td>
- </tr>
- <tr class="rm-input" style="border-bottom: 1px solid rgb(223, 223, 223)">
- <td>
- <div class="google-font-box">
- <span>Or enter the name of a font from the <a href="http://www.google.com/webfonts" target="_blank">Google Font Directory</a></span>
- <input style="width:95%" type="text" id="footer_font_google" name="footer_font_google" value="<?php echo $options['footer_font_google']; ?>"
- </div>
- </td>
- </tr>
- </table>
- </div>
- </div>
- <div id="poststuff" class="metabox-holder has-right-sidebar" >
- <div class="postbox" style="width: 100%">
- <h3>Links</h3>
- <table width="100%" border="0" cellspacing="8" cellpadding="0" class="form-table">
- <tr class="rm_input">
- <td width="25%">Link Color</td>
- <td width="75%">
- <input type="text" value="<?php echo $options['link_color']; ?>" name="link_color"/>
- </td>
- </tr>
- <tr class="rm_input">
- <td width="25%">Link Hover Color</td>
- <td width="75%">
- <input type="text" value="<?php echo $options['link_hover_color']; ?>" name="link_hover_color"/>
- </td>
- </tr>
- </table>
- </div>
- </div>
- <div id="poststuff" class="metabox-holder has-right-sidebar" >
- <div class="postbox" style="width: 100%">
- <h3>Custom CSS</h3>
- <table width="100%" border="0" cellspacing="8" cellpadding="0" class="form-table">
- <tr class="rm_input">
- <td style="vertical-align:top; width:25%"><p>Enter custom CSS styles here to override your default style sheet:</p></td>
- <td width="75%">
- <textarea name="custom_css" id="custom_css" value="<?php echo $options['custom_css']; ?>" style="width:75%; height:300px"><?php echo $options['custom_css']; ?></textarea>
- </td>
- </tr>
- <tr>
- <td> </td>
- <td><input type="submit" class="button-primary" value="<?php _e('Update Options')?>" name="update_theme_options" /></td>
- </tr>
- </table>
- <input type="hidden" name="custom_submit" value="true"/>
- <input type="hidden" name="action" value="update" />
- </form>
- </div>
- </div>
- <?php } else
- if( $active_tab == 'layout_options' ) {
- $montage_layout_options = get_option('layout_settings'); ?>
- <form class="page-form" method="post" action="options.php">
- <?php wp_nonce_field('update-options');?>
- <!--Next tab content would be here-->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement