added top level menu item with styling
This commit is contained in:
@ -2,11 +2,11 @@
|
||||
/**
|
||||
* Based on TwentyTen functions and definitions
|
||||
**/
|
||||
|
||||
|
||||
// enqueue styles
|
||||
|
||||
|
||||
// enqueue styles
|
||||
wp_enqueue_style( 'style', get_stylesheet_uri() );
|
||||
|
||||
|
||||
//include 'plugins/drop-caps/wp_drop_caps.php';
|
||||
if (!function_exists('arl_kottke_archives')) {
|
||||
include 'plugins/arl_kottke_archives.php';
|
||||
@ -59,6 +59,7 @@ function twentyten_setup() {
|
||||
|
||||
// This theme uses wp_nav_menu() in one locations.
|
||||
register_nav_menus( array(
|
||||
'header-menu' => __( 'Header Menu', 'twentyten'),
|
||||
'primary' => __( 'Footer Navigation Menu', 'twentyten' )
|
||||
) );
|
||||
}
|
||||
@ -268,9 +269,9 @@ add_shortcode('dropcap', 'theme_shortcode_dropcaps');
|
||||
|
||||
//build out our Portfolio Theme options
|
||||
|
||||
add_option("melville_theme_footer", 'show');
|
||||
add_option("melville_theme_footer", 'show');
|
||||
|
||||
$melville_footer = get_option('melville_theme_footer');
|
||||
$melville_footer = get_option('melville_theme_footer');
|
||||
define('melville_footer',$melville_footer);
|
||||
|
||||
|
||||
@ -300,11 +301,11 @@ function melville_theme_options_page() { ?>
|
||||
<option value="hide" <?php if(melville_footer == hide) echo " selected='selected'";?>>False</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<input type="hidden" name="page_options" value="melville_theme_footer" />
|
||||
<input type="hidden" name="action" value="update" />
|
||||
<input type="hidden" name="action" value="update" />
|
||||
<p class="submit">
|
||||
<input type="submit" class="button-primary" value="<?php _e('Save Changes') ?>" />
|
||||
</p>
|
||||
@ -312,4 +313,4 @@ function melville_theme_options_page() { ?>
|
||||
|
||||
<p>Melville theme for WordPress, made by <a href="http://madebyraygun.com">Raygun</a>.
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
|
Reference in New Issue
Block a user