Commit 13ebad2d authored by root's avatar root Committed by lechuck
Browse files

Add theme web2zen

parent 5af911b2
<?php ob_start(); ?>
<?php header("HTTP/1.1 404 Not Found"); ?>
<?php header("Status: 404 Not Found"); ?>
<?php get_header(); ?>
<div id="content" class="<?php echo content_class();?>">
<div <?php post_class('page'); ?>>
<h2 class="post-title"><?php _e('Page Not Found','web2zen');?></h2>
<p><?php _e('Uh oh! I cannot seem to find the file you asked for','web2zen');?>.</p>
<p><?php _e('Perhaps you','web2zen');?>:</p>
<ul>
<li><?php _e('tried to access a post or archive which has been removed','web2zen');?></li>
<li><?php _e('followed a bad link','web2zen');?></li>
<li><?php _e('mis-typed something','web2zen');?></li>
</ul>
<p><?php _e('Try using the main navigation menu to find what you are looking for','web2zen');?>.</p>
<p><?php _e('Or you may just wish to return to the','web2zen');?> <a href="<?php bloginfo('url'); ?>/"><?php _e('Home page','web2zen');?></a>.</p>
</div>
<?php get_footer(); ?>
\ No newline at end of file
/*Web2Zen
Author: Mel Pedley (Black Widow Web Design)
http://www.blackwidows.co.uk
*/
.wrap form {
width:90%;
margin:10px auto;
text-align:center;
}
#headimg {
height:150px;
padding:0;
margin:0;
background-color:#4c4c4c;
background-image:url(images/banner.jpg);
background-repeat:no-repeat;
background-position:right top;
}
#headimg h1 {
margin:0;
padding:0 15px;
font-size:2.5em;
letter-spacing:.02em;
line-height:1.2em;
font-weight:normal;
color:#fff;
}
#headimg #desc {
display:block;
margin:7px 0 0;
padding:0 15px;
font-size:1.6em;
font-weight:normal;
font-style:normal;
color:#fff;
}
#headimg a {
text-decoration:none;
}
#headimg a:hover {
text-decoration:underline;
}
<?php get_header(); ?>
<div id="content" class="<?php echo content_class();?>">
<?php if (function_exists('theme_breadcrumb') && $theme_options['breadcrumb'] != 1 && function_exists('theme_get_archive_date')) echo theme_breadcrumb(theme_get_archive_date());?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div <?php if(is_sticky()) post_class('sticky');else post_class();?>id="post-<?php the_ID();?>">
<h2 class="post-title"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e('Post', 'web2zen');?> <?php the_ID(); ?> -<?php _e(' permanent link', 'web2zen');?>"><?php the_title(); ?></a></h2>
<ul class="meta">
<li><?php the_time('F j, Y'); ?> <?php if($theme_options['post_time'] != 1) :?><?php the_time(); ?><?php endif;?></li>
<li><?php edit_post_link(__('Edit','web2zen') , '', ''); ?></li>
</ul>
<div class="postcontent">
<?php the_content(__('Continue reading ','web2zen') . the_title('', '', false)); ?>
</div>
<?php
if(function_exists('theme_link_pages')) theme_link_pages(array('blink'=>'<li>','alink'=>'</li>','before' => '<div class="pagelist">'.__('Pages','web2zen').':<ul>', 'after' => '</ul></div>', 'next_or_number' => 'number'));
else wp_link_pages('before=<div class="pagelist">'.__('Pages','web2zen') .':&after=</div>&link_before=&link_after=&pagelink=%');
?>
<ul class="meta postfoot">
<?php if('open' == $post->comment_status) : ?><li class="comment_link"><?php comments_popup_link(__('Comment on ','web2zen') .$post->post_title, __('1 Comment on ','web2zen') .$post->post_title, __('% Comments on ','web2zen') .$post->post_title,'postcomment',__('Comments are off for ','web2zen') .$post->post_title); ?></li><?php endif;?>
<?php if($theme_options['author_link'] != 1) :?><li><?php _e('Author','web2zen');?>: <?php the_author_posts_link(); ?></li><?php endif;?>
<li><?php _e('Filed under','web2zen');?>: <ul><li><?php the_category(',</li> <li>') ?></li></ul></li>
<?php if(get_the_tag_list()) :?>
<li><?php _e('Tags','web2zen');?>: <?php the_tags('<ul><li>',',</li> <li>','</li></ul>');?></li>
<?php endif;?>
</ul>
</div>
<?php endwhile; ?>
<ul class="prevnext">
<li class="next"><?php next_posts_link(__('Older Posts','web2zen') ); ?></li>
<li class="prev"><?php previous_posts_link(__('Newer Posts','web2zen') );?></li>
</ul>
<?php endif; ?>
<?php get_footer(); ?>
\ No newline at end of file
<?php
/*
Template Name: Archives
*/
?>
<?php get_header(); ?>
<div id="content" class="<?php echo content_class();?>">
<?php if (function_exists('theme_breadcrumb') && $theme_options['breadcrumb'] != 1) echo theme_breadcrumb($post->ID);?>
<div <?php post_class(); ?>>
<h2 class="post-title"><?php _e('Archives by Month','web2zen');?></h2>
<ul class="archives">
<?php wp_get_archives('type=monthly'); ?>
</ul>
<h2 class="post-title"><?php _e('Archives by Subject','web2zen');?></h2>
<ul class="archives">
<?php wp_list_categories('title_li='); ?>
</ul>
</div>
<?php get_footer(); ?>
\ No newline at end of file
<?php get_header(); ?>
<div id="content" class="<?php echo content_class();?>">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div <?php post_class();?> id="post-<?php the_ID();?>">
<h2 class="post-title"><a href="<?php echo get_permalink() ?>" rel="bookmark" title="<?php _e('Permanent Link','web2zen');?>: <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
<p><?php echo theme_attachment_download_link(__('This file requires ','web2zen'), $post->post_mime_type, __('or','web2zen') );?></p>
<div class="attachment">
<?php echo theme_attachment_link($post->ID); ?>
</div>
<div class="attachment_description">
<?php the_content();?>
</div>
<p><?php _e('Posted under','web2zen');?> <a href="<?php echo get_permalink($post->post_parent); ?>" rev="attachment"><?php echo get_the_title($post->post_parent); ?></a></p>
<?php endwhile; ?><?php endif; ?>
<!-- end post -->
</div>
<?php get_footer(); ?>
\ No newline at end of file
<?php get_header(); ?>
<div id="content" class="<?php echo content_class();?>">
<?php if(isset($_GET['author_name'])) $curauth = get_userdatabylogin($author_name);
else $curauth = get_userdata(intval($author));?>
<?php if (function_exists('theme_breadcrumb') && $theme_options['breadcrumb'] != 1) echo theme_breadcrumb($curauth->display_name);?>
<div <?php post_class(); ?>>
<h2 class="post-title"><?php echo $curauth->display_name; ?>&rsquo;<?php if( substr($curauth->display_name, -1,1) != 's') echo 's';?> <?php _e('Profile','web2zen');?></h2>
<div class="postcontent">
<?php if( $curauth->user_description !='' && $curauth->user_url !='') :?>
<dl class="author-details">
<?php if( $curauth->user_description !='' ) :?>
<dt class="bio"><?php _e('Bio','web2zen');?>:</dt>
<dd class="bio"><?php echo $curauth->user_description; ?></dd>
<?php endif;?>
<?php if( $curauth->user_url !='' ) :?>
<dt class="website"><?php _e('Website','web2zen');?>:</dt>
<dd class="website"><a href="<?php echo $curauth->user_url;?>"><?php echo $curauth->user_url;?></a></dd>
<?php endif;?>
<?php if(function_exists('get_the_author_meta')) :?>
<?php if( get_the_author_meta('jabber', $curauth->ID) != '') :?>
<dt class="jabber"><?php _e('Jabber / Google Talk','web2zen');?>:</dt>
<dd class="jabber"><?php the_author_meta('jabber', $curauth->ID);?></dd>
<?php endif;?>
<?php if( get_the_author_meta('aim', $curauth->ID) != '') :?>
<dt class="aim"><abbr title="<?php _e('AOL Instant Messenger','web2zen');?>"><?php _e('AIM','web2zen');?></abbr>:</dt>
<dd class="aim"><?php the_author_meta('aim', $curauth->ID);?></dd>
<?php endif;?>
<?php if( get_the_author_meta('yim', $curauth->ID) != '') :?>
<dt class="yim"><?php _e('Yahoo','web2zen');?> <abbr title="<?php _e('Instant Messenger','web2zen');?>"><?php _e('IM','web2zen');?></abbr>:</dt>
<dd class="yim"><?php the_author_meta('yim', $curauth->ID);?></dd>
<?php endif;?>
<?php endif;?>
</dl>
<?php endif;?>
</div>
</div>
<h3 class="post-title"><?php _e('Posts by','web2zen');?> <?php echo $curauth->display_name; ?></h3>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<h4 id="post-<?php the_ID();?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Post <?php the_ID(); ?> - <?php _e('permanent link', 'web2zen');?>"><?php the_title(); ?></a></h4>
<ul class="meta postfoot">
<li><?php _e('Date','web2zen');?>: <?php the_time("F j, Y"); ?></li>
<li><?php _e('Filed under','web2zen');?>: <ul><li><?php the_category(',</li> <li>') ?></li></ul></li>
<?php if(get_the_tag_list()) :?>
<li><?php _e('Tags','web2zen');?>: <?php the_tags('<ul><li>',',</li> <li>','</li></ul>');?></li>
<?php endif;?>
</ul>
<?php endwhile; ?>
<ul class="prevnext">
<li class="next"><?php next_posts_link(__('Older Posts','web2zen') ); ?></li>
<li class="prev"><?php previous_posts_link(__('Newer Posts','web2zen') );?></li>
</ul>
<?php endif; ?>
<?php get_footer(); ?>
\ No newline at end of file
<?php
/*
Template Name: List Authors
*/
?>
<?php get_header(); ?>
<div id="content" class="<?php echo content_class();?>">
<?php if (function_exists('theme_breadcrumb') && $theme_options['breadcrumb'] != 1) echo theme_breadcrumb($post->ID);?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div <?php post_class(); ?>>
<h2 class="post-title" id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e('Permanent Link', 'web2zen');?>: <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<ul class="meta">
<li><?php edit_post_link(__('Edit','web2zen') ,'<span class="edit">','</span>'); ?></li>
</ul>
<div class="postcontent">
<?php the_content(); ?>
<ul class="authors">
<?php wp_list_authors('exclude_admin=0&optioncount=1'); ?>
</ul>
</div>
<?php
if(function_exists('theme_link_pages')) theme_link_pages(array('blink'=>'<li>','alink'=>'</li>','before' => '<div class="pagelist">'.__('Pages','web2zen').':<ul>', 'after' => '</ul></div>', 'next_or_number' => 'number'));
else wp_link_pages('before=<div class="pagelist">'.__('Pages','web2zen') .':&after=</div>&link_before=&link_after=&pagelink=%');
?>
</div>
<?php endwhile; ?>
<?php endif; ?>
<?php get_footer(); ?>
\ No newline at end of file
<?php get_header(); ?>
<div id="content" class="<?php echo content_class();?>">
<?php if (function_exists('theme_breadcrumb') && $theme_options['breadcrumb'] != 1) echo theme_breadcrumb(get_category_parents($cat, TRUE, '|'));?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div <?php if(is_sticky()) post_class('sticky');else post_class();?>id="post-<?php the_ID();?>">
<h2 class="post-title"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e('Permanent Link', 'web2zen');?>: <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<ul class="meta">
<li><?php the_time('F j, Y'); ?> <?php if($theme_options['post_time'] != 1) :?><?php the_time(); ?><?php endif;?></li>
<li><?php edit_post_link(__('Edit','web2zen') , '', ''); ?></li>
</ul>
<div class="postcontent">
<?php the_content(the_title('', '', false).' - '.__('continue reading','web2zen') .'&hellip;'); ?>
</div>
<?php
if(function_exists('theme_link_pages')) theme_link_pages(array('blink'=>'<li>','alink'=>'</li>','before' => '<div class="pagelist">'.__('Pages','web2zen').':<ul>', 'after' => '</ul></div>', 'next_or_number' => 'number'));
else wp_link_pages('before=<div class="pagelist">'.__('Pages','web2zen') .':&after=</div>&link_before=&link_after=&pagelink=%');
?>
<ul class="meta postfoot">
<?php if('open' == $post->comment_status) : ?><li class="comment_link"><?php comments_popup_link(__('Comment on ','web2zen') .$post->post_title, __('1 Comment on ','web2zen') .$post->post_title, __('% Comments on ','web2zen') .$post->post_title,'postcomment',__('Comments are off for ','web2zen') .$post->post_title); ?></li><?php endif;?>
<?php if($theme_options['author_link'] != 1) :?><li><?php _e('Author','web2zen');?>: <?php the_author_posts_link(); ?></li><?php endif;?>
<?php if(get_the_tag_list()) :?>
<li><?php _e('Tags','web2zen');?>: <?php the_tags('<ul><li>',',</li> <li>','</li></ul>');?></li>
<?php endif;?>
</ul>
</div>
<?php endwhile; ?>
<ul class="prevnext">
<li class="next"><?php next_posts_link(__('Older Posts','web2zen') ); ?></li>
<li class="prev"><?php previous_posts_link(__('Newer Posts','web2zen') );?></li>
</ul>
<?php endif; ?>
<?php get_footer(); ?>
/*Web2Zen
Author: Mel Pedley (Black Widow Web Design)
http://www.blackwidows.co.uk
*/
body {
background:#D8DCE5;
color:#404040;
}
h1,h2,h3,h4,h5,h6 {
}
blockquote {
background:url(images/quotes.png) no-repeat top left;
color:#507086;
}
acronym, abbr {
border-bottom:1px dashed #ddd;
}
pre {
background:#F3F3FB;
color:#606060;
border:1px solid #D5CDD5;
}
fieldset {
background:#DEE2E9;
}
fieldset fieldset {
background:#F3F3FB;
}
legend {
background:#B1B4BE;
color:#000;
}
input, textarea {
background:#F0F3F5;
color:#404040;
border:1px solid #ddd;
}
input:focus,input.focus,textarea:focus,textarea.focus {
background:#fff;
color:#606060;
border-color:#407096;
}
input.submit,input.button,input[type=submit] {
background:#505050;
color:#fff;
}
ins {
text-decoration:none;
}
table,th,td {
border:1px solid #C6CCD4;
}
th {
background:#DEE2E9;
}
tr {
background:#fff;
color:#606060;
}
tr.alt {
background:#F3F3FB;
}
a {
color:#407096;
}
a:visited {
color:#666;
}
a:hover {
color:#407096;
}
a:active,a:focus {
background-color:#507086;
color:#fff;
}
a img {
border:1px solid #fff;
}
a:hover img,a:active img,a:focus img {
border-color:#407096;
}
/* LAYOUT */
#wrapper {
background:#fff;
color:#606060;
border-left:1px solid #ddd;
border-right:1px solid #ddd;
border-bottom:1px solid #ddd;
}
.jumplinks a:active,.jumplinks a:focus {
background:#fff;
color:#507086;
border:3px double #507086;
}
/* HEADER */
#header {
background:#4c4c4c url(images/header.jpg) no-repeat top right;
}
#blogtitle,#blogtitle h1,#blogtitle h1 a {
color:#fff;
}
#blogtitle h1 a:focus,#blogtitle h1 a:active {
background-color:#507086;
color:#eee;
}
/* TABS */
.tabs {
background:url(images/tab-bar.jpg) repeat-x left center;
border-bottom:1px solid #ddd;
}
.tabs a {
color:#606060;
}
.tabs .current_page_item a,.tabs .current-cat a {
background:#507086;
color:#fff;
}
.tabs ul ul .current_page_item a,.tabs ul ul .current-cat a {
background:#CFD3DF;
color:#505050;
}
.tabs ul ul a,.tabs li:hover a,
.tabs ul ul .current_page_item ul a,.tabs ul ul .current-cat ul a {
background:#4c4c4c;
color:#fff;
}
.tabs a:hover,.tabs a:active,.tabs a:focus,
.tabs .current_page_item ul a:hover,.tabs .current-cat ul a:hover,
.tabs ul ul .current_page_item a:hover,.tabs ul ul .current-cat a:hover {
background:#4c4c4c;
color:#fff;
}
/* CONTENT */
#content {
background:#fff;
color:#606060;
}
.post,.featured,.comment-links {
border:1px solid #4c4c4c;
}
.search-results {
border:none;
}
.postfoot {
border-top:3px double #aaa;
}
.author .postfoot,.search-results .postfoot {
background:#fff;
border-top:none;
border-bottom:3px double #aaa;
}
.post-title,.total-comments {
background-color:#4c4c4c;
}
.post-title,.post-title a,.total-comments {
color:#fff;
}
.featured .post-title a {
background-image:url(images/continue.gif);
background-repeat:no-repeat;
background-position:right center;
}
.featured .post-title a:active,.featured .post-title a:focus {
background-color:#507086;
}
.featured,.postfoot,.comment-links,.author .post {
background:#F3F3FB;
}
.subpages {
border:1px solid #D8DCE5;
background:#ECEFF3;
}
.subpages h3 {
background:#D8DCE5;
color:#4c4c4c;
border-bottom:1px solid #BBBEC9;
}
#content ul li {
list-style-image:url(images/bullet.jpg);
}
#content ul li ul li {
list-style-image:url(images/bullet2.jpg);
}
#content ul li ul li ul li {
list-style-image:none;
}
#content .prevnext li,#content .meta li {
list-style-image:none;
list-style:none;
}
#content .authors li {
list-style-image:url(images/authors.gif);
}
.wp-caption,.gallery-item {
background:#F3F3FB;
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
border:1px solid #DEE2E9;
}
/* no bullets */
#content #commentlist li,#content .comment-links li,
#content .breadcrumb li,#content .subpages li,
#content .page-numbers li {
list-style-image:none;
list-style:none;
}
/* pagination */
.prevnext .next a {
background-image:url(images/left.gif);
background-repeat:no-repeat;
background-position:center left;
}
.prevnext .next a:active,.prevnext .next a:focus {
background-image:url(images/left-active.gif);
}
.prevnext .prev a {
background-image:url(images/right.gif);
background-repeat:no-repeat;
background-position:center right;
}
.prevnext .prev a:active,.prevnext .prev a:focus {
background-image:url(images/right-active.gif);
}
.navigation {
color:#737373;
}
.page-numbers a {
background:#F3F3FB;
border:1px solid #ddd;
}
.page-numbers a:hover,.page-numbers a:active,.page-numbers a:focus {
background-color:#507086;
color:#fff;
border-color:#507086;
}
/* SIDEBAR */
.sidebar a {
color:#606060;
}
.sidebar a:hover {
color:#407096;
}
.sidebar a:active,.sidebar a:focus {
background-color:#507086;
color:#fff
}
.sidebar a img {