Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!doctype html>
- <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
- <?php
- /* This code retrieves all our admin options. */
- global $options;
- foreach ($options as $value) {
- if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); }
- }
- ?>
- <head>
- <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
- <meta name="Description" content="<?php echo $TS_metadis; ?>" />
- <meta name="Keywords" content="<?php echo $TS_keywords; ?>" />
- <meta name="author" content="<?php echo $TS_metaauthor; ?>" />
- <meta name="robots" content="FOLLOW,INDEX" />
- <title><?php if (is_home()) {
- echo wp_title(' - TScheuneman.com', TRUE, 'right');
- } elseif (is_category()) {
- echo wp_title(' - TScheuneman.com', TRUE, 'right');
- }
- elseif (is_front_page()) {
- echo bloginfo('name');
- } elseif (is_tag()) {
- echo __('Tag » ', 'blank');
- } elseif (is_search()) {
- echo __('Search results for: ', 'blank');
- echo the_search_query();
- } elseif (is_404()) {
- echo 'Page not found';
- } else {
- echo wp_title(' - TScheuneman.com', TRUE, 'right');
- } ?></title>
- <link rel="stylesheet" href="<?php bloginfo ('url'); ?>/wp-content/themes/TScheuneman.com/reset.css" type="text/css" />
- <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
- <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/jquery.js"> </script>
- <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/custom.js"> </script>
- <noscript>
- <link rel="stylesheet" href="<?php bloginfo ('url'); ?>/wp-content/themes/TScheuneman.com/nojs.css" type="text/css" />
- </noscript>
- </head>
- <body>
- <div id="bodyLight">
- <header>
- <div id="navContainer">
- <a id="logo" href="<?php bloginfo ('url'); ?>">TScheuneman.Com</a>
- <ul id="nav">
- <li class="link"><a <?php if(is_front_page()){echo 'class="current"';} ?> href="<?php bloginfo('url'); ?>" title="Home">Home</a></li>
- <?php
- /*
- $hihi = array('parent' => 0);
- $categories = get_categories($hihi);
- foreach ($categories as $cat) {
- $category = $wp_query->get_queried_object();
- $currentCat = $category->name;
- echo "<li> <a "; if($currentCat == $cat->cat_name){echo 'class="current"';} echo " href=\"" . get_category_link( $cat->term_id ) . "\" title=\"" . $cat->cat_name . "\">" . $cat->cat_name ."</a></li>";
- }
- */
- $args = array(
- 'show_option_all' => '',
- 'orderby' => 'name',
- 'order' => 'ASC',
- 'style' => 'list',
- 'show_count' => 0,
- 'hide_empty' => 1,
- 'use_desc_for_title' => 1,
- 'child_of' => 0,
- 'hierarchical' => true,
- 'title_li' => null,
- 'show_option_none' => __('No categories'),
- 'number' => null,
- 'echo' => 1,
- 'depth' => 2,
- 'current_category' => 0,
- 'pad_counts' => 0,
- 'taxonomy' => 'category',
- 'walker' => null
- );
- wp_list_categories( $args );
- ?>
- <li> <a class="contact" title="contact" href="<?php bloginfo('template_directory'); ?>/contact-me">Contact</a>
- </ul>
- </div>
- </header>
- <div id="container">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement