mirror of
https://github.com/kennethreitz-archive/wordpress-skeleton.git
synced 2026-06-05 23:50:19 +00:00
added jumpchart wireframe theme
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
/**
|
||||
* @package WordPress
|
||||
* @subpackage Default_Theme
|
||||
*/
|
||||
|
||||
get_header();
|
||||
?>
|
||||
|
||||
<div id="content" class="narrowcolumn">
|
||||
|
||||
<h2 class="center">Error 404 - Not Found</h2>
|
||||
|
||||
</div>
|
||||
|
||||
<?php get_sidebar(); ?>
|
||||
|
||||
<?php get_footer(); ?>
|
||||
@@ -0,0 +1,77 @@
|
||||
<?php
|
||||
/**
|
||||
* @package WordPress
|
||||
* @subpackage Default_Theme
|
||||
*/
|
||||
|
||||
get_header();
|
||||
?>
|
||||
|
||||
<div id="content" class="narrowcolumn">
|
||||
|
||||
<?php if (have_posts()) : ?>
|
||||
|
||||
<?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
|
||||
<?php /* If this is a category archive */ if (is_category()) { ?>
|
||||
<h2 class="pagetitle">Archive for the ‘<?php single_cat_title(); ?>’ Category</h2>
|
||||
<?php /* If this is a tag archive */ } elseif( is_tag() ) { ?>
|
||||
<h2 class="pagetitle">Posts Tagged ‘<?php single_tag_title(); ?>’</h2>
|
||||
<?php /* If this is a daily archive */ } elseif (is_day()) { ?>
|
||||
<h2 class="pagetitle">Archive for <?php the_time('F jS, Y'); ?></h2>
|
||||
<?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
|
||||
<h2 class="pagetitle">Archive for <?php the_time('F, Y'); ?></h2>
|
||||
<?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
|
||||
<h2 class="pagetitle">Archive for <?php the_time('Y'); ?></h2>
|
||||
<?php /* If this is an author archive */ } elseif (is_author()) { ?>
|
||||
<h2 class="pagetitle">Author Archive</h2>
|
||||
<?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
|
||||
<h2 class="pagetitle">Blog Archives</h2>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
<div class="navigation">
|
||||
<div class="alignleft"><?php next_posts_link('« Older Entries') ?></div>
|
||||
<div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div>
|
||||
</div>
|
||||
|
||||
<?php while (have_posts()) : the_post(); ?>
|
||||
<div <?php post_class() ?>>
|
||||
<h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
|
||||
<small><?php the_time('l, F jS, Y') ?></small>
|
||||
|
||||
<div class="entry">
|
||||
<?php the_content() ?>
|
||||
</div>
|
||||
|
||||
<p class="postmetadata"><?php the_tags('Tags: ', ', ', '<br />'); ?> Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p>
|
||||
|
||||
</div>
|
||||
|
||||
<?php endwhile; ?>
|
||||
|
||||
<div class="navigation">
|
||||
<div class="alignleft"><?php next_posts_link('« Older Entries') ?></div>
|
||||
<div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div>
|
||||
</div>
|
||||
<?php else :
|
||||
|
||||
if ( is_category() ) { // If this is a category archive
|
||||
printf("<h2 class='center'>Sorry, but there aren't any posts in the %s category yet.</h2>", single_cat_title('',false));
|
||||
} else if ( is_date() ) { // If this is a date archive
|
||||
echo("<h2>Sorry, but there aren't any posts with this date.</h2>");
|
||||
} else if ( is_author() ) { // If this is a category archive
|
||||
$userdata = get_userdatabylogin(get_query_var('author_name'));
|
||||
printf("<h2 class='center'>Sorry, but there aren't any posts by %s yet.</h2>", $userdata->display_name);
|
||||
} else {
|
||||
echo("<h2 class='center'>No posts found.</h2>");
|
||||
}
|
||||
get_search_form();
|
||||
|
||||
endif;
|
||||
?>
|
||||
|
||||
</div>
|
||||
|
||||
<?php get_sidebar(); ?>
|
||||
|
||||
<?php get_footer(); ?>
|
||||
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
/**
|
||||
* @package WordPress
|
||||
* @subpackage Default_Theme
|
||||
*/
|
||||
/*
|
||||
Template Name: Archives
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php get_header(); ?>
|
||||
|
||||
<div id="content" class="widecolumn">
|
||||
|
||||
<?php get_search_form(); ?>
|
||||
|
||||
<h2>Archives by Month:</h2>
|
||||
<ul>
|
||||
<?php wp_get_archives('type=monthly'); ?>
|
||||
</ul>
|
||||
|
||||
<h2>Archives by Subject:</h2>
|
||||
<ul>
|
||||
<?php wp_list_categories(); ?>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
||||
<?php get_footer(); ?>
|
||||
@@ -0,0 +1,124 @@
|
||||
<?php
|
||||
/**
|
||||
* @package WordPress
|
||||
* @subpackage Default_Theme
|
||||
*/
|
||||
?><!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>
|
||||
<title><?php echo get_option('blogname'); ?> - Comments on <?php the_title(); ?></title>
|
||||
|
||||
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" />
|
||||
<style type="text/css" media="screen">
|
||||
@import url( <?php bloginfo('stylesheet_url'); ?> );
|
||||
body { margin: 3px; }
|
||||
</style>
|
||||
|
||||
</head>
|
||||
<body id="commentspopup">
|
||||
|
||||
<h1 id="header"><a href="" title="<?php echo get_option('blogname'); ?>"><?php echo get_option('blogname'); ?></a></h1>
|
||||
|
||||
<?php
|
||||
/* Don't remove these lines. */
|
||||
add_filter('comment_text', 'popuplinks');
|
||||
if ( have_posts() ) :
|
||||
while ( have_posts() ) : the_post();
|
||||
?>
|
||||
<h2 id="comments">Comments</h2>
|
||||
|
||||
<p><a href="<?php echo get_post_comments_feed_link($post->ID); ?>"><abbr title="Really Simple Syndication">RSS</abbr> feed for comments on this post.</a></p>
|
||||
|
||||
<?php if ('open' == $post->ping_status) { ?>
|
||||
<p>The <abbr title="Universal Resource Locator">URL</abbr> to TrackBack this entry is: <em><?php trackback_url() ?></em></p>
|
||||
<?php } ?>
|
||||
|
||||
<?php
|
||||
// this line is WordPress' motor, do not delete it.
|
||||
$commenter = wp_get_current_commenter();
|
||||
extract($commenter);
|
||||
$comments = get_approved_comments($id);
|
||||
$post = get_post($id);
|
||||
if ( post_password_required($post) ) { // and it doesn't match the cookie
|
||||
echo(get_the_password_form());
|
||||
} else { ?>
|
||||
|
||||
<?php if ($comments) { ?>
|
||||
<ol id="commentlist">
|
||||
<?php foreach ($comments as $comment) { ?>
|
||||
<li id="comment-<?php comment_ID() ?>">
|
||||
<?php comment_text() ?>
|
||||
<p><cite><?php comment_type('Comment', 'Trackback', 'Pingback'); ?> by <?php comment_author_link() ?> — <?php comment_date() ?> @ <a href="#comment-<?php comment_ID() ?>"><?php comment_time() ?></a></cite></p>
|
||||
</li>
|
||||
|
||||
<?php } // end for each comment ?>
|
||||
</ol>
|
||||
<?php } else { // this is displayed if there are no comments so far ?>
|
||||
<p>No comments yet.</p>
|
||||
<?php } ?>
|
||||
|
||||
<?php if ('open' == $post->comment_status) { ?>
|
||||
<h2>Leave a comment</h2>
|
||||
<p>Line and paragraph breaks automatic, e-mail address never displayed, <acronym title="Hypertext Markup Language">HTML</acronym> allowed: <code><?php echo allowed_tags(); ?></code></p>
|
||||
|
||||
<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
|
||||
<?php if ( $user_ID ) : ?>
|
||||
<p>Logged in as <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo wp_logout_url(get_permalink()); ?>" title="Log out of this account">Log out »</a></p>
|
||||
<?php else : ?>
|
||||
<p>
|
||||
<input type="text" name="author" id="author" class="textarea" value="<?php echo $comment_author; ?>" size="28" tabindex="1" />
|
||||
<label for="author">Name</label>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="28" tabindex="2" />
|
||||
<label for="email">E-mail</label>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="28" tabindex="3" />
|
||||
<label for="url"><abbr title="Universal Resource Locator">URL</abbr></label>
|
||||
</p>
|
||||
<?php endif; ?>
|
||||
|
||||
<p>
|
||||
<label for="comment">Your Comment</label>
|
||||
<br />
|
||||
<textarea name="comment" id="comment" cols="70" rows="4" tabindex="4"></textarea>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
|
||||
<input type="hidden" name="redirect_to" value="<?php echo attribute_escape($_SERVER["REQUEST_URI"]); ?>" />
|
||||
<input name="submit" type="submit" tabindex="5" value="Say It!" />
|
||||
</p>
|
||||
<?php do_action('comment_form', $post->ID); ?>
|
||||
</form>
|
||||
<?php } else { // comments are closed ?>
|
||||
<p>Sorry, the comment form is closed at this time.</p>
|
||||
<?php }
|
||||
} // end password check
|
||||
?>
|
||||
|
||||
<div><strong><a href="javascript:window.close()">Close this window.</a></strong></div>
|
||||
|
||||
<?php // if you delete this the sky will fall on your head
|
||||
endwhile; //endwhile have_posts()
|
||||
else: //have_posts()
|
||||
?>
|
||||
<p>Sorry, no posts matched your criteria.</p>
|
||||
<?php endif; ?>
|
||||
<!-- // this is just the end of the motor - don't touch that line either :) -->
|
||||
<?php //} ?>
|
||||
<p class="credit"><?php timer_stop(1); ?> <cite>Powered by <a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform"><strong>WordPress</strong></a></cite></p>
|
||||
<?php // Seen at http://www.mijnkopthee.nl/log2/archive/2003/05/28/esc(18) ?>
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
document.onkeypress = function esc(e) {
|
||||
if(typeof(e) == "undefined") { e=event; }
|
||||
if (e.keyCode == 27) { self.close(); }
|
||||
}
|
||||
// -->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,96 @@
|
||||
<?php
|
||||
/**
|
||||
* @package WordPress
|
||||
* @subpackage Default_Theme
|
||||
*/
|
||||
|
||||
// Do not delete these lines
|
||||
if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
|
||||
die ('Please do not load this page directly. Thanks!');
|
||||
|
||||
if ( post_password_required() ) { ?>
|
||||
<p class="nocomments">This post is password protected. Enter the password to view comments.</p>
|
||||
<?php
|
||||
return;
|
||||
}
|
||||
?>
|
||||
|
||||
<!-- You can start editing here. -->
|
||||
|
||||
<?php if ( have_comments() ) : ?>
|
||||
<h3 id="comments"><?php comments_number('No Responses', 'One Response', '% Responses' );?> to “<?php the_title(); ?>”</h3>
|
||||
|
||||
<div class="navigation">
|
||||
<div class="alignleft"><?php previous_comments_link() ?></div>
|
||||
<div class="alignright"><?php next_comments_link() ?></div>
|
||||
</div>
|
||||
|
||||
<ol class="commentlist">
|
||||
<?php wp_list_comments(); ?>
|
||||
</ol>
|
||||
|
||||
<div class="navigation">
|
||||
<div class="alignleft"><?php previous_comments_link() ?></div>
|
||||
<div class="alignright"><?php next_comments_link() ?></div>
|
||||
</div>
|
||||
<?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. -->
|
||||
|
||||
<?php else : // comments are closed ?>
|
||||
<!-- If comments are closed. -->
|
||||
<p class="nocomments">Comments are closed.</p>
|
||||
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
<?php if ('open' == $post->comment_status) : ?>
|
||||
|
||||
<div id="respond">
|
||||
|
||||
<h3><?php comment_form_title( 'Leave a Reply', 'Leave a Reply to %s' ); ?></h3>
|
||||
|
||||
<div class="cancel-comment-reply">
|
||||
<small><?php cancel_comment_reply_link(); ?></small>
|
||||
</div>
|
||||
|
||||
<?php if ( get_option('comment_registration') && !$user_ID ) : ?>
|
||||
<p>You must be <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php echo urlencode(get_permalink()); ?>">logged in</a> to post a comment.</p>
|
||||
<?php else : ?>
|
||||
|
||||
<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
|
||||
|
||||
<?php if ( $user_ID ) : ?>
|
||||
|
||||
<p>Logged in as <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo wp_logout_url(get_permalink()); ?>" title="Log out of this account">Log out »</a></p>
|
||||
|
||||
<?php else : ?>
|
||||
|
||||
<p><input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" <?php if ($req) echo "aria-required='true'"; ?> />
|
||||
<label for="author"><small>Name <?php if ($req) echo "(required)"; ?></small></label></p>
|
||||
|
||||
<p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" <?php if ($req) echo "aria-required='true'"; ?> />
|
||||
<label for="email"><small>Mail (will not be published) <?php if ($req) echo "(required)"; ?></small></label></p>
|
||||
|
||||
<p><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" />
|
||||
<label for="url"><small>Website</small></label></p>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<!--<p><small><strong>XHTML:</strong> You can use these tags: <code><?php echo allowed_tags(); ?></code></small></p>-->
|
||||
|
||||
<p><textarea name="comment" id="comment" cols="100%" rows="10" tabindex="4"></textarea></p>
|
||||
|
||||
<p><input name="submit" type="submit" id="submit" tabindex="5" value="Submit Comment" />
|
||||
<?php comment_id_fields(); ?>
|
||||
</p>
|
||||
<?php do_action('comment_form', $post->ID); ?>
|
||||
|
||||
</form>
|
||||
|
||||
<?php endif; // If registration required and not logged in ?>
|
||||
</div>
|
||||
|
||||
<?php endif; // if you delete this the sky will fall on your head ?>
|
||||
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
/**
|
||||
* @package WordPress
|
||||
* @subpackage Default_Theme
|
||||
*/
|
||||
?>
|
||||
|
||||
|
||||
<div id="footer"></div>
|
||||
<div class="break"></div>
|
||||
</div>
|
||||
|
||||
<?php wp_footer(); ?>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,49 @@
|
||||
<?php
|
||||
/**
|
||||
* @package WordPress
|
||||
* @subpackage Default_Theme
|
||||
*/
|
||||
?>
|
||||
<!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" <?php language_attributes(); ?>>
|
||||
|
||||
<head profile="http://gmpg.org/xfn/11">
|
||||
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
|
||||
|
||||
<title><?php wp_title('«', true, 'right'); ?> <?php bloginfo('name'); ?></title>
|
||||
|
||||
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
|
||||
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
|
||||
<link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom Feed" href="<?php bloginfo('atom_url'); ?>" />
|
||||
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
|
||||
|
||||
<?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
|
||||
|
||||
<?php wp_head(); ?>
|
||||
</head>
|
||||
<body>
|
||||
<div id="wrapper">
|
||||
|
||||
|
||||
<div id="header">
|
||||
<h1>
|
||||
<a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a>
|
||||
<?php
|
||||
|
||||
if(!is_home())
|
||||
{
|
||||
echo '<span> / ';
|
||||
if(is_search())
|
||||
echo 'Search';
|
||||
else
|
||||
the_title();
|
||||
echo '</span>';
|
||||
}
|
||||
?>
|
||||
</h1>
|
||||
|
||||
<?php get_search_form(); ?>
|
||||
|
||||
<div class="break"></div>
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,70 @@
|
||||
<?php
|
||||
/**
|
||||
* @package WordPress
|
||||
* @subpackage Default_Theme
|
||||
*/
|
||||
|
||||
get_header();
|
||||
?>
|
||||
|
||||
<div id="content" class="widecolumn">
|
||||
|
||||
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
|
||||
|
||||
<div class="post" id="post-<?php the_ID(); ?>">
|
||||
<h2><a href="<?php echo get_permalink($post->post_parent); ?>" rev="attachment"><?php echo get_the_title($post->post_parent); ?></a> » <?php the_title(); ?></h2>
|
||||
<div class="entry">
|
||||
<p class="attachment"><a href="<?php echo wp_get_attachment_url($post->ID); ?>"><?php echo wp_get_attachment_image( $post->ID, 'medium' ); ?></a></p>
|
||||
<div class="caption"><?php if ( !empty($post->post_excerpt) ) the_excerpt(); // this is the "caption" ?></div>
|
||||
|
||||
<?php the_content('<p class="serif">Read the rest of this entry »</p>'); ?>
|
||||
|
||||
<div class="navigation">
|
||||
<div class="alignleft"><?php previous_image_link() ?></div>
|
||||
<div class="alignright"><?php next_image_link() ?></div>
|
||||
</div>
|
||||
<br class="clear" />
|
||||
|
||||
<p class="postmetadata alt">
|
||||
<small>
|
||||
This entry was posted on <?php the_time('l, F jS, Y') ?> at <?php the_time() ?>
|
||||
and is filed under <?php the_category(', ') ?>.
|
||||
<?php the_taxonomies(); ?>
|
||||
You can follow any responses to this entry through the <?php post_comments_feed_link('RSS 2.0'); ?> feed.
|
||||
|
||||
<?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
|
||||
// Both Comments and Pings are open ?>
|
||||
You can <a href="#respond">leave a response</a>, or <a href="<?php trackback_url(); ?>" rel="trackback">trackback</a> from your own site.
|
||||
|
||||
<?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
|
||||
// Only Pings are Open ?>
|
||||
Responses are currently closed, but you can <a href="<?php trackback_url(); ?> " rel="trackback">trackback</a> from your own site.
|
||||
|
||||
<?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
|
||||
// Comments are open, Pings are not ?>
|
||||
You can skip to the end and leave a response. Pinging is currently not allowed.
|
||||
|
||||
<?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
|
||||
// Neither Comments, nor Pings are open ?>
|
||||
Both comments and pings are currently closed.
|
||||
|
||||
<?php } ?>
|
||||
|
||||
</small>
|
||||
</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<?php comments_template(); ?>
|
||||
|
||||
<?php endwhile; else: ?>
|
||||
|
||||
<p>Sorry, no attachments matched your criteria.</p>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
</div>
|
||||
|
||||
<?php get_footer(); ?>
|
||||
@@ -0,0 +1,44 @@
|
||||
<?php
|
||||
/**
|
||||
* @package WordPress
|
||||
* @subpackage Default_Theme
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<div id="content" class="narrowcolumn">
|
||||
|
||||
<?php if (have_posts()) : ?>
|
||||
|
||||
<?php while (have_posts()) : the_post(); ?>
|
||||
|
||||
<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
|
||||
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
|
||||
<small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small>
|
||||
|
||||
<div class="entry">
|
||||
<?php the_content('Read the rest of this entry »'); ?>
|
||||
</div>
|
||||
|
||||
<p class="postmetadata"><?php the_tags('Tags: ', ', ', '<br />'); ?> Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p>
|
||||
</div>
|
||||
|
||||
<?php endwhile; ?>
|
||||
|
||||
<div class="navigation">
|
||||
<div class="alignleft"><?php next_posts_link('« Older Entries') ?></div>
|
||||
<div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div>
|
||||
</div>
|
||||
|
||||
<?php else : ?>
|
||||
|
||||
<h2 class="center">Not Found</h2>
|
||||
<p class="center">Sorry, but you are looking for something that isn't here.</p>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
</div>
|
||||
|
||||
<?php get_sidebar(); ?>
|
||||
|
||||
<?php get_footer(); ?>
|
||||
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
/**
|
||||
* @package WordPress
|
||||
* @subpackage Default_Theme
|
||||
*/
|
||||
|
||||
/*
|
||||
Template Name: Links
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php get_header(); ?>
|
||||
|
||||
<div id="content" class="widecolumn">
|
||||
|
||||
<h2>Links:</h2>
|
||||
<ul>
|
||||
<?php wp_list_bookmarks(); ?>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
||||
<?php get_footer(); ?>
|
||||
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
/**
|
||||
* @package WordPress
|
||||
* @subpackage Default_Theme
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<div id="content" class="narrowcolumn">
|
||||
|
||||
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
|
||||
<div class="post" id="post-<?php the_ID(); ?>">
|
||||
|
||||
<div class="entry">
|
||||
<?php the_content(); ?>
|
||||
|
||||
<?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php endwhile; endif; ?>
|
||||
</div>
|
||||
|
||||
<?php get_sidebar(); ?>
|
||||
|
||||
<?php get_footer(); ?>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 18 KiB |
@@ -0,0 +1,46 @@
|
||||
<?php
|
||||
/**
|
||||
* @package WordPress
|
||||
* @subpackage Default_Theme
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<div id="content" class="narrowcolumn">
|
||||
|
||||
<?php if (have_posts()) : ?>
|
||||
|
||||
<h2 class="pagetitle">Search Results</h2>
|
||||
|
||||
<div class="navigation">
|
||||
<div class="alignleft"><?php next_posts_link('« Older Entries') ?></div>
|
||||
<div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div>
|
||||
</div>
|
||||
|
||||
|
||||
<?php while (have_posts()) : the_post(); ?>
|
||||
|
||||
<div <?php post_class() ?>>
|
||||
<h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
|
||||
<p class="postExceprt"><?php echo substr(strip_tags(get_the_content()),0,200); ?></p>
|
||||
</div>
|
||||
|
||||
<?php endwhile; ?>
|
||||
|
||||
<div class="navigation">
|
||||
<div class="alignleft"><?php next_posts_link('« Older Entries') ?></div>
|
||||
<div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div>
|
||||
</div>
|
||||
|
||||
<?php else : ?>
|
||||
|
||||
<h2 class="center">Nothing found. Try a different search?</h2>
|
||||
<?php get_search_form(); ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
</div>
|
||||
|
||||
<?php get_sidebar(); ?>
|
||||
|
||||
<?php get_footer(); ?>
|
||||
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
/**
|
||||
* @package WordPress
|
||||
* @subpackage Default_Theme
|
||||
*/
|
||||
?>
|
||||
<div id="sidebar">
|
||||
<ul>
|
||||
<?php /* Widgetized sidebar, if you have the plugin installed. */
|
||||
if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?>
|
||||
|
||||
<?php wp_list_pages('title_li=' ); ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<li>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,73 @@
|
||||
<?php
|
||||
/**
|
||||
* @package WordPress
|
||||
* @subpackage Default_Theme
|
||||
*/
|
||||
|
||||
get_header();
|
||||
?>
|
||||
|
||||
<div id="content" class="widecolumn">
|
||||
|
||||
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
|
||||
|
||||
<div class="navigation">
|
||||
<div class="alignleft"><?php previous_post_link('« %link') ?></div>
|
||||
<div class="alignright"><?php next_post_link('%link »') ?></div>
|
||||
</div>
|
||||
|
||||
<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
|
||||
<h2><?php the_title(); ?></h2>
|
||||
|
||||
<div class="entry">
|
||||
<?php the_content('<p class="serif">Read the rest of this entry »</p>'); ?>
|
||||
|
||||
<?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
|
||||
<?php the_tags( '<p>Tags: ', ', ', '</p>'); ?>
|
||||
|
||||
<p class="postmetadata alt">
|
||||
<small>
|
||||
This entry was posted
|
||||
<?php /* This is commented, because it requires a little adjusting sometimes.
|
||||
You'll need to download this plugin, and follow the instructions:
|
||||
http://binarybonsai.com/archives/2004/08/17/time-since-plugin/ */
|
||||
/* $entry_datetime = abs(strtotime($post->post_date) - (60*120)); echo time_since($entry_datetime); echo ' ago'; */ ?>
|
||||
on <?php the_time('l, F jS, Y') ?> at <?php the_time() ?>
|
||||
and is filed under <?php the_category(', ') ?>.
|
||||
You can follow any responses to this entry through the <?php post_comments_feed_link('RSS 2.0'); ?> feed.
|
||||
|
||||
<?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
|
||||
// Both Comments and Pings are open ?>
|
||||
You can <a href="#respond">leave a response</a>, or <a href="<?php trackback_url(); ?>" rel="trackback">trackback</a> from your own site.
|
||||
|
||||
<?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
|
||||
// Only Pings are Open ?>
|
||||
Responses are currently closed, but you can <a href="<?php trackback_url(); ?> " rel="trackback">trackback</a> from your own site.
|
||||
|
||||
<?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
|
||||
// Comments are open, Pings are not ?>
|
||||
You can skip to the end and leave a response. Pinging is currently not allowed.
|
||||
|
||||
<?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
|
||||
// Neither Comments, nor Pings are open ?>
|
||||
Both comments and pings are currently closed.
|
||||
|
||||
<?php } edit_post_link('Edit this entry','','.'); ?>
|
||||
|
||||
</small>
|
||||
</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php comments_template(); ?>
|
||||
|
||||
<?php endwhile; else: ?>
|
||||
|
||||
<p>Sorry, no posts matched your criteria.</p>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
</div>
|
||||
|
||||
<?php get_footer(); ?>
|
||||
@@ -0,0 +1,162 @@
|
||||
/*
|
||||
Theme Name: Jumpchart Wordpress Theme
|
||||
Theme URI: http://www.jumpchart.com/
|
||||
Description: This is a basic theme from the Jumpchart team.
|
||||
Version: 1.0
|
||||
Author: Paste Interctive
|
||||
Author URI: http://pasteinteractive.com/
|
||||
Tags: jumpchart, simple, wireframe, paste interactive
|
||||
*/
|
||||
body {
|
||||
font-family: 'Lucida Grande', Verdana, Arial, sans-serif;
|
||||
font-size: 12px;
|
||||
background: #999;
|
||||
color: #444;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
line-height: 1.1em;
|
||||
margin: 0 0 20px 0;
|
||||
}
|
||||
|
||||
h1 { font-size: 24px; }
|
||||
h2 { font-size: 20px; }
|
||||
h3 { font-size: 16px; }
|
||||
h4 { font-size: 14px; }
|
||||
h5 { font-size: 12px; }
|
||||
h6 { font-size: 12px; font-style: italic;}
|
||||
|
||||
|
||||
.break {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
a img { border: none; }
|
||||
|
||||
a {
|
||||
color: #444;
|
||||
text-decoration: none;
|
||||
border-bottom: 1px solid #aaa;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
border-bottom: 1px solid #666;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
/*
|
||||
* Images
|
||||
*/
|
||||
img.centered {
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
img.alignright {
|
||||
padding: 4px;
|
||||
margin: 0 0 2px 7px;
|
||||
display: inline;
|
||||
}
|
||||
|
||||
img.alignleft {
|
||||
padding: 4px;
|
||||
margin: 0 7px 2px 0;
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.alignright { float: right; }
|
||||
.alignleft { float: left; }
|
||||
|
||||
/*
|
||||
* Main Layout Controls
|
||||
*/
|
||||
#wrapper {
|
||||
width: 850px;
|
||||
margin: 0 auto 40px auto;
|
||||
background: #fff;
|
||||
padding: 20px;
|
||||
border: 2px solid #888;
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
#header {
|
||||
border-bottom: 1px solid #ddd;
|
||||
margin-bottom: 15px;
|
||||
padding-bottom: 5px;
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
#header h1 {
|
||||
font-weight: normal;
|
||||
margin: 0;
|
||||
}
|
||||
#header h1 a { border-bottom: none; }
|
||||
|
||||
|
||||
#header span {
|
||||
color: #aaa;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
#footer { clear: both; }
|
||||
|
||||
#content {
|
||||
width: 660px;
|
||||
margin: 0px 0 0 20px;
|
||||
float: right;
|
||||
line-height: 1.5em;
|
||||
}
|
||||
|
||||
.col1, .col2 {
|
||||
width: 310px;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.col1 { margin-right: 40px; }
|
||||
|
||||
#sidebar {
|
||||
width: 150px;
|
||||
float: left;
|
||||
line-height: 1.3em;
|
||||
}
|
||||
|
||||
#sidebar ul {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
#sidebar ul li ul { margin-left: 15px; }
|
||||
#sidebar ul li { margin: 7px 0; }
|
||||
#sidebar ul li.currentOpenedPage a { background: #ddd; }
|
||||
#sidebar ul li.currentOpenedPage li a { background: none; }
|
||||
|
||||
/*
|
||||
* Search form
|
||||
*/
|
||||
#header h1 {
|
||||
width: 600px;
|
||||
float: left;
|
||||
}
|
||||
|
||||
#header #searchform {
|
||||
float: right;
|
||||
width: 160px;
|
||||
line-height: 1em;
|
||||
}
|
||||
|
||||
#searchform label {
|
||||
font-size: 11px;
|
||||
display: none;
|
||||
}
|
||||
|
||||
#searchform input#s {
|
||||
width: 80px;
|
||||
font-size: 11px;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
Reference in New Issue
Block a user