Skip to content
Snippets Groups Projects
Commit ec8bb0be authored by root's avatar root Committed by lechuck
Browse files

Add theme neoclassical

parent 22350a29
No related branches found
No related tags found
No related merge requests found
Showing
with 358 additions and 0 deletions
<?php get_header(); ?>
<div id="content_box">
<div id="left_box">
<div id="content" class="page">
<div id="content_inner">
<h1>404! Danger, Will Robinson!</h1>
<div class="format_text">
<p>Somehow, you ended up in the wrong place, but don't worry! Instead, try one of the following:</p>
<ul>
<li>Hit the "back" button on your browser.</li>
<li>Head on over to the <a href="<?php bloginfo('url'); ?>">home page</a>.</li>
<li>Use the navigation menu at left.</li>
<li>Click on a link in either sidebar.</li>
<li>Try searching using the form in the sidebar.</li>
<li>Punt.</li>
</ul>
</div>
</div>
</div>
<?php include (TEMPLATEPATH . '/left_bar.php'); ?>
</div>
<?php get_sidebar(); ?>
</div>
<?php get_footer(); ?>
\ No newline at end of file
<?php $post_count = 1; ?>
<?php get_header(); ?>
<div id="content_box">
<div id="left_box">
<div id="content" class="archives">
<?php if (have_posts()) : ?>
<?php if (is_category()) { ?>
<h1>Category &#8212; <span><?php echo single_cat_title(); ?></span></h1>
<?php } elseif (is_month()) { ?>
<h1>Posts from &#8212; <span><?php the_time('F Y'); ?></span></h1>
<?php } ?>
<div id="content_inner">
<?php while (have_posts()) : the_post(); ?>
<h2<?php if ($post_count == 1) echo(' class="top"'); ?>><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<p class="post_author"><em>by</em> <?php the_author(); ?></p>
<div class="format_text">
<?php the_content('[Read more &rarr;]'); ?>
</div>
<p class="to_comments"><span class="date"><?php the_time('F j, Y') ?></span> &nbsp; <span class="num_comments"><?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?></span></p>
<?php $post_count++; endwhile; ?>
</div>
<?php include (TEMPLATEPATH . '/navigation.php'); ?>
<?php endif; ?>
</div>
<?php include (TEMPLATEPATH . '/left_bar.php'); ?>
</div>
<?php get_sidebar(); ?>
</div>
<?php get_footer(); ?>
\ No newline at end of file
<?php
/*
Template Name: Archives
*/
?>
<?php get_header(); ?>
<div id="content_box">
<div id="left_box">
<div id="content" class="archives">
<h1>Browse the Archives</h1>
<div id="content_inner">
<div class="format_text">
<h3 class="top">By Month:</h3>
<ul>
<?php wp_get_archives('type=monthly'); ?>
</ul>
<h3>By Category:</h3>
<ul>
<?php wp_list_categories('title_li=0'); ?>
</ul>
</div>
</div>
</div>
<?php include (TEMPLATEPATH . '/left_bar.php'); ?>
</div>
<?php get_sidebar(); ?>
</div>
<?php get_footer(); ?>
\ No newline at end of file
<?php // Do not delete these lines
if ('comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
die ('Please do not load this page directly. Thanks!');
if (!empty($post->post_password)) { // if there's a password
if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) { // and it doesn't match the cookie
?>
<p class="center"><?php _e("This post is password protected. Enter the password to view comments."); ?><p>
<?php return; } }
/* Function for seperating comments from track- and pingbacks. */
function k2_comment_type_detection($commenttxt = 'Comment', $trackbacktxt = 'Trackback', $pingbacktxt = 'Pingback') {
global $comment;
if (preg_match('|trackback|', $comment->comment_type))
return $trackbacktxt;
elseif (preg_match('|pingback|', $comment->comment_type))
return $pingbacktxt;
else
return $commenttxt;
}
$templatedir = get_bloginfo('template_directory');
$comment_number = 1;
$alt_comment = '';
?>
<!-- You can start editing here. -->
<?php if (($comments) or ('open' == $post-> comment_status)) { ?>
<div id="comments">
<p class="comments_intro"><span><?php comments_number('0 comments', '1 comment', '% comments' );?></span></p>
<dl id="comment_list">
<?php if ($comments) { ?>
<?php foreach ($comments as $comment) { ?>
<dt class="comment<?php if (k2_comment_type_detection() != "Comment") { echo(' trackback'); } if ($alt_comment == 'alt') { echo (' alt'); } if ($comment->comment_author_email == get_the_author_email()) { echo (' author'); } ?>" id="comment-<?php comment_ID() ?>">
<span class="comment_num"><a href="#comment-<?php comment_ID() ?>" title="Permalink to this comment" rel="nofollow"><?php echo($comment_number); ?></a></span>
<strong><?php comment_author_link() ?> </strong><span class="comment_time">{ <?php comment_date('m.d.y') ?> at <?php comment_time() ?> }</span>
</dt>
<dd class="comment<?php if (k2_comment_type_detection() != "Comment") { echo(' trackback'); } if ($alt_comment == 'alt') { echo (' alt'); } if ($comment->comment_author_email == get_the_author_email()) { echo (' author'); } ?>" id="comment-<?php comment_ID() ?>">
<div class="format_text">
<?php comment_text() ?>
<?php if ($comment->comment_approved == '0') : ?>
<p><strong>Your comment is awaiting moderation.</strong></p>
<?php endif; ?>
</div>
</dd>
<?php if ($alt_comment == 'alt') { $alt_comment = ''; } else $alt_comment = 'alt'; ?>
<?php $comment_number++; } /* end for each comment */ ?>
</dl>
<?php } else { // this is displayed if there are no comments so far ?>
<?php if ('open' == $post-> comment_status) { ?>
<!-- If comments are open, but there are no comments. -->
<dt class="comment"><strong>There are no comments yet...</strong></dt>
<dd class="comment">
<div class="format_text">
<p>Kick things off by filling out the form below.</p>
</div>
</dd>
<?php } else { // comments are closed ?>
<!-- If comments are closed. -->
<?php if (is_single) { // To hide comments entirely on Pages without comments ?>
<dt class="comment"><strong>Sorry, we're <em>closed</em></strong></dt>
<dd class="comment">
<div class="format_text">
<p>Like gas stations in rural Texas after 10 pm, comments are closed.</p>
</div>
</dd>
<?php } ?>
<?php } ?>
</dl>
<?php } ?>
<!-- Comment Form -->
<?php if ('open' == $post-> comment_status) : ?>
<?php if ( get_option('comment_registration') && !$user_ID ) : ?>
<p class="unstyled">You must <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php the_permalink(); ?>" rel="nofollow">log in</a> to post a comment.</p>
<?php else : ?>
<p id="respond"><span>Leave a Comment</span></p>
<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="comment_form">
<?php if ( $user_ID ) { ?>
<p class="unstyled">Logged in as <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php" rel="nofollow"><?php echo $user_identity; ?></a>. <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="<?php _e('Log out of this account') ?>" rel="nofollow">Logout &rarr;</a></p>
<?php } ?>
<?php if ( !$user_ID ) { ?>
<p><input class="text_input" type="text" name="author" id="author" value="<?php echo $comment_author; ?>" tabindex="1" /><label for="author">Name</label></p>
<p><input class="text_input" type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" tabindex="2" /><label for="email">E-mail</label></p>
<p><input class="text_input" type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" tabindex="3" /><label for="url">Website</label></p>
<?php } ?>
<!--<p><small><strong>XHTML:</strong> You can use these tags: <?php echo allowed_tags(); ?></small></p>-->
<p><textarea class="text_input text_area" name="comment" id="comment" rows="7" tabindex="4"></textarea></p>
<?php if (function_exists('show_subscription_checkbox')) { show_subscription_checkbox(); } ?>
<p class="submit_p">
<input name="submit" class="form_submit" type="submit" id="submit" src="<?php bloginfo('template_url') ?>/images/submit_comment.gif" tabindex="5" value="Submit" />
<input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
</p>
<?php do_action('comment_form', $post->ID); ?>
</form>
<?php endif; // If registration required and not logged in ?>
<?php endif; // if you delete this the sky will fall on your head ?>
</div> <!-- Close #comments container -->
<?php } ?>
\ No newline at end of file
/*
File: custom.css
Description: Custom styles for the Neoclassical Theme that you define
Use:
The <body> tag has been appended with the "custom" class, like so: <body class="custom">.
You can use the "custom" class to overwrite *any* CSS declarations contained in this
theme's style.css file.
For example, if you wish to change the default link color to green, you would add the
following declarations to this file:
.custom a, .custom a:visited { color: #090; } <--- This makes links green
.custom a:hover { color: #00f; } <--- This makes links blue when you mouse over them
Why this works:
By using the "custom" class, you are creating more specific CSS declarations for HTML
elements. CSS styling is applied through rules of specificity, and because declarations
prepended with .custom are more specific, they get applied when the page is rendered!
*/
\ No newline at end of file
<div id="footer">
<p>Support <a href="http://www.openeducation.net/about/">open education</a> with the Neoclassical Theme.</p>
<?php wp_footer(); ?>
</div>
</div>
</div>
<!--[if lte IE 7]>
<div id="ie_clear"></div>
<![endif]-->
</body>
</html>
\ No newline at end of file
<?php
if (function_exists('register_sidebar'))
register_sidebars(2);
?>
\ No newline at end of file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title><?php if (is_single() || is_page() || is_archive()) { wp_title('',true); } else { bloginfo('description'); } ?> &#8212; <?php bloginfo('name'); ?></title>
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/custom.css" type="text/css" media="screen" />
<!--[if lte IE 7]>
<link rel="stylesheet" type="text/css" href="<?php bloginfo('template_url'); ?>/ie7.css" />
<![endif]-->
<!--[if lte IE 6]>
<link rel="stylesheet" type="text/css" href="<?php bloginfo('template_url'); ?>/ie6.css" />
<![endif]-->
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php wp_head(); ?>
</head>
<body class="custom">
<div id="container">
<div id="page">
<div id="masthead">
<div id="rss_subscribe"><a href="<?php bloginfo('rss2_url'); ?>" rel="nofollow">Subscribe via RSS</a></div>
<div id="logo"><a href="<?php bloginfo('url'); ?>"<?php if (is_home()) echo(' rel="nofollow"'); ?>><?php bloginfo('name'); ?></a></div>
<?php if (is_home()) { ?><h1><?php bloginfo('description'); ?></h1><?php } else { ?><div id="tagline"><?php bloginfo('description'); ?></div><?php } ?>
</div>
<div id="rotating_image">
<?php include (TEMPLATEPATH . '/rotating_images.php'); ?>
</div>
\ No newline at end of file
wp-content/themes/neoclassical/headers/header_1.jpg

65.1 KiB

wp-content/themes/neoclassical/headers/header_2.jpg

40.2 KiB

wp-content/themes/neoclassical/headers/header_3.jpg

50.9 KiB

wp-content/themes/neoclassical/headers/header_4.jpg

38.4 KiB

wp-content/themes/neoclassical/headers/header_5.jpg

62.5 KiB

/*---:[ IE6 styles for the Neoclassical Theme ]:---*/
/*---:[ ------------------------------------- ]:---*/
/*---:[ layout ]:---*/
#content, .sidebar { overflow: hidden; }
/*---:[ NOTE: uncomment each of the following definitions if a custom stylesheet is being used ]:---*/
/* .custom #container { padding: 0; margin-bottom: 20px; background: none; border: 3px solid #9f7148; border-top: none; }
.custom #footer_bottom { display: none; }*/
\ No newline at end of file
/*---:[ IE 7 styles for the Neoclassical Theme ]:---*/
/*---:[ -------------------------------------- ]:---*/
/*---:[ layout ]:---*/
#respond { width: 423px; clear: both; }
#ie_clear { height: 1%; }
/*---:[ NOTE: uncomment each of the following definitions if a custom stylesheet is being used ]:---*/
/*.custom #footer_bottom { margin-top: -2px; padding-bottom: 0 !important; }*/
\ No newline at end of file
wp-content/themes/neoclassical/images/bullet_text.gif

855 B

wp-content/themes/neoclassical/images/content_bg.gif

67 B

wp-content/themes/neoclassical/images/icon_comment.gif

861 B

wp-content/themes/neoclassical/images/icon_date.gif

856 B

wp-content/themes/neoclassical/images/icon_filed.gif

862 B

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment