Advertisement
Guest User

Untitled

a guest
Jan 29th, 2015
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.33 KB | None | 0 0
  1. <!doctype html>
  2. <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
  3. <?php
  4. /* This code retrieves all our admin options. */
  5. global $options;
  6. foreach ($options as $value) {
  7. if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); }
  8. }
  9. ?>
  10. <head>
  11. <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
  12. <meta name="Description" content="<?php echo $TS_metadis; ?>" />
  13. <meta name="Keywords" content="<?php echo $TS_keywords; ?>" />
  14. <meta name="author" content="<?php echo $TS_metaauthor; ?>" />
  15. <meta name="robots" content="FOLLOW,INDEX" />
  16. <title><?php if (is_home()) {
  17. echo wp_title(' - TScheuneman.com', TRUE, 'right');
  18. } elseif (is_category()) {
  19. echo wp_title(' - TScheuneman.com', TRUE, 'right');
  20.  
  21. }
  22. elseif (is_front_page()) {
  23. echo bloginfo('name');
  24.  
  25. } elseif (is_tag()) {
  26. echo __('Tag &raquo; ', 'blank');
  27.  
  28. } elseif (is_search()) {
  29. echo __('Search results for: ', 'blank');
  30. echo the_search_query();
  31. } elseif (is_404()) {
  32. echo 'Page not found';
  33. } else {
  34. echo wp_title(' - TScheuneman.com', TRUE, 'right');
  35. } ?></title>
  36. <link rel="stylesheet" href="<?php bloginfo ('url'); ?>/wp-content/themes/TScheuneman.com/reset.css" type="text/css" />
  37. <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
  38. <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/jquery.js"> </script>
  39. <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/custom.js"> </script>
  40. <noscript>
  41. <link rel="stylesheet" href="<?php bloginfo ('url'); ?>/wp-content/themes/TScheuneman.com/nojs.css" type="text/css" />
  42. </noscript>
  43. </head>
  44. <body>
  45. <div id="bodyLight">
  46. <header>
  47. <div id="navContainer">
  48. <a id="logo" href="<?php bloginfo ('url'); ?>">TScheuneman.Com</a>
  49. <ul id="nav">
  50. <li class="link"><a <?php if(is_front_page()){echo 'class="current"';} ?> href="<?php bloginfo('url'); ?>" title="Home">Home</a></li>
  51.  
  52. <?php
  53. /*
  54. $hihi = array('parent' => 0);
  55. $categories = get_categories($hihi);
  56. foreach ($categories as $cat) {
  57. $category = $wp_query->get_queried_object();
  58. $currentCat = $category->name;
  59. 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>";
  60. }
  61. */
  62.  
  63. $args = array(
  64. 'show_option_all' => '',
  65. 'orderby' => 'name',
  66. 'order' => 'ASC',
  67. 'style' => 'list',
  68. 'show_count' => 0,
  69. 'hide_empty' => 1,
  70. 'use_desc_for_title' => 1,
  71. 'child_of' => 0,
  72. 'hierarchical' => true,
  73. 'title_li' => null,
  74. 'show_option_none' => __('No categories'),
  75. 'number' => null,
  76. 'echo' => 1,
  77. 'depth' => 2,
  78. 'current_category' => 0,
  79. 'pad_counts' => 0,
  80. 'taxonomy' => 'category',
  81. 'walker' => null
  82. );
  83. wp_list_categories( $args );
  84.  
  85. ?>
  86. <li> <a class="contact" title="contact" href="<?php bloginfo('template_directory'); ?>/contact-me">Contact</a>
  87. </ul>
  88. </div>
  89. </header>
  90. <div id="container">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement