diff --git a/wp-content/themes/plaintxtblog/404.php b/wp-content/themes/plaintxtblog/404.php new file mode 100644 index 0000000000000000000000000000000000000000..54ede84c6e298d0f465c4abd4d03c3ce9851de2a --- /dev/null +++ b/wp-content/themes/plaintxtblog/404.php @@ -0,0 +1,22 @@ +<?php header("HTTP/1.1 404 Not Found"); ?> +<?php get_header() ?> + + <div id="container"> + <div id="content" class="hfeed"> + <div id="post-0" class="post"> + <h2 class="entry-title"><?php _e('Not Found', 'plaintxtblog') ?></h2> + <div class="entry-content"> + <p><?php _e('Apologies, but we were unable to find what you were looking for. Perhaps the search box will help.', 'plaintxtblog') ?></p> + </div> + </div><!-- #post-0 .post --> + <form id="error404-searchform" method="get" action="<?php bloginfo('home') ?>"> + <div> + <input id="error404-s" name="s" type="text" value="<?php the_search_query() ?>" size="40" /> + <input id="error404-searchsubmit" name="searchsubmit" type="submit" value="<?php _e('Search', 'plaintxtblog') ?>" /> + </div> + </form> + </div><!-- #content .hfeed --> + </div><!-- #container --> + +<?php get_sidebar() ?> +<?php get_footer() ?> \ No newline at end of file diff --git a/wp-content/themes/plaintxtblog/archive.php b/wp-content/themes/plaintxtblog/archive.php new file mode 100644 index 0000000000000000000000000000000000000000..9453a86d37dde7a9272c55d4a3a27a6d3ce99779 --- /dev/null +++ b/wp-content/themes/plaintxtblog/archive.php @@ -0,0 +1,61 @@ +<?php get_header() ?> + + <div id="container"> + <div id="content" class="hfeed"> + +<?php the_post() ?> + +<?php if ( is_day() ) : ?> + <h2 class="page-title"><?php printf(__('Daily Archives: <span>%s</span>', 'plaintxtblog'), get_the_time(__('F jS, Y', 'plaintxtblog'))) ?></h2> +<?php elseif ( is_month() ) : ?> + <h2 class="page-title"><?php printf(__('Monthly Archives: <span>%s</span>', 'plaintxtblog'), get_the_time(__('F Y', 'plaintxtblog'))) ?></h2> +<?php elseif ( is_year() ) : ?> + <h2 class="page-title"><?php printf(__('Yearly Archives: <span>%s</span>', 'plaintxtblog'), get_the_time(__('Y', 'plaintxtblog'))) ?></h2> +<?php elseif ( is_author() ) : ?> + <h2 class="page-title"><?php _e('Author Archives: ', 'plaintxtblog'); plaintxtblog_author_hCard(); ?></h2> + <div class="archive-meta"><?php if ( !(''== $authordata->user_description) ) : echo apply_filters('archive_meta', $authordata->user_description); endif; ?></div> +<?php elseif ( is_category() ) : ?> + <h2 class="page-title"><?php _e('Category Archives:', 'plaintxtblog') ?> <span class="page-cat"><?php echo single_cat_title(); ?></span></h2> + <div class="archive-meta"><?php if ( !(''== category_description()) ) : echo apply_filters('archive_meta', category_description()); endif; ?></div> +<?php elseif ( is_tag() ) : ?> + <h2 class="page-title"><?php _e('Tag Archives:', 'plaintxtblog') ?> <span class="tag-cat"><?php single_tag_title(); ?></span></h2> +<?php elseif ( isset($_GET['paged']) && !empty($_GET['paged']) ) : ?> + <h2 class="page-title"><?php _e('Blog Archives', 'plaintxtblog') ?></h2> +<?php endif; ?> + +<?php rewind_posts() ?> + +<?php while ( have_posts() ) : the_post(); ?> + + <div id="post-<?php the_ID() ?>" class="<?php plaintxtblog_post_class() ?>"> + <div class="entry-header"> + <h3 class="entry-title"><a href="<?php the_permalink() ?>" title="<?php printf(__('Permalink to %s', 'plaintxtblog'), wp_specialchars(get_the_title(), 1)) ?>" rel="bookmark"><?php the_title() ?></a></h3> + <abbr class="published" title="<?php the_time('Y-m-d\TH:i:sO'); ?>"><?php unset($previousday); printf(__('%1$s', 'plaintxtblog'), the_date('d-M-y', false)) ?></abbr> + </div> + <div class="entry-content"> +<?php the_excerpt('<span class="more-link">'.__('More…', 'plaintxtblog').'</span>') ?> + + </div> + <div class="entry-meta"> + <span class="entry-category"><?php if ( !is_category() ) { printf(__('Filed in %s', 'plaintxtblog'), get_the_category_list(', ') ); } else { $other_cats = plaintxtblog_other_cats(', '); printf(__('Also filed in %s', 'plaintxtblog'), $other_cats ); } ?></span> + <span class="meta-sep">|</span> + <span class="entry-tags"><?php if ( !is_tag() ) { echo the_tags(__('Tagged ', 'plaintxtblog'), ", "); } else { $other_tags = plaintxtblog_other_tags(', '); printf(__('Also tagged %s', 'plaintxtblog'), $other_tags); } ?></span> + <span class="meta-sep">|</span> +<?php edit_post_link(__('Edit', 'plaintxtblog'), "\t\t\t\t\t<span class='entry-edit'>", "</span>\n\t\t\t\t\t<span class='meta-sep'>|</span>\n"); ?> + <span class="entry-comments"><?php comments_popup_link(__('Comments (0) »', 'plaintxtblog'), __('Comments (1) »', 'plaintxtblog'), __('Comments (%) »', 'plaintxtblog'),'',__('Comments Off','plaintxtblog')) ?></span> + </div> + </div><!-- .post --> + +<?php endwhile ?> + + <div id="nav-below" class="navigation"> + <div class="nav-previous"><?php next_posts_link(__('« Older posts', 'plaintxtblog')) ?></div> + <div class="nav-next"><?php previous_posts_link(__('Newer posts »', 'plaintxtblog')) ?></div> + <div class="nav-home"><a href="<?php echo get_settings('home') ?>/" title="<?php bloginfo('name') ?>"><?php _e('Home', 'plaintxtblog'); ?></a></div> + </div> + + </div><!-- #content .hfeed --> + </div><!-- #container --> + +<?php get_sidebar() ?> +<?php get_footer() ?> \ No newline at end of file diff --git a/wp-content/themes/plaintxtblog/archives.php b/wp-content/themes/plaintxtblog/archives.php new file mode 100644 index 0000000000000000000000000000000000000000..4fe70db1df1d1e52e671c5e26ea1f13abecb8368 --- /dev/null +++ b/wp-content/themes/plaintxtblog/archives.php @@ -0,0 +1,55 @@ +<?php +/* +Template Name: Archives Page +*/ +?> +<?php get_header() ?> + + <div id="container"> + <div id="content" class="hfeed"> + +<?php the_post() ?> + + <div id="post-<?php the_ID() ?>" class="<?php plaintxtblog_post_class() ?>"> + <h2 class="entry-title"><?php the_title() ?></h2> + <div class="entry-content"> +<?php the_content(); ?> + + <ul id="archives-page" class="xoxo"> + <li class="monthly-archives"> + <h3><?php _e('Monthly Archives', 'plaintxtblog') ?></h3> + <ul> + <?php wp_get_archives('type=monthly&show_post_count=1'); ?> + </ul> + </li> + <li class="category-archives"> + <h3><?php _e('Category Archives', 'plaintxtblog') ?></h3> + <ul> + <?php wp_list_categories('title_li=&orderby=name&show_count=1&use_desc_for_title=1&feed_image='.get_bloginfo('template_url').'/images/feed.png') ?> + </ul> + </li> + <li class="tag-archives"> + <h3><?php _e('Tag Archives', 'plaintxtblog') ?></h3> + <p><?php wp_tag_cloud() ?></p> + </li> + <li class="feed-links"> + <h3><?php _e('RSS Feeds', 'plaintxtblog') ?></h3> + <ul> + <li><a href="<?php bloginfo('rss2_url') ?>" title="<?php echo wp_specialchars(get_bloginfo('name'), 1) ?> RSS 2.0 Feed" rel="alternate" type="application/rss+xml"><?php _e('All posts', 'plaintxtblog') ?></a></li> + <li><a href="<?php bloginfo('comments_rss2_url') ?>" title="<?php echo wp_specialchars(bloginfo('name'), 1) ?> Comments RSS 2.0 Feed" rel="alternate" type="application/rss+xml"><?php _e('All comments', 'plaintxtblog') ?></a></li> + </ul> + </li> + </ul> + +<?php edit_post_link(__('Edit this entry.', 'plaintxtblog'),'<p class="entry-edit">','</p>') ?> + + </div> + </div><!-- .post --> + +<?php if ( get_post_custom_values('comments') ) comments_template() // Add a key/value of "comments" to load comments on a page ?> + + </div><!-- #content .hfeed --> + </div><!-- #container --> + +<?php get_sidebar(); ?> +<?php get_footer(); ?> \ No newline at end of file diff --git a/wp-content/themes/plaintxtblog/attachment.php b/wp-content/themes/plaintxtblog/attachment.php new file mode 100644 index 0000000000000000000000000000000000000000..c49f4f1787af7ad6587fdbe4e5bbcbb81bade8c9 --- /dev/null +++ b/wp-content/themes/plaintxtblog/attachment.php @@ -0,0 +1,53 @@ +<?php get_header(); ?> + + <div id="container"> + <div id="content" class="hfeed"> + +<?php the_post() ?> + + <div id="post-<?php the_ID(); ?>" class="<?php plaintxtblog_post_class() ?>"> + <div class="entry-header"> + <h2 class="entry-title"><?php the_title(); ?></h2> + <div id="nav-above" class="post-parent"><a href="<?php echo get_permalink($post->post_parent) ?>" rev="attachment">« <?php echo get_the_title($post->post_parent) ?></a></div> + </div> + <div class="entry-content"> + <div class="entry-attachment"><a href="<?php echo wp_get_attachment_url($post->ID); ?>" title="<?php echo wp_specialchars( get_the_title($post->ID), 1 ) ?>" rel="attachment"><?php echo basename($post->guid) ?></a></div> + <div class="entry-caption"><?php if ( !empty($post->post_excerpt) ) the_excerpt(); ?></div> +<?php the_content('<span class="more-link">'.__('More…', 'plaintxtblog').'</span>') ?> + + </div> + <div class="entry-meta"> +<?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) : // COMMENTS & PINGS OPEN ?> + <?php printf(__('<span class="entry-comments"><a href="#respond" title="Post a comment">Post a comment</a></span> <span class="meta-sep">—</span> <span class="entry-trackbacks"><a href="%s" rel="trackback" title="Trackback URI for your post">Trackback URI</a></span>', 'plaintxtblog'), get_trackback_url()) ?> +<?php elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) : // PINGS ONLY OPEN ?> + <?php printf(__('<span class="entry-comments">Comments closed</span> <span class="meta-sep">—</span> <span class="entry-trackbacks"><a href="%s" rel="trackback" title="Trackback URL for your post">Trackback URI</a></span>', 'plaintxtblog'), get_trackback_url()) ?> +<?php elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) : // COMMENTS OPEN ?> + <?php printf(__('<span class="entry-comments"><a href="#respond" title="Post a comment">Post a comment</a></span> <span class="meta-sep">—</span> <span class="entry-trackbacks">Trackbacks closed</span>', 'plaintxtblog')) ?> +<?php elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) : // NOTHING OPEN ?> + <?php _e('<span class="entry-comments">Comments closed</span> <span class="meta-sep">—</span> <span class="entry-trackbacks">Trackbacks closed</span>', 'plaintxtblog') ?> +<?php endif; ?> + + <span class="entry-commentslink"><?php printf(__('<a href="%1$s" title="%2$s comments RSS feed" rel="alternate" type="application/rss+xml">RSS 2.0 feed</a> for these comments', 'plaintxtblog'), + comments_rss(), + wp_specialchars(get_the_title(), 'double') ) ?></span> + + <span class="entry-metainfo"><?php printf(__('This attachment (<a href="%1$s" title="Permalink to %2$s" rel="bookmark">permalink</a>) was posted on <abbr class="published" title="%3$sT%4$s">%5$s at %6$s</abbr> by %7$s. Filed in %8$s%9$s.', 'plaintxtblog'), + get_permalink(), + wp_specialchars(get_the_title(), 'double'), + get_the_time('Y-m-d'), + get_the_time('H:i:sO'), + the_date('l, F j, Y,', '', '', false), + get_the_time(), + '<span class="vcard"><span class="fn n">' . $authordata->display_name . '</span></span>', + get_the_category_list(', '), + get_the_tag_list(' and tagged ', ', ') ) ?> <?php edit_post_link(__('Edit this entry', 'plaintxtblog')); ?></span> + </div> + </div><!-- .post --> + +<?php comments_template() ?> + + </div><!-- #content .hfeed --> + </div><!-- #container --> + +<?php get_sidebar() ?> +<?php get_footer() ?> \ No newline at end of file diff --git a/wp-content/themes/plaintxtblog/comments.php b/wp-content/themes/plaintxtblog/comments.php new file mode 100644 index 0000000000000000000000000000000000000000..981da0092d0e3c315b56955fe4567301523bafec --- /dev/null +++ b/wp-content/themes/plaintxtblog/comments.php @@ -0,0 +1,130 @@ +<div class="comments"> +<?php + $req = get_settings('require_name_email'); // Checks if fields are required + if ( 'comments.php' == basename($_SERVER['SCRIPT_FILENAME']) ) + die ( 'Please do not load this page directly. Thanks!' ); + if ( ! empty($post->post_password) ) : + if ( $_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password ) : +?> + <div class="nopassword"><?php _e('Enter the password to view comments to this post.', 'plaintxtblog') ?></div> +</div> +<?php + return; + endif; + endif; +?> +<?php if ( $comments ) : ?> +<?php global $plaintxtblog_comment_alt // Gives .alt class for every-other comment/pingback ?> + +<?php +$ping_count = $comment_count = 0; +foreach ( $comments as $comment ) + get_comment_type() == "comment" ? ++$comment_count : ++$ping_count; +?> + +<?php if ( $comment_count ) : ?> +<?php $plaintxtblog_comment_alt = 0 // Resets comment count for .alt classes ?> + + <h3 class="comment-header" id="numcomments"><?php printf(__($comment_count > 1 ? '%d Comments' : 'One Comment', 'plaintxtblog'), $comment_count) ?></h3> + <ol id="comments" class="commentlist"> +<?php foreach ($comments as $comment) : ?> +<?php if ( get_comment_type() == "comment" ) : ?> + <li id="comment-<?php comment_ID() ?>" class="<?php plaintxtblog_comment_class() ?>"> + <div class="comment-author vcard"><?php plaintxtblog_commenter_link() ?></div> + <?php if ($comment->comment_approved == '0') : ?><span class="unapproved"><?php _e('Your comment is awaiting moderation.', 'plaintxtblog') ?></span><?php endif; ?> + <?php comment_text() ?> + <div class="comment-meta"> + <?php printf(__('<span class="comment-datetime">Posted on %1$s at %2$s</span> <span class="meta-sep">|</span> <span class="comment-permalink"><a href="%3$s" title="Permalink to this comment">Permalink</a></span>', 'plaintxtblog'), + get_comment_date('d-M-y'), + get_comment_time(), + '#comment-' . get_comment_ID() ); + ?> <?php edit_comment_link(__('Edit', 'plaintxtblog'), '<span class="comment-edit"> | ', '</span>'); ?> + + </div> + </li> + +<?php endif; ?> +<?php endforeach; ?> + + </ol><!-- end #comments .commentlist --> + +<?php endif; ?> + +<?php if ( $ping_count ) : ?> +<?php $plaintxtblog_comment_alt = 0 // Resets comment count for .alt classes ?> + + <h3 class="comment-header" id="numpingbacks"><?php printf(__($ping_count > 1 ? '%d Trackbacks/Pingbacks' : 'One Trackback/Pingback', 'plaintxtblog'), $ping_count) ?></h3> + <ol id="pingbacks" class="commentlist"> + +<?php foreach ( $comments as $comment ) : ?> +<?php if ( get_comment_type() != "comment" ) : ?> + + <li id="comment-<?php comment_ID() ?>" class="<?php plaintxtblog_comment_class() ?>"> + <div class="comment-meta"> + <?php printf(__('<span class="pingback-author fn">%1$s</span> <span class="pingback-datetime">on %2$s at %3$s</span>', 'plaintxtblog'), + get_comment_author_link(), + get_comment_date('d-M-y'), + get_comment_time()); + ?> <?php edit_comment_link(__('Edit', 'plaintxtblog'), '<span class="comment-edit"> | ', '</span>'); ?> + </div> + <?php if ($comment->comment_approved == '0') : ?><span class="unapproved"><?php _e('Your trackback/pingback is awaiting moderation.', 'plaintxtblog') ?></span><?php endif; ?> + <?php comment_text() ?> + </li> + +<?php endif ?> +<?php endforeach; ?> + + </ol><!-- end #pingbacks .commentlist --> + +<?php endif ?> +<?php endif ?> + +<?php if ( 'open' == $post->comment_status ) : ?> + + <h3 id="respond"><?php _e('Post a Comment', 'plaintxtblog') ?></h3> +<?php if ( get_option('comment_registration') && !$user_ID ) : ?> + <div id="mustlogin"><?php printf(__('You must be <a href="%s" title="Log in">logged in</a> to post a comment.', 'plaintxtblog'), + get_option('siteurl') . '/wp-login.php?redirect_to=' . get_permalink() ) ?></div> + +<?php else : ?> + + <div class="formcontainer"> + + <form id="commentform" action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post"> + +<?php if ( $user_ID ) : ?> + + <div id="loggedin"><?php printf(__('Logged in as <a href="%1$s" title="View your profile" class="fn">%2$s</a>. <a href="%3$s" title="Log out of this account">Log out?</a>', 'plaintxtblog'), + get_option('siteurl') . '/wp-admin/profile.php', + wp_specialchars($user_identity, true), + get_option('siteurl') . '/wp-login.php?action=logout&redirect_to=' . get_permalink() ) ?></div> + +<?php else : ?> + + <div id="comment-notes"><?php _e('Your email is <em>never</em> published nor shared.', 'plaintxtblog') ?> <?php if ($req) _e('Required fields are marked <span class="req-field">*</span>', 'plaintxtblog') ?></div> + + <div class="form-input"><input id="author" name="author" type="text" value="<?php echo $comment_author ?>" size="30" maxlength="20" tabindex="3" /></div> + <div class="form-label"><label for="author"><?php _e('Name', 'plaintxtblog') ?></label> <?php if ($req) _e('<span class="req-field">*</span>', 'plaintxtblog') ?></div> + + <div class="form-input"><input id="email" name="email" type="text" value="<?php echo $comment_author_email ?>" size="30" maxlength="50" tabindex="4" /></div> + <div class="form-label"><label for="email"><?php _e('Email', 'plaintxtblog') ?></label> <?php if ($req) _e('<span class="req-field">*</span>', 'plaintxtblog') ?></div> + + <div class="form-input"><input id="url" name="url" type="text" value="<?php echo $comment_author_url ?>" size="30" maxlength="50" tabindex="5" /></div> + <div class="form-label"><label for="url"><?php _e('Website', 'plaintxtblog') ?></label></div> + +<?php endif ?> + + <div class="form-textarea"><textarea id="comment" name="comment" cols="45" rows="8" tabindex="6"></textarea></div> + <div class="form-label"><label for="comment"><?php _e('Comment', 'plaintxtblog') ?></label></div> + + <div class="form-submit"><input id="submit" name="submit" type="submit" value="<?php _e('Submit', 'plaintxtblog') ?>" tabindex="7" /><input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /></div> + +<?php do_action('comment_form', $post->ID); ?> + + </form><!-- #commentform --> + </div><!-- .formcontainer --> + +<?php endif ?> +<?php endif ?> + +</div><!-- .comments --> \ No newline at end of file diff --git a/wp-content/themes/plaintxtblog/footer.php b/wp-content/themes/plaintxtblog/footer.php new file mode 100644 index 0000000000000000000000000000000000000000..50ad344139c85a6bed730bb65ad0481e60f0b31c --- /dev/null +++ b/wp-content/themes/plaintxtblog/footer.php @@ -0,0 +1,18 @@ + <div id="footer"> + <span id="copyright">© <?php echo( date('Y') ); ?> <?php plaintxtblog_admin_hCard(); ?></span> + <span class="meta-sep">|</span> + <span id="generator-link">Powered by <a href="http://wordpress.org/" title="WordPress">WordPress</a></span> + <span class="meta-sep">|</span> + <span id="theme-link"><a href="http://www.plaintxt.org/themes/plaintxtblog/" title="plaintxtblog theme for WordPress" rel="follow designer">plaintxtblog</a> theme by <span class="vcard"><a class="url fn n" href="http://scottwallick.com/" title="scottwallick.com" rel="follow designer"><span class="given-name">Scott</span><span class="additional-name"> Allan</span><span class="family-name"> Wallick</span></a></span></span><!-- Theme design credit, that's all --> + <span class="meta-sep">|</span> + <span id="web-standards">Valid <a href="http://validator.w3.org/check/referer" title="Valid XHTML">XHTML</a> & <a href="http://jigsaw.w3.org/css-validator/validator?profile=css2&warning=2&uri=<?php bloginfo('stylesheet_url'); ?>" title="Valid CSS">CSS</a></span> + <span class="meta-sep">|</span> + <span id="footer-rss"><a href="<?php bloginfo('rss2_url') ?>" title="<?php echo wp_specialchars(get_bloginfo('name'), 1) ?> RSS 2.0 Feed" rel="alternate" type="application/rss+xml"><?php _e('Posts RSS', 'plaintxtblog') ?></a> & <a href="<?php bloginfo('comments_rss2_url') ?>" title="<?php echo wp_specialchars(bloginfo('name'), 1) ?> Comments RSS 2.0 Feed" rel="alternate" type="application/rss+xml"><?php _e('Comments RSS', 'plaintxtblog') ?></a></span> + </div><!-- #footer --> + +</div><!-- #wrapper --> + +<?php wp_footer() // Do not remove; helps plugins work ?> + +</body><!-- end transmission --> +</html> \ No newline at end of file diff --git a/wp-content/themes/plaintxtblog/functions.php b/wp-content/themes/plaintxtblog/functions.php new file mode 100644 index 0000000000000000000000000000000000000000..fcfc1eefc90777a1ccebb5858c52694796055041 --- /dev/null +++ b/wp-content/themes/plaintxtblog/functions.php @@ -0,0 +1,708 @@ +<?php +// Produces links for every page just below the header +function plaintxtblog_globalnav() { + echo "<div id=\"globalnav\"><ul id=\"menu\">"; + if ( !is_front_page() ) { ?><li class="page_item_home home-link"><a href="<?php bloginfo('home'); ?>/" title="<?php echo wp_specialchars(get_bloginfo('name'), 1) ?>" rel="home"><?php _e('Home', 'plaintxtblog') ?></a></li><?php } + $menu = wp_list_pages('title_li=&sort_column=menu_order&echo=0'); // Params for the page list in header.php + echo str_replace(array("\r", "\n", "\t"), '', $menu); + echo "</ul></div>\n"; +} + +// Produces an hCard for the "admin" user +function plaintxtblog_admin_hCard() { + global $wpdb, $user_info; + $user_info = get_userdata(1); + echo '<span class="vcard"><a class="url fn n" href="' . $user_info->user_url . '"><span class="given-name">' . $user_info->first_name . '</span> <span class="family-name">' . $user_info->last_name . '</span></a></span>'; +} + +// Produces an hCard for post authors +function plaintxtblog_author_hCard() { + global $wpdb, $authordata; + echo '<span class="entry-author author vcard"><a class="url fn n" href="' . get_author_link(false, $authordata->ID, $authordata->user_nicename) . '" title="View all posts by ' . $authordata->display_name . '">' . get_the_author() . '</a></span>'; +} + +// Produces semantic classes for the body element; Originally from the Sandbox, http://www.plaintxt.org/themes/sandbox/ +function plaintxtblog_body_class( $print = true ) { + global $wp_query, $current_user; + + $c = array('wordpress'); + + plaintxtblog_date_classes(time(), $c); + + is_home() ? $c[] = 'home' : null; + is_archive() ? $c[] = 'archive' : null; + is_date() ? $c[] = 'date' : null; + is_search() ? $c[] = 'search' : null; + is_paged() ? $c[] = 'paged' : null; + is_attachment() ? $c[] = 'attachment' : null; + is_404() ? $c[] = 'four04' : null; + + if ( is_single() ) { + the_post(); + $c[] = 'single'; + if ( isset($wp_query->post->post_date) ) + plaintxtblog_date_classes(mysql2date('U', $wp_query->post->post_date), $c, 's-'); + foreach ( (array) get_the_category() as $cat ) + $c[] = 's-category-' . $cat->category_nicename; + $c[] = 's-author-' . get_the_author_login(); + rewind_posts(); + } + + elseif ( is_author() ) { + $author = $wp_query->get_queried_object(); + $c[] = 'author'; + $c[] = 'author-' . $author->user_nicename; + } + + elseif ( is_category() ) { + $cat = $wp_query->get_queried_object(); + $c[] = 'category'; + $c[] = 'category-' . $cat->category_nicename; + } + + elseif ( is_page() ) { + the_post(); + $c[] = 'page'; + $c[] = 'page-author-' . get_the_author_login(); + rewind_posts(); + } + + if ( $current_user->ID ) + $c[] = 'loggedin'; + + $c = join(' ', apply_filters('body_class', $c)); + + return $print ? print($c) : $c; +} + +// Produces semantic classes for the each individual post div; Originally from the Sandbox, http://www.plaintxt.org/themes/sandbox/ +function plaintxtblog_post_class( $print = true ) { + global $post, $plaintxtblog_post_alt; + + $c = array('hentry', "p$plaintxtblog_post_alt", $post->post_type, $post->post_status); + + $c[] = 'author-' . get_the_author_login(); + + foreach ( (array) get_the_category() as $cat ) + $c[] = 'category-' . $cat->category_nicename; + + plaintxtblog_date_classes(mysql2date('U', $post->post_date), $c); + + if ( ++$plaintxtblog_post_alt % 2 ) + $c[] = 'alt'; + + elseif ( $post->post_password ) + $c[] = 'protected'; + + $c = join(' ', apply_filters('post_class', $c)); + + return $print ? print($c) : $c; +} +$plaintxtblog_post_alt = 1; + +// Produces semantic classes for the each individual comment li; Originally from the Sandbox, http://www.plaintxt.org/themes/sandbox/ +function plaintxtblog_comment_class( $print = true ) { + global $comment, $post, $plaintxtblog_comment_alt; + + $c = array($comment->comment_type); + + if ( $comment->user_id > 0 ) { + $user = get_userdata($comment->user_id); + + $c[] = "byuser commentauthor-$user->user_login"; + + if ( $comment->user_id === $post->post_author ) + $c[] = 'bypostauthor'; + } + + plaintxtblog_date_classes(mysql2date('U', $comment->comment_date), $c, 'c-'); + if ( ++$plaintxtblog_comment_alt % 2 ) + $c[] = 'alt'; + + $c[] = "c$plaintxtblog_comment_alt"; + + if ( is_trackback() ) { + $c[] = 'trackback'; + } + + $c = join(' ', apply_filters('comment_class', $c)); + + return $print ? print($c) : $c; +} + +// Produces date-based classes for the three functions above; Originally from the Sandbox, http://www.plaintxt.org/themes/sandbox/ +function plaintxtblog_date_classes($t, &$c, $p = '') { + $t = $t + (get_option('gmt_offset') * 3600); + $c[] = $p . 'y' . gmdate('Y', $t); + $c[] = $p . 'm' . gmdate('m', $t); + $c[] = $p . 'd' . gmdate('d', $t); + $c[] = $p . 'h' . gmdate('h', $t); +} + +// Returns other categories except the current one (redundant); Originally from the Sandbox, http://www.plaintxt.org/themes/sandbox/ +function plaintxtblog_other_cats($glue) { + $current_cat = single_cat_title('', false); + $separator = "\n"; + $cats = explode($separator, get_the_category_list($separator)); + + foreach ( $cats as $i => $str ) { + if ( strstr($str, ">$current_cat<") ) { + unset($cats[$i]); + break; + } + } + + if ( empty($cats) ) + return false; + + return trim(join($glue, $cats)); +} + +// Returns other tags except the current one (redundant); Originally from the Sandbox, http://www.plaintxt.org/themes/sandbox/ +function plaintxtblog_other_tags($glue) { + $current_tag = single_tag_title('', '', false); + $separator = "\n"; + $tags = explode($separator, get_the_tag_list("", "$separator", "")); + + foreach ( $tags as $i => $str ) { + if ( strstr($str, ">$current_tag<") ) { + unset($tags[$i]); + break; + } + } + + if ( empty($tags) ) + return false; + + return trim(join($glue, $tags)); +} + +// Produces an avatar image with the hCard-compliant photo class +function plaintxtblog_commenter_link() { + $commenter = get_comment_author_link(); + if ( ereg( '<a[^>]* class=[^>]+>', $commenter ) ) { + $commenter = ereg_replace( '(<a[^>]* class=[\'"]?)', '\\1url ' , $commenter ); + } else { + $commenter = ereg_replace( '(<a )/', '\\1class="url "' , $commenter ); + } + $email = get_comment_author_email(); + $avatar_size = get_option('plaintxtblog_avatarsize'); + if ( empty($avatar_size) ) $avatar_size = '24'; + $avatar = str_replace( "class='avatar", "class='photo avatar", get_avatar( "$email", "$avatar_size" ) ); + echo $avatar . ' <span class="fn n">' . $commenter . '</span>'; +} + +// Function to filter the default gallery shortcode +function plaintxtblog_gallery($attr) { + global $post; + if ( isset($attr['orderby']) ) { + $attr['orderby'] = sanitize_sql_orderby($attr['orderby']); + if ( !$attr['orderby'] ) + unset($attr['orderby']); + } + + extract(shortcode_atts( array( + 'orderby' => 'menu_order ASC, ID ASC', + 'id' => $post->ID, + 'itemtag' => 'dl', + 'icontag' => 'dt', + 'captiontag' => 'dd', + 'columns' => 3, + 'size' => 'thumbnail', + ), $attr )); + + $id = intval($id); + $orderby = addslashes($orderby); + $attachments = get_children("post_parent=$id&post_type=attachment&post_mime_type=image&orderby={$orderby}"); + + if ( empty($attachments) ) + return null; + + if ( is_feed() ) { + $output = "\n"; + foreach ( $attachments as $id => $attachment ) + $output .= wp_get_attachment_link( $id, $size, true ) . "\n"; + return $output; + } + + $listtag = tag_escape($listtag); + $itemtag = tag_escape($itemtag); + $captiontag = tag_escape($captiontag); + $columns = intval($columns); + $itemwidth = $columns > 0 ? floor(100/$columns) : 100; + + $output = apply_filters( 'gallery_style', "\n" . '<div class="gallery">', 9 ); // Available filter: gallery_style + + foreach ( $attachments as $id => $attachment ) { + $img_lnk = get_attachment_link($id); + $img_src = wp_get_attachment_image_src( $id, $size ); + $img_src = $img_src[0]; + $img_alt = $attachment->post_excerpt; + if ( $img_alt == null ) + $img_alt = $attachment->post_title; + $img_rel = apply_filters( 'gallery_img_rel', 'attachment' ); // Available filter: gallery_img_rel + $img_class = apply_filters( 'gallery_img_class', 'gallery-image' ); // Available filter: gallery_img_class + + $output .= "\n\t" . '<' . $itemtag . ' class="gallery-item gallery-columns-' . $columns .'">'; + $output .= "\n\t\t" . '<' . $icontag . ' class="gallery-icon"><a href="' . $img_lnk . '" title="' . $img_alt . '" rel="' . $img_rel . '"><img src="' . $img_src . '" alt="' . $img_alt . '" class="' . $img_class . ' attachment-' . $size . '" /></a></' . $icontag . '>'; + + if ( $captiontag && trim($attachment->post_excerpt) ) { + $output .= "\n\t\t" . '<' . $captiontag . ' class="gallery-caption">' . $attachment->post_excerpt . '</' . $captiontag . '>'; + } + + $output .= "\n\t" . '</' . $itemtag . '>'; + if ( $columns > 0 && ++$i % $columns == 0 ) + $output .= "\n</div>\n" . '<div class="gallery">'; + } + $output .= "\n</div>\n"; + + return $output; +} + + +// Loads a plaintxtblog-style Search widget +function widget_plaintxtblog_search($args) { + extract($args); + $options = get_option('widget_plaintxtblog_search'); + $title = empty($options['title']) ? __( 'Search', 'plaintxtblog' ) : $options['title']; + $button = empty($options['button']) ? __( 'Find', 'plaintxtblog' ) : $options['button']; +?> + <?php echo $before_widget ?> + <?php echo $before_title ?><label for="s"><?php echo $title ?></label><?php echo $after_title ?> + <form id="searchform" method="get" action="<?php bloginfo('home') ?>"> + <div> + <input id="s" name="s" class="text-input" type="text" value="<?php the_search_query() ?>" size="10" tabindex="1" accesskey="S" /> + <input id="searchsubmit" name="searchsubmit" class="submit-button" type="submit" value="<?php echo $button ?>" tabindex="2" /> + </div> + </form> + <?php echo $after_widget ?> +<?php +} + +// Widget: Search; element controls for customizing text within Widget plugin +function widget_plaintxtblog_search_control() { + $options = $newoptions = get_option('widget_plaintxtblog_search'); + if ( $_POST['search-submit'] ) { + $newoptions['title'] = strip_tags( stripslashes( $_POST['search-title'] ) ); + $newoptions['button'] = strip_tags( stripslashes( $_POST['search-button'] ) ); + } + if ( $options != $newoptions ) { + $options = $newoptions; + update_option( 'widget_plaintxtblog_search', $options ); + } + $title = attribute_escape( $options['title'] ); + $button = attribute_escape( $options['button'] ); +?> + <p><label for="search-title"><?php _e( 'Title:', 'plaintxtblog' ) ?> <input class="widefat" id="search-title" name="search-title" type="text" value="<?php echo $title; ?>" /></label></p> + <p><label for="search-button"><?php _e( 'Button Text:', 'plaintxtblog' ) ?> <input class="widefat" id="search-button" name="search-button" type="text" value="<?php echo $button; ?>" /></label></p> + <input type="hidden" id="search-submit" name="search-submit" value="1" /> +<?php +} + +// Loads a plaintxtblog-style Meta widget +function widget_plaintxtblog_meta($args) { + extract($args); + $options = get_option('widget_meta'); + $title = empty($options['title']) ? __('Meta', 'plaintxtblog') : $options['title']; +?> + <?php echo $before_widget; ?> + <?php echo $before_title . $title . $after_title; ?> + <ul> + <?php wp_register() ?> + <li><?php wp_loginout() ?></li> + <?php wp_meta() ?> + </ul> + <?php echo $after_widget; ?> +<?php +} + +function widget_plaintxtblog_homelink($args) { + extract($args); + $options = get_option('widget_plaintxtblog_homelink'); + $title = empty($options['title']) ? __( 'Home', 'plaintxtblog' ) : $options['title']; + if ( !is_front_page() || is_paged() ) { +?> + <?php echo $before_widget; ?> + <?php echo $before_title; ?><a href="<?php bloginfo('home'); ?>/" title="<?php echo wp_specialchars(get_bloginfo('name'), 1) ?>" rel="home"><?php echo $title; ?></a><?php echo $after_title; ?> + <?php echo $after_widget; ?> +<?php } +} + +// Loads the control functions for the Home Link, allowing control of its text +function widget_plaintxtblog_homelink_control() { + $options = $newoptions = get_option('widget_plaintxtblog_homelink'); + if ( $_POST['homelink-submit'] ) { + $newoptions['title'] = strip_tags( stripslashes( $_POST['homelink-title'] ) ); + } + if ( $options != $newoptions ) { + $options = $newoptions; + update_option( 'widget_plaintxtblog_homelink', $options ); + } + $title = attribute_escape( $options['title'] ); +?> + <p><?php _e('Adds a link to the home page on every page <em>except</em> the home.', 'plaintxtblog'); ?></p> + <p><label for="homelink-title"><?php _e( 'Title:', 'plaintxtblog' ) ?> <input class="widefat" id="homelink-title" name="homelink-title" type="text" value="<?php echo $title; ?>" /></label></p> + <input type="hidden" id="homelink-submit" name="homelink-submit" value="1" /> +<?php +} + +// Loads plaintxtblog-style RSS Links (separate from Meta) widget +function widget_plaintxtblog_rsslinks($args) { + extract($args); + $options = get_option('widget_plaintxtblog_rsslinks'); + $title = empty($options['title']) ? __( 'RSS Links', 'plaintxtblog' ) : $options['title']; +?> + <?php echo $before_widget; ?> + <?php echo $before_title . $title . $after_title; ?> + <ul> + <li><a href="<?php bloginfo('rss2_url') ?>" title="<?php echo wp_specialchars( get_bloginfo('name'), 1 ) ?> <?php _e( 'Posts RSS feed', 'plaintxtblog' ); ?>" rel="alternate" type="application/rss+xml"><?php _e( 'All posts', 'plaintxtblog' ) ?></a></li> + <li><a href="<?php bloginfo('comments_rss2_url') ?>" title="<?php echo wp_specialchars(bloginfo('name'), 1) ?> <?php _e( 'Comments RSS feed', 'plaintxtblog' ); ?>" rel="alternate" type="application/rss+xml"><?php _e( 'All comments', 'plaintxtblog' ) ?></a></li> + </ul> + <?php echo $after_widget; ?> +<?php +} + +// Loads the control functions for the RSS Links, allowing control of its text +function widget_plaintxtblog_rsslinks_control() { + $options = $newoptions = get_option('widget_plaintxtblog_rsslinks'); + if ( $_POST['rsslinks-submit'] ) { + $newoptions['title'] = strip_tags( stripslashes( $_POST['rsslinks-title'] ) ); + } + if ( $options != $newoptions ) { + $options = $newoptions; + update_option( 'widget_plaintxtblog_rsslinks', $options ); + } + $title = attribute_escape( $options['title'] ); +?> + <p><label for="rsslinks-title"><?php _e( 'Title:', 'plaintxtblog' ) ?> <input class="widefat" id="rsslinks-title" name="rsslinks-title" type="text" value="<?php echo $title; ?>" /></label></p> + <input type="hidden" id="rsslinks-submit" name="rsslinks-submit" value="1" /> +<?php +} + +// Loads, checks that Widgets are loaded and working +function plaintxtblog_widgets_init() { + if ( !function_exists('register_sidebars') ) + return; + + $p = array( + 'before_title' => "<h3 class='widgettitle'>", + 'after_title' => "</h3>\n", + ); + + register_sidebars(2, $p); + + // Finished intializing Widgets plugin, now let's load the plaintxtBlog default widgets; first, plaintxtBlog search widget + $widget_ops = array( + 'classname' => 'widget_search', + 'description' => __( "A search form for your blog (plaintxtBlog)", "plaintxtblog" ) + ); + wp_register_sidebar_widget( 'search', __( 'Search', 'plaintxtblog' ), 'widget_plaintxtblog_search', $widget_ops ); + unregister_widget_control('search'); + wp_register_widget_control( 'search', __( 'Search', 'plaintxtblog' ), 'widget_plaintxtblog_search_control' ); + + // plaintxtBlog Meta widget + $widget_ops = array( + 'classname' => 'widget_meta', + 'description' => __( "Log in/out and administration links (plaintxtBlog)", "plaintxtblog" ) + ); + wp_register_sidebar_widget( 'meta', __( 'Meta', 'plaintxtblog' ), 'widget_plaintxtblog_meta', $widget_ops ); + unregister_widget_control('meta'); + wp_register_widget_control( 'meta', __('Meta'), 'wp_widget_meta_control' ); + + //plaintxtBlog Home Link widget + $widget_ops = array( + 'classname' => 'widget_home_link', + 'description' => __( "Link to the front page when elsewhere (plaintxtBlog)", "plaintxtblog" ) + ); + wp_register_sidebar_widget( 'home_link', __( 'Home Link', 'plaintxtblog' ), 'widget_plaintxtblog_homelink', $widget_ops ); + wp_register_widget_control( 'home_link', __( 'Home Link', 'plaintxtblog' ), 'widget_plaintxtblog_homelink_control' ); + + //plaintxtBlog RSS Links widget + $widget_ops = array( + 'classname' => 'widget_rss_links', + 'description' => __( "RSS links for both posts and comments (plaintxtBlog)", "plaintxtblog" ) + ); + wp_register_sidebar_widget( 'rss_links', __( 'RSS Links', 'plaintxtblog' ), 'widget_plaintxtblog_rsslinks', $widget_ops ); + wp_register_widget_control( 'rss_links', __( 'RSS Links', 'plaintxtblog' ), 'widget_plaintxtblog_rsslinks_control' ); +} + +// Loads the admin menu; sets default settings for each +function plaintxtblog_add_admin() { + if ( $_GET['page'] == basename(__FILE__) ) { + if ( 'save' == $_REQUEST['action'] ) { + check_admin_referer('plaintxtblog_save_options'); + update_option( 'plaintxtblog_basefontsize', strip_tags( stripslashes( $_REQUEST['ptb_basefontsize'] ) ) ); + update_option( 'plaintxtblog_basefontfamily', strip_tags( stripslashes( $_REQUEST['ptb_basefontfamily'] ) ) ); + update_option( 'plaintxtblog_headingfontfamily', strip_tags( stripslashes( $_REQUEST['ptb_headingfontfamily'] ) ) ); + update_option( 'plaintxtblog_posttextalignment', strip_tags( stripslashes( $_REQUEST['ptb_posttextalignment'] ) ) ); + update_option( 'plaintxtblog_sidebarposition', strip_tags( stripslashes( $_REQUEST['ptb_sidebarposition'] ) ) ); + update_option( 'plaintxtblog_sidebartextalignment', strip_tags( stripslashes( $_REQUEST['ptb_sidebartextalignment'] ) ) ); + update_option( 'plaintxtblog_singlelayout', strip_tags( stripslashes( $_REQUEST['ptb_singlelayout'] ) ) ); + update_option( 'plaintxtblog_avatarsize', strip_tags( stripslashes( $_REQUEST['ptb_avatarsize'] ) ) ); + header("Location: themes.php?page=functions.php&saved=true"); + die; + } else if( 'reset' == $_REQUEST['action'] ) { + check_admin_referer('plaintxtblog_reset_options'); + delete_option('plaintxtblog_basefontsize'); + delete_option('plaintxtblog_basefontfamily'); + delete_option('plaintxtblog_headingfontfamily'); + delete_option('plaintxtblog_posttextalignment'); + delete_option('plaintxtblog_sidebarposition'); + delete_option('plaintxtblog_sidebartextalignment'); + delete_option('plaintxtblog_singlelayout'); + delete_option('plaintxtblog_avatarsize'); + header("Location: themes.php?page=functions.php&reset=true"); + die; + } + add_action('admin_head', 'plaintxtblog_admin_head'); + } + add_theme_page( __( 'plaintxtBlog Theme Options', 'plaintxtblog' ), __( 'Theme Options', 'plaintxtblog' ), 'edit_themes', basename(__FILE__), 'plaintxtblog_admin' ); +} + +function plaintxtblog_donate() { + $form = '<form id="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post"> + <div id="donate"> + <input type="hidden" name="cmd" value="_s-xclick" /> + <input type="image" name="submit" src="https://www.paypal.com/en_US/i/btn/x-click-butcc-donate.gif" alt="Donate with PayPal - it\'s fast, free and secure!" /> + <img src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1" alt="Donate with PayPal" /> + <input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHVwYJKoZIhvcNAQcEoIIHSDCCB0QCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYC5WHxsE1rn1TvK9Dg/ad7ghN0eEUkH+Ghhx5603Ztt4PdCkq1JjJrfw9qmxGvbRn0kWm7Vb/BlIxghleOsQD3gLvzW5xaOUJFvTH79YZc4GtS1YwKbJRtWUi41ISqx1YXu41D8wFLsRrPhHT7lQ44k8GvEsh9hEQmHC1fMDS6yzzELMAkGBSsOAwIaBQAwgdQGCSqGSIb3DQEHATAUBggqhkiG9w0DBwQIFybuzsj53CaAgbDxIXqQ6+wOrMYUusDguJczFEALUCWoic/DpJMk0s65pEgWoGfykGVxfyeqwW1ntjgF9MpXjKkIsdGuIfzef0dTPiu1v8vRE7D2cZBGdVlq533eGkP/ykPs8ygVIW5LJyYXDro0fsP6W36i0vQ7zyy980ohy2rxtHBquWhnoRVF9WM3DdtWBdhAlePResDI6ZO/K78lzb5HQ3YUfYHkb+sCk1CwtUbnk5np6qauqcAUoqCCA4cwggODMIIC7KADAgECAgEAMA0GCSqGSIb3DQEBBQUAMIGOMQswCQYDVQQGEwJVUzELMAkGA1UECBMCQ0ExFjAUBgNVBAcTDU1vdW50YWluIFZpZXcxFDASBgNVBAoTC1BheVBhbCBJbmMuMRMwEQYDVQQLFApsaXZlX2NlcnRzMREwDwYDVQQDFAhsaXZlX2FwaTEcMBoGCSqGSIb3DQEJARYNcmVAcGF5cGFsLmNvbTAeFw0wNDAyMTMxMDEzMTVaFw0zNTAyMTMxMDEzMTVaMIGOMQswCQYDVQQGEwJVUzELMAkGA1UECBMCQ0ExFjAUBgNVBAcTDU1vdW50YWluIFZpZXcxFDASBgNVBAoTC1BheVBhbCBJbmMuMRMwEQYDVQQLFApsaXZlX2NlcnRzMREwDwYDVQQDFAhsaXZlX2FwaTEcMBoGCSqGSIb3DQEJARYNcmVAcGF5cGFsLmNvbTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAwUdO3fxEzEtcnI7ZKZL412XvZPugoni7i7D7prCe0AtaHTc97CYgm7NsAtJyxNLixmhLV8pyIEaiHXWAh8fPKW+R017+EmXrr9EaquPmsVvTywAAE1PMNOKqo2kl4Gxiz9zZqIajOm1fZGWcGS0f5JQ2kBqNbvbg2/Za+GJ/qwUCAwEAAaOB7jCB6zAdBgNVHQ4EFgQUlp98u8ZvF71ZP1LXChvsENZklGswgbsGA1UdIwSBszCBsIAUlp98u8ZvF71ZP1LXChvsENZklGuhgZSkgZEwgY4xCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEUMBIGA1UEChMLUGF5UGFsIEluYy4xEzARBgNVBAsUCmxpdmVfY2VydHMxETAPBgNVBAMUCGxpdmVfYXBpMRwwGgYJKoZIhvcNAQkBFg1yZUBwYXlwYWwuY29tggEAMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEFBQADgYEAgV86VpqAWuXvX6Oro4qJ1tYVIT5DgWpE692Ag422H7yRIr/9j/iKG4Thia/Oflx4TdL+IFJBAyPK9v6zZNZtBgPBynXb048hsP16l2vi0k5Q2JKiPDsEfBhGI+HnxLXEaUWAcVfCsQFvd2A1sxRr67ip5y2wwBelUecP3AjJ+YcxggGaMIIBlgIBATCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwCQYFKw4DAhoFAKBdMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTA4MDMwOTAzNTIxOFowIwYJKoZIhvcNAQkEMRYEFDCH6yPl7P/aK4R5dCHcArGh0mWRMA0GCSqGSIb3DQEBAQUABIGAuhyKAd6sGZr4oyAwC54f/IbX5cNUgl3rDIKYR6WxvU+sw3+kYS4xo2CybOuCvn5zKytta0NMM5ntBmgKn4OU/XngltcV30s3ytgLo/obCUJBJRTjAAxaaK8PtnKuQ3/fsizbRwjNSzal0WDhW96E7t2EtH6tFninKIwZFG+8Vcc=-----END PKCS7-----" /> + </div> + </form>' . "\n\t"; + echo $form; +} + +function plaintxtblog_admin_head() { +// Additional CSS styles for the theme options menu +?> +<style type="text/css" media="screen,projection"> +/*<![CDATA[*/ + p.info span{font-weight:bold;} + label.arial,label.courier,label.georgia,label.lucida-console,label.lucida-unicode,label.tahoma,label.times,label.trebuchet,label.verdana{font-size:1.2em;line-height:175%;} + .arial{font-family:arial,helvetica,sans-serif;} + .courier{font-family:'courier new',courier,monospace;} + .georgia{font-family:georgia,times,serif;} + .lucida-console{font-family:'lucida console',monaco,monospace;} + .lucida-unicode{font-family:'lucida sans unicode','lucida grande',sans-serif;} + .tahoma{font-family:tahoma,geneva,sans-serif;} + .times{font-family:'times new roman',times,serif;} + .trebuchet{font-family:'trebuchet ms',helvetica,sans-serif;} + .verdana{font-family:verdana,geneva,sans-serif;} + form#paypal{float:right;margin:1em 0 0.5em 1em;} +/*]]>*/ +</style> +<?php +} + +function plaintxtblog_admin() { // Theme options menu + if ( $_REQUEST['saved'] ) { ?><div id="message1" class="updated fade"><p><?php printf(__('PlaintxtBlog theme options saved. <a href="%s">View site.</a>', 'plaintxtblog'), get_bloginfo('home') . '/'); ?></p></div><?php } + if ( $_REQUEST['reset'] ) { ?><div id="message2" class="updated fade"><p><?php _e('PlaintxtBlog theme options reset.', 'plaintxtblog'); ?></p></div><?php } ?> + +<div class="wrap"> + <h2><?php _e('PlaintxtBlog Theme Options', 'plaintxtblog'); ?></h2> + <?php printf( __('%1$s<p>Thanks for selecting the <a href="http://www.plaintxt.org/themes/plaintxtblog/" title="PlaintxtBlog theme for WordPress">plaintxtBlog</a> theme by <span class="vcard"><a class="url fn n" href="http://scottwallick.com/" title="scottwallick.com" rel="me designer"><span class="given-name">Scott</span> <span class="additional-name">Allan</span> <span class="family-name">Wallick</span></a></span>. Please read the included <a href="%2$s" title="Open the readme.html" rel="enclosure" id="readme">documentation</a> for more information about the blog.txt and its advanced features. <strong>If you find this theme useful, please consider <label for="paypal">donating</label>.</strong> You must click on <i><u>S</u>ave Options</i> to save any changes. You can also discard your changes and reload the default settings by clicking on <i><u>R</u>eset</i>.</p>', 'plaintxtblog'), plaintxtblog_donate(), get_template_directory_uri() . '/readme.html' ); ?> + + <form action="<?php echo wp_specialchars( $_SERVER['REQUEST_URI'] ) ?>" method="post"> + <?php wp_nonce_field('plaintxtblog_save_options'); echo "\n"; ?> + <h3><?php _e('Typography', 'plaintxtblog'); ?></h3> + <table class="form-table" summary="PlaintxtBlog typography options"> + <tr valign="top"> + <th scope="row"><label for="ptb_basefontsize"><?php _e('Base font size', 'plaintxtblog'); ?></label></th> + <td> + <input id="ptb_basefontsize" name="ptb_basefontsize" type="text" class="text" value="<?php if ( get_option('plaintxtblog_basefontsize') == "" ) { echo "70%"; } else { echo attribute_escape( get_option('plaintxtblog_basefontsize') ); } ?>" tabindex="1" size="10" /> + <p class="info"><?php _e('The base font size globally affects the size of text throughout your blog. This can be in any unit (e.g., px, pt, em), but I suggest using a percentage (%). Default is <span>70%</span>.', 'plaintxtblog'); ?></p> + </td> + </tr> + <tr valign="top"> + <th scope="row"><?php _e('Base font family', 'plaintxtblog'); ?></th> + <td> + <input id="ptb_basefontArial" name="ptb_basefontfamily" type="radio" class="radio" value="arial, helvetica, sans-serif" <?php if ( get_option('plaintxtblog_basefontfamily') == "arial, helvetica, sans-serif" ) { echo 'checked="checked"'; } ?> tabindex="2" /> <label for="ptb_basefontArial" class="arial">Arial</label><br /> + <input id="ptb_basefontCourier" name="ptb_basefontfamily" type="radio" class="radio" value="'courier new', courier, monospace" <?php if ( get_option('plaintxtblog_basefontfamily') == "'courier new', courier, monospace" ) { echo 'checked="checked"'; } ?> tabindex="3" /> <label for="ptb_basefontCourier" class="courier">Courier</label><br /> + <input id="ptb_basefontGeorgia" name="ptb_basefontfamily" type="radio" class="radio" value="georgia, times, serif" <?php if ( get_option('plaintxtblog_basefontfamily') == "georgia, times, serif" ) { echo 'checked="checked"'; } ?> tabindex="4" /> <label for="ptb_basefontGeorgia" class="georgia">Georgia</label><br /> + <input id="ptb_basefontLucidaConsole" name="ptb_basefontfamily" type="radio" class="radio" value="'lucida console', monaco, monospace" <?php if ( get_option('plaintxtblog_basefontfamily') == "'lucida console', monaco, monospace" ) { echo 'checked="checked"'; } ?> tabindex="5" /> <label for="ptb_basefontLucidaConsole" class="lucida-console">Lucida Console</label><br /> + <input id="ptb_basefontLucidaUnicode" name="ptb_basefontfamily" type="radio" class="radio" value="'lucida sans unicode', 'lucida grande', sans-serif" <?php if ( get_option('plaintxtblog_basefontfamily') == "'lucida sans unicode', 'lucida grande', sans-serif" ) { echo 'checked="checked"'; } ?> tabindex="6" /> <label for="ptb_basefontLucidaUnicode" class="lucida-unicode">Lucida Sans Unicode</label><br /> + <input id="ptb_basefontTahoma" name="ptb_basefontfamily" type="radio" class="radio" value="tahoma, geneva, sans-serif" <?php if ( get_option('plaintxtblog_basefontfamily') == "tahoma, geneva, sans-serif" ) { echo 'checked="checked"'; } ?> tabindex="7" /> <label for="ptb_basefontTahoma" class="tahoma">Tahoma</label><br /> + <input id="ptb_basefontTimes" name="ptb_basefontfamily" type="radio" class="radio" value="'times new roman', times, serif" <?php if ( get_option('plaintxtblog_basefontfamilyfamily') == "'times new roman', times, serif" ) { echo 'checked="checked"'; } ?> tabindex="8" /> <label for="ptb_basefontTimes" class="times">Times</label><br /> + <input id="ptb_basefontTrebuchetMS" name="ptb_basefontfamily" type="radio" class="radio" value="'trebuchet ms', helvetica, sans-serif" <?php if ( get_option('plaintxtblog_basefontfamily') == "'trebuchet ms', helvetica, sans-serif" ) { echo 'checked="checked"'; } ?> tabindex="9" /> <label for="ptb_basefontTrebuchetMS" class="trebuchet">Trebuchet MS</label><br /> + <input id="ptb_basefontVerdana" name="ptb_basefontfamily" type="radio" class="radio" value="verdana, geneva, sans-serif" <?php if ( ( get_option('plaintxtblog_basefontfamily') == "") || ( get_option('plaintxtblog_basefontfamily') == "verdana, geneva, sans-serif") ) { echo 'checked="checked"'; } ?> tabindex="10" /> <label for="ptb_basefontVerdana" class="verdana">Verdana</label><br /> + <p class="info"><?php printf(__('The base font family sets the font for everything except content headings. The selection is limited to %1$s fonts, as they will display correctly. Default is <span class="verdana">Verdana</span>.', 'plaintxtblog'), '<cite><a href="http://en.wikipedia.org/wiki/Web_safe_fonts" title="Web safe fonts - Wikipedia">web safe</a></cite>'); ?></p> + </td> + </tr> + <tr valign="top"> + <th scope="row"><?php _e('Heading font family', 'plaintxtblog'); ?></th> + <td> + <input id="ptb_headingfontArial" name="ptb_headingfontfamily" type="radio" class="radio" value="arial, helvetica, sans-serif" <?php if ( get_option('plaintxtblog_headingfontfamilyfamily') == "arial, helvetica, sans-serif" ) { echo 'checked="checked"'; } ?> tabindex="11" /> <label for="ptb_headingfontArial" class="arial">Arial</label><br /> + <input id="ptb_headingfontCourier" name="ptb_headingfontfamily" type="radio" class="radio" value="'courier new', courier, monospace" <?php if ( get_option('plaintxtblog_headingfontfamily') == "'courier new', courier, monospace" ) { echo 'checked="checked"'; } ?> tabindex="12" /> <label for="ptb_headingfontCourier" class="courier">Courier</label><br /> + <input id="ptb_headingfontGeorgia" name="ptb_headingfontfamily" type="radio" class="radio" value="georgia, times, serif" <?php if ( get_option('plaintxtblog_headingfontfamily') == "georgia, times, serif" ) { echo 'checked="checked"'; } ?> tabindex="13" /> <label for="ptb_headingfontGeorgia" class="georgia">Georgia</label><br /> + <input id="ptb_headingfontLucidaConsole" name="ptb_headingfontfamily" type="radio" class="radio" value="'lucida console', monaco, monospace" <?php if ( get_option('plaintxtblog_headingfontfamily') == "'lucida console', monaco, monospace" ) { echo 'checked="checked"'; } ?> tabindex="14" /> <label for="ptb_headingfontLucidaConsole" class="lucida-console">Lucida Console</label><br /> + <input id="ptb_headingfontLucidaUnicode" name="ptb_headingfontfamily" type="radio" class="radio" value="'lucida sans unicode', 'lucida grande', sans-serif" <?php if ( get_option('plaintxtblog_headingfontfamily') == "'lucida sans unicode', 'lucida grande', sans-serif" ) { echo 'checked="checked"'; } ?> tabindex="15" /> <label for="ptb_headingfontLucidaUnicode" class="lucida-unicode">Lucida Sans Unicode</label><br /> + <input id="ptb_headingfontTahoma" name="ptb_headingfontfamily" type="radio" class="radio" value="tahoma, geneva, sans-serif" <?php if ( get_option('plaintxtblog_headingfontfamily') == "tahoma, geneva, sans-serif" ) { echo 'checked="checked"'; } ?> tabindex="16" /> <label for="ptb_headingfontTahoma" class="tahoma">Tahoma</label><br /> + <input id="ptb_headingfontTimes" name="ptb_headingfontfamily" type="radio" class="radio" value="'times new roman', times, serif" <?php if ( get_option('plaintxtblog_headingfontfamily') == "'times new roman', times, serif" ) { echo 'checked="checked"'; } ?> tabindex="17" /> <label for="ptb_headingfontTimes" class="times">Times</label><br /> + <input id="ptb_headingfontTrebuchetMS" name="ptb_headingfontfamily" type="radio" class="radio" value="'trebuchet ms', helvetica, sans-serif" <?php if ( get_option('plaintxtblog_headingfontfamily') == "'trebuchet ms', helvetica, sans-serif" ) { echo 'checked="checked"'; } ?> tabindex="18" /> <label for="ptb_headingfontTrebuchetMS" class="trebuchet">Trebuchet MS</label><br /> + <input id="ptb_headingfontVerdana" name="ptb_headingfontfamily" type="radio" class="radio" value="verdana, geneva, sans-serif" <?php if ( ( get_option('plaintxtblog_headingfontfamily') == "verdana, geneva, sans-serif") || ( get_option('plaintxtblog_headingfontfamily') == "") ) { echo 'checked="checked"'; } ?> tabindex="19" /> <label for="ptb_headingfontVerdana" class="verdana">Verdana</label><br /> + <p class="info"><?php printf(__('The heading font family sets the font for all content headings. The selection is limited to %1$s fonts, as they will display correctly. Default is <span class="verdana">Verdana</span>. ', 'plaintxtblog'), '<cite><a href="http://en.wikipedia.org/wiki/Web_safe_fonts" title="Web safe fonts - Wikipedia">web safe</a></cite>'); ?></p> + </td> + </tr> + </table> + <h3><?php _e('Layout', 'plaintxtblog'); ?></h3> + <table class="form-table" summary="PlaintxtBlog layout options"> + <tr valign="top"> + <th scope="row"><label for="ptb_posttextalignment"><?php _e('Post text alignment', 'plaintxtblog'); ?></label></th> + <td> + <select id="ptb_posttextalignment" name="ptb_posttextalignment" tabindex="23" class="dropdown"> + <option value="center" <?php if ( get_option('plaintxtblog_posttextalignment') == "center" ) { echo 'selected="selected"'; } ?>><?php _e('Centered', 'plaintxtblog'); ?> </option> + <option value="justify" <?php if ( get_option('plaintxtblog_posttextalignment') == "justify" ) { echo 'selected="selected"'; } ?>><?php _e('Justified', 'plaintxtblog'); ?> </option> + <option value="left" <?php if ( ( get_option('plaintxtblog_posttextalignment') == "") || ( get_option('plaintxtblog_posttextalignment') == "left") ) { echo 'selected="selected"'; } ?>><?php _e('Left', 'plaintxtblog'); ?> </option> + <option value="right" <?php if ( get_option('plaintxtblog_posttextalignment') == "right" ) { echo 'selected="selected"'; } ?>><?php _e('Right', 'plaintxtblog'); ?> </option> + </select> + <p class="info"><?php _e('Choose one of the options for the alignment of the post entry text. Default is <span>left</span>.', 'plaintxtblog'); ?></p> + </td> + </tr> + <tr valign="top"> + <th scope="row"><label for="ptb_sidebarposition"><?php _e('Sidebar position', 'plaintxtblog'); ?></label></th> + <td> + <select id="ptb_sidebarposition" name="ptb_sidebarposition" tabindex="24" class="dropdown"> + <option value="left" <?php if ( ( get_option('plaintxtblog_sidebarposition') == "") || ( get_option('plaintxtblog_sidebarposition') == "left") ) { echo 'selected="selected"'; } ?>><?php _e('Left of content', 'plaintxtblog'); ?> </option> + <option value="right" <?php if ( get_option('plaintxtblog_sidebarposition') == "right" ) { echo 'selected="selected"'; } ?>><?php _e('Right of content', 'plaintxtblog'); ?> </option> + </select> + <p class="info"><?php _e('The sidebar can be positioned to the left or the right of the main content column. Default is <span>left of content</span>.', 'plaintxtblog'); ?></p> + </td> + </tr> + <tr valign="top"> + <th scope="row"><label for="ptb_sidebartextalignment" class="dropdown"><?php _e('Sidebar text alignment', 'plaintxtblog'); ?></label></th> + <td> + <select id="ptb_sidebartextalignment" name="ptb_sidebartextalignment" tabindex="25" class="dropdown"> + <option value="center" <?php if ( get_option('plaintxtblog_sidebartextalignment') == "center" ) { echo 'selected="selected"'; } ?>><?php _e('Centered', 'plaintxtblog'); ?> </option> + <option value="left" <?php if ( get_option('plaintxtblog_sidebartextalignment') == "left" ) { echo 'selected="selected"'; } ?>><?php _e('Left', 'plaintxtblog'); ?> </option> + <option value="right" <?php if ( ( get_option('plaintxtblog_sidebartextalignment') == "") || ( get_option('plaintxtblog_sidebartextalignment') == "right") ) { echo 'selected="selected"'; } ?>><?php _e('Right', 'plaintxtblog'); ?> </option> + </select> + <p class="info"><?php _e('Choose one of the options for the alignment of the sidebar text. Default is <span>right</span>.', 'plaintxtblog'); ?></p> + </td> + </tr> + <tr valign="top"> + <th scope="row"><label for="ptb_singlelayout"><?php _e('Single post layout', 'plaintxtblog'); ?></label></th> + <td> + <select id="ptb_singlelayout" name="ptb_singlelayout" tabindex="26" class="dropdown"> + <option value="normalsingle" <?php if ( ( get_option('plaintxtblog_singlelayout') == "") || ( get_option('plaintxtblog_singlelayout') == "normalsingle") ) { echo 'selected="selected"'; } ?>><?php _e('Normal layout (3 columns)', 'plaintxtblog'); ?> </option> + <option value="singlesingle" <?php if ( get_option('plaintxtblog_singlelayout') == "singlesingle" ) { echo 'selected="selected"'; } ?>><?php _e('Minimal layout (1 column)', 'plaintxtblog'); ?> </option> + </select> + <p class="info"><?php _e('The single <em>post</em> layout can either be three column (normal) or one column (minimal). Default is <span>normal layout (3 columns)</span>. ', 'plaintxtblog'); ?></p> + </td> + </tr> + </table> + <h3><?php _e('Content', 'plaintxtblog'); ?></h3> + <table class="form-table" summary="PlaintxtBlog content options"> + <tr valign="top"> + <th scope="row"><label for="ptb_avatarsize"><?php _e('Avatar size', 'plaintxtblog'); ?></label></th> + <td> + <input id="ptb_avatarsize" name="ptb_avatarsize" type="text" class="text" value="<?php if ( get_option('plaintxtblog_avatarsize') == "" ) { echo "24"; } else { echo attribute_escape( get_option('plaintxtblog_avatarsize') ); } ?>" size="6" /> + <p class="info"><?php _e('Sets the avatar size in pixels, if avatars are enabled. Default is <span>24</span>.', 'plaintxtblog'); ?></p> + </td> + </tr> + </table> + <p class="submit"> + <input name="save" type="submit" value="<?php _e('Save Options', 'plaintxtblog'); ?>" tabindex="27" accesskey="S" /> + <input name="action" type="hidden" value="save" /> + <input name="page_options" type="hidden" value="ptb_basefontsize,ptb_basefontfamily,ptb_headingfontfamily,ptb_posttextalignment,ptb_sidebarposition,ptb_sidebartextalignment,ptb_singlelayout,ptb_avatarsize" /> + </p> + </form> + <h3 id="reset"><?php _e('Reset Options', 'plaintxtblog'); ?></h3> + <p><?php _e('Resetting deletes all stored plaintxtBlog options from your database. After resetting, default options are loaded but are not stored until you click <i>Save Options</i>. A reset does not affect the actual theme files in any way. If you are uninstalling plaintxtBlog, please reset before removing the theme files to clear your databse.', 'plaintxtblog'); ?></p> + <form action="<?php echo wp_specialchars( $_SERVER['REQUEST_URI'] ) ?>" method="post"> + <?php wp_nonce_field('plaintxtblog_reset_options'); echo "\n"; ?> + <p class="submit"> + <input name="reset" type="submit" value="<?php _e('Reset Options', 'plaintxtblog'); ?>" onclick="return confirm('<?php _e('Click OK to reset. Any changes to these theme options will be lost!', 'plaintxtblog'); ?>');" tabindex="44" accesskey="R" /> + <input name="action" type="hidden" value="reset" /> + <input name="page_options" type="hidden" value="ptb_basefontsize,ptb_basefontfamily,ptb_headingfontfamily,ptb_posttextalignment,ptb_sidebarposition,ptb_sidebartextalignment,ptb_singlelayout,ptb_avatarsize" /> + </p> + </form> +</div> +<?php +} + +// Loads settings for the theme options to use +function plaintxtblog_wp_head() { + if ( get_option('plaintxtblog_basefontsize') == "" ) { + $basefontsize = '70%'; + } else { + $basefontsize = attribute_escape( stripslashes( get_option('plaintxtblog_basefontsize') ) ); + }; + if ( get_option('plaintxtblog_basefontfamily') == "" ) { + $basefontfamily = 'verdana, geneva, sans-serif'; + } else { + $basefontfamily = wp_specialchars( stripslashes( get_option('plaintxtblog_basefontfamily') ) ); + }; + if ( get_option('plaintxtblog_headingfontfamily') == "" ) { + $headingfontfamily = 'verdana, geneva, sans-serif'; + } else { + $headingfontfamily = wp_specialchars( stripslashes( get_option('plaintxtblog_headingfontfamily') ) ); + }; + if ( get_option('plaintxtblog_posttextalignment') == "" ) { + $posttextalignment = 'left'; + } else { + $posttextalignment = attribute_escape( stripslashes( get_option('plaintxtblog_posttextalignment') ) ); + }; + if ( get_option('plaintxtblog_sidebarposition') == "" ) { + $sidebarposition = 'body div#container{float:right;margin:0 0 0 -320px;} +body div#content{margin:0 0 0 320px;} +body div#primary{float:left;} +body div#secondary{float:right;margin-right:20px;} +body div.sidebar{border-right:5px solid #ddd;padding-right:15px;}'; + } elseif ( get_option('plaintxtblog_sidebarposition') =="left" ) { + $sidebarposition = 'body div#container{float:right;margin:0 0 0 -320px;} +body div#content{margin:0 0 0 320px;} +body div#primary{float:left;} +body div#secondary{float:right;margin-right:20px;} +body div.sidebar{border-right:5px solid #ddd;padding-right:15px;}'; + } elseif ( get_option('plaintxtblog_sidebarposition') =="right" ) { + $sidebarposition = 'body div#container{float:left;margin:0 -320px 0 0;} +body div#content{margin:0 320px 0 0;} +body div#primary{float:right;} +body div#secondary{float:left;margin-left:20px;} +body div.sidebar{border-left:5px solid #ddd;padding-left:15px;}'; + }; + if ( get_option('plaintxtblog_sidebartextalignment') == "" ) { + $sidebartextalignment = 'right'; + } else { + $sidebartextalignment = attribute_escape( stripslashes( get_option('plaintxtblog_sidebartextalignment') ) ); + }; + if ( get_option('plaintxtblog_singlelayout') == "" ) { + $singlelayout = ''; + } elseif ( get_option('plaintxtblog_singlelayout') =="normalsingle" ) { + $singlelayout = ''; + } elseif ( get_option('plaintxtblog_singlelayout') =="singlesingle" ) { + $singlelayout = 'body.single div#container{float:none;margin:0 auto;width:75%} +body.single div#content{margin:0;} +body.single div.sidebar{display:none;} +'; + }; +?> + +<style type="text/css" media="screen,projection"> +/*<![CDATA[*/ +/* CSS inserted by plaintxtBlog theme options */ +body{font-family:<?php echo $basefontfamily; ?>;font-size:<?php echo $basefontsize; ?>;} +body div#content div.hentry{text-align:<?php echo $posttextalignment; ?>;} +body div#content h2,div#content h3,div#content h4,div#content h5,div#content h6{font-family:<?php echo $headingfontfamily; ?>;} +body div.sidebar{text-align:<?php echo $sidebartextalignment; ?>;} +<?php echo $singlelayout; ?> +<?php echo $sidebarposition; ?> + +/*]]>*/ +</style> +<?php // Checks that everything has loaded properly +} + +add_action('admin_menu', 'plaintxtblog_add_admin'); +add_action('wp_head', 'plaintxtblog_wp_head'); +add_action('init', 'plaintxtblog_widgets_init'); + +add_filter('archive_meta', 'wptexturize'); +add_filter('archive_meta', 'convert_smilies'); +add_filter('archive_meta', 'convert_chars'); +add_filter('archive_meta', 'wpautop'); + +add_shortcode('gallery', 'plaintxtblog_gallery', $attr); + +// Readies for translation. +load_theme_textdomain('plaintxtblog'); +?> \ No newline at end of file diff --git a/wp-content/themes/plaintxtblog/header.php b/wp-content/themes/plaintxtblog/header.php new file mode 100644 index 0000000000000000000000000000000000000000..7f3230185be6b62502a6dfc3959c80a0048b1a25 --- /dev/null +++ b/wp-content/themes/plaintxtblog/header.php @@ -0,0 +1,27 @@ +<!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"> + <title><?php bloginfo('name') ?><?php if ( is_404() ) : ?> / <?php _e('Page not found', 'plaintxtblog') ?><?php elseif ( is_home() ) : ?> / <?php bloginfo('description') ?><?php elseif ( is_category() ) : ?> / <?php echo single_cat_title(); ?><?php elseif ( is_date() ) : ?> / <?php _e('Blog Archives', 'plaintxtblog') ?><?php elseif ( is_search() ) : ?> / <?php _e('Search Results', 'plaintxtblog') ?><?php else : ?> / <?php the_title() ?><?php endif ?></title> + <meta http-equiv="content-type" content="<?php bloginfo('html_type') ?>; charset=<?php bloginfo('charset') ?>" /> + <link rel="stylesheet" type="text/css" media="screen,projection" href="<?php bloginfo('stylesheet_url'); ?>" title="plaintxtBlog" /> + <link rel="stylesheet" type="text/css" media="print" href="<?php bloginfo('template_directory'); ?>/print.css" /> + <link rel="alternate" type="application/rss+xml" href="<?php bloginfo('rss2_url') ?>" title="<?php bloginfo('name') ?> RSS feed" /> + <link rel="alternate" type="application/rss+xml" href="<?php bloginfo('comments_rss2_url') ?>" title="<?php bloginfo('name') ?> comments RSS feed" /> + <link rel="pingback" href="<?php bloginfo('pingback_url') ?>" /> + +<?php wp_head() // Do not remove; helps plugins work ?> + +</head> + +<body class="<?php plaintxtblog_body_class() ?>"> + +<div id="wrapper"> + + <div id="header"> + <h1 id="blog-title"><a href="<?php echo get_settings('home') ?>/" title="<?php bloginfo('name') ?>"><?php bloginfo('name') ?></a></h1> + <div id="blog-description"><?php bloginfo('description') ?></div> + </div><!-- #header --> + + <div class="access"><span class="content-access"><a href="#content" title="<?php _e('Skip to content', 'plaintxtblog'); ?>"><?php _e('Skip to content', 'plaintxtblog'); ?></a></span></div> + +<?php plaintxtblog_globalnav() // Adds page links below header, which are hidden by style.css; increases accessibility ?> \ No newline at end of file diff --git a/wp-content/themes/plaintxtblog/image.php b/wp-content/themes/plaintxtblog/image.php new file mode 100644 index 0000000000000000000000000000000000000000..dc1ff7914bc402ed835baed14cea4124f9afe603 --- /dev/null +++ b/wp-content/themes/plaintxtblog/image.php @@ -0,0 +1,60 @@ +<?php get_header(); ?> + + <div id="container"> + <div id="content" class="hfeed"> + +<?php the_post() ?> + +<?php $attachment_link = get_the_attachment_link($post->ID, true, array(450, 800)); ?> +<?php $_post = &get_post($post->ID); $classname = ($_post->iconsize[0] <= 128 ? 'small' : '') . 'attachment'; ?> + + <div id="post-<?php the_ID(); ?>" class="<?php plaintxtblog_post_class() ?>"> + <div class="entry-header"> + <h2 class="entry-title"><?php the_title(); ?></h2> + <div id="nav-above" class="post-parent"><a href="<?php echo get_permalink($post->post_parent) ?>" rev="attachment">« <?php echo get_the_title($post->post_parent) ?></a></div> + </div> + <div class="entry-content"> + <div class="entry-attachment"><a href="<?php echo wp_get_attachment_url($post->ID); ?>" title="<?php echo wp_specialchars( get_the_title($post->ID), 1 ) ?>" rel="attachment"><?php echo wp_get_attachment_image( $post->ID, 'large' ); ?></a></div> + <div class="entry-caption"><?php if ( !empty($post->post_excerpt) ) the_excerpt(); ?></div> +<?php the_content('<span class="more-link">'.__('More…', 'plaintxtblog').'</span>') ?> + + </div> + <div id="nav-images" class="navigation"> + <div class="nav-previous"><?php previous_image_link() ?></div> + <div class="nav-next"><?php next_image_link() ?></div> + </div> + <div class="entry-meta"> +<?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) : // COMMENTS & PINGS OPEN ?> + <?php printf(__('<span class="entry-comments"><a href="#respond" title="Post a comment">Post a comment</a></span> <span class="meta-sep">—</span> <span class="entry-trackbacks"><a href="%s" rel="trackback" title="Trackback URI for your post">Trackback URI</a></span>', 'plaintxtblog'), get_trackback_url()) ?> +<?php elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) : // PINGS ONLY OPEN ?> + <?php printf(__('<span class="entry-comments">Comments closed</span> <span class="meta-sep">—</span> <span class="entry-trackbacks"><a href="%s" rel="trackback" title="Trackback URL for your post">Trackback URI</a></span>', 'plaintxtblog'), get_trackback_url()) ?> +<?php elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) : // COMMENTS OPEN ?> + <?php printf(__('<span class="entry-comments"><a href="#respond" title="Post a comment">Post a comment</a></span> <span class="meta-sep">—</span> <span class="entry-trackbacks">Trackbacks closed</span>', 'plaintxtblog')) ?> +<?php elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) : // NOTHING OPEN ?> + <?php _e('<span class="entry-comments">Comments closed</span> <span class="meta-sep">—</span> <span class="entry-trackbacks">Trackbacks closed</span>', 'plaintxtblog') ?> +<?php endif; ?> + + <span class="entry-commentslink"><?php printf(__('<a href="%1$s" title="%2$s comments RSS feed" rel="alternate" type="application/rss+xml">RSS 2.0 feed</a> for these comments', 'plaintxtblog'), + comments_rss(), + wp_specialchars(get_the_title(), 'double') ) ?></span> + + <span class="entry-metainfo"><?php printf(__('This image (<a href="%1$s" title="Permalink to %2$s" rel="bookmark">permalink</a>) was posted on <abbr class="published" title="%3$sT%4$s">%5$s at %6$s</abbr> by %7$s. Filed in %8$s%9$s.', 'plaintxtblog'), + get_permalink(), + wp_specialchars(get_the_title(), 'double'), + get_the_time('Y-m-d'), + get_the_time('H:i:sO'), + the_date('l, F j, Y,', '', '', false), + get_the_time(), + '<span class="vcard"><span class="fn n">' . $authordata->display_name . '</span></span>', + get_the_category_list(', '), + get_the_tag_list(' and tagged ', ', ') ) ?> <?php edit_post_link(__('Edit this entry', 'plaintxtblog')); ?></span> + </div> + </div><!-- .post --> + +<?php comments_template() ?> + + </div><!-- #content .hfeed --> + </div><!-- #container --> + +<?php get_sidebar() ?> +<?php get_footer() ?> \ No newline at end of file diff --git a/wp-content/themes/plaintxtblog/images/blockquote.png b/wp-content/themes/plaintxtblog/images/blockquote.png new file mode 100644 index 0000000000000000000000000000000000000000..0e7ba7055cc974a963df1b0d8af14eb45af877a2 Binary files /dev/null and b/wp-content/themes/plaintxtblog/images/blockquote.png differ diff --git a/wp-content/themes/plaintxtblog/images/comments.png b/wp-content/themes/plaintxtblog/images/comments.png new file mode 100644 index 0000000000000000000000000000000000000000..2db946c45e965d43b9c3553fd9f4cacfe1a2dcc3 Binary files /dev/null and b/wp-content/themes/plaintxtblog/images/comments.png differ diff --git a/wp-content/themes/plaintxtblog/images/feed.png b/wp-content/themes/plaintxtblog/images/feed.png new file mode 100644 index 0000000000000000000000000000000000000000..cc869bc61785f4db646fcbbcfc87aa3d20d99eba Binary files /dev/null and b/wp-content/themes/plaintxtblog/images/feed.png differ diff --git a/wp-content/themes/plaintxtblog/images/file-download.png b/wp-content/themes/plaintxtblog/images/file-download.png new file mode 100644 index 0000000000000000000000000000000000000000..2a9459ba4844199e80b280dec728e1b3164086a5 Binary files /dev/null and b/wp-content/themes/plaintxtblog/images/file-download.png differ diff --git a/wp-content/themes/plaintxtblog/images/file-html.png b/wp-content/themes/plaintxtblog/images/file-html.png new file mode 100644 index 0000000000000000000000000000000000000000..2cf3e99c65361e5c25f1b97c050ecf81b0cce282 Binary files /dev/null and b/wp-content/themes/plaintxtblog/images/file-html.png differ diff --git a/wp-content/themes/plaintxtblog/images/file-pdf.png b/wp-content/themes/plaintxtblog/images/file-pdf.png new file mode 100644 index 0000000000000000000000000000000000000000..a1ac9982e15b7ee7b6e7201b1c5267574a062721 Binary files /dev/null and b/wp-content/themes/plaintxtblog/images/file-pdf.png differ diff --git a/wp-content/themes/plaintxtblog/images/file-zip.png b/wp-content/themes/plaintxtblog/images/file-zip.png new file mode 100644 index 0000000000000000000000000000000000000000..fd789accff4acc81a5d8aa5c6489dee0a60f6ae1 Binary files /dev/null and b/wp-content/themes/plaintxtblog/images/file-zip.png differ diff --git a/wp-content/themes/plaintxtblog/images/important.png b/wp-content/themes/plaintxtblog/images/important.png new file mode 100644 index 0000000000000000000000000000000000000000..f65bd24cb1bce9bb85fccce57a12c77eeea3b151 Binary files /dev/null and b/wp-content/themes/plaintxtblog/images/important.png differ diff --git a/wp-content/themes/plaintxtblog/images/trackbacks.png b/wp-content/themes/plaintxtblog/images/trackbacks.png new file mode 100644 index 0000000000000000000000000000000000000000..7064e21918b38b9461833a262e4a15685f6513e4 Binary files /dev/null and b/wp-content/themes/plaintxtblog/images/trackbacks.png differ diff --git a/wp-content/themes/plaintxtblog/index.php b/wp-content/themes/plaintxtblog/index.php new file mode 100644 index 0000000000000000000000000000000000000000..1243382c7a10446bcd70ce3eceab5aed01de918e --- /dev/null +++ b/wp-content/themes/plaintxtblog/index.php @@ -0,0 +1,40 @@ +<?php get_header() ?> + + <div id="container"> + <div id="content" class="hfeed"> + +<?php while ( have_posts() ) : the_post() ?> + + <div id="post-<?php the_ID() ?>" class="<?php plaintxtblog_post_class() ?>"> + <div class="entry-header"> + <h2 class="entry-title"><a href="<?php the_permalink() ?>" title="<?php printf(__('Permalink to %s', 'plaintxtblog'), wp_specialchars(get_the_title(), 1)) ?>" rel="bookmark"><?php the_title() ?></a></h2> + <abbr class="published" title="<?php the_time('Y-m-d\TH:i:sO'); ?>"><?php unset($previousday); printf(__('%1$s', 'plaintxtblog'), the_date('d-M-y', false)) ?></abbr> + </div> + <div class="entry-content"> +<?php the_content('<span class="more-link">'.__('More…', 'plaintxtblog').'</span>') ?> + +<?php link_pages('<div class="page-link">'.__('Pages: ', 'plaintxtblog'), "</div>\n", 'number'); ?> + </div> + <div class="entry-meta"> + <span class="entry-category"><?php printf(__('Filed in %s', 'plaintxtblog'), get_the_category_list(', ') ) ?></span> + <span class="meta-sep">|</span> + <span class="entry-tags"><?php the_tags(__('Tagged ', 'plaintxtblog'), ", ", "") ?></span> + <span class="meta-sep">|</span> +<?php edit_post_link(__('Edit', 'plaintxtblog'), "\t\t\t\t\t<span class='entry-edit'>", "</span>\n\t\t\t\t\t<span class='meta-sep'>|</span>\n"); ?> + <span class="entry-comments"><?php comments_popup_link(__('Comments (0) »', 'plaintxtblog'), __('Comments (1) »', 'plaintxtblog'), __('Comments (%) »', 'plaintxtblog'),'',__('Comments Off','plaintxtblog')) ?></span> + </div> + </div><!-- .post --> + +<?php endwhile ?> + + <div id="nav-below" class="navigation"> + <div class="nav-previous"><?php next_posts_link(__('« Older posts', 'plaintxtblog')) ?></div> + <div class="nav-next"><?php previous_posts_link(__('Newer posts »', 'plaintxtblog')) ?></div> + <div class="nav-home"><a href="<?php echo get_settings('home') ?>/" title="<?php bloginfo('name') ?>"><?php _e('Home', 'plaintxtblog'); ?></a></div> + </div> + + </div><!-- #content .hfeed --> + </div><!-- #container --> + +<?php get_sidebar() ?> +<?php get_footer() ?> \ No newline at end of file diff --git a/wp-content/themes/plaintxtblog/license.txt b/wp-content/themes/plaintxtblog/license.txt new file mode 100644 index 0000000000000000000000000000000000000000..fc8a5de7edf437cdc98a216370faf7c757279bcb --- /dev/null +++ b/wp-content/themes/plaintxtblog/license.txt @@ -0,0 +1,165 @@ + GNU LESSER GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + + This version of the GNU Lesser General Public License incorporates +the terms and conditions of version 3 of the GNU General Public +License, supplemented by the additional permissions listed below. + + 0. Additional Definitions. + + As used herein, "this License" refers to version 3 of the GNU Lesser +General Public License, and the "GNU GPL" refers to version 3 of the GNU +General Public License. + + "The Library" refers to a covered work governed by this License, +other than an Application or a Combined Work as defined below. + + An "Application" is any work that makes use of an interface provided +by the Library, but which is not otherwise based on the Library. +Defining a subclass of a class defined by the Library is deemed a mode +of using an interface provided by the Library. + + A "Combined Work" is a work produced by combining or linking an +Application with the Library. The particular version of the Library +with which the Combined Work was made is also called the "Linked +Version". + + The "Minimal Corresponding Source" for a Combined Work means the +Corresponding Source for the Combined Work, excluding any source code +for portions of the Combined Work that, considered in isolation, are +based on the Application, and not on the Linked Version. + + The "Corresponding Application Code" for a Combined Work means the +object code and/or source code for the Application, including any data +and utility programs needed for reproducing the Combined Work from the +Application, but excluding the System Libraries of the Combined Work. + + 1. Exception to Section 3 of the GNU GPL. + + You may convey a covered work under sections 3 and 4 of this License +without being bound by section 3 of the GNU GPL. + + 2. Conveying Modified Versions. + + If you modify a copy of the Library, and, in your modifications, a +facility refers to a function or data to be supplied by an Application +that uses the facility (other than as an argument passed when the +facility is invoked), then you may convey a copy of the modified +version: + + a) under this License, provided that you make a good faith effort to + ensure that, in the event an Application does not supply the + function or data, the facility still operates, and performs + whatever part of its purpose remains meaningful, or + + b) under the GNU GPL, with none of the additional permissions of + this License applicable to that copy. + + 3. Object Code Incorporating Material from Library Header Files. + + The object code form of an Application may incorporate material from +a header file that is part of the Library. You may convey such object +code under terms of your choice, provided that, if the incorporated +material is not limited to numerical parameters, data structure +layouts and accessors, or small macros, inline functions and templates +(ten or fewer lines in length), you do both of the following: + + a) Give prominent notice with each copy of the object code that the + Library is used in it and that the Library and its use are + covered by this License. + + b) Accompany the object code with a copy of the GNU GPL and this license + document. + + 4. Combined Works. + + You may convey a Combined Work under terms of your choice that, +taken together, effectively do not restrict modification of the +portions of the Library contained in the Combined Work and reverse +engineering for debugging such modifications, if you also do each of +the following: + + a) Give prominent notice with each copy of the Combined Work that + the Library is used in it and that the Library and its use are + covered by this License. + + b) Accompany the Combined Work with a copy of the GNU GPL and this license + document. + + c) For a Combined Work that displays copyright notices during + execution, include the copyright notice for the Library among + these notices, as well as a reference directing the user to the + copies of the GNU GPL and this license document. + + d) Do one of the following: + + 0) Convey the Minimal Corresponding Source under the terms of this + License, and the Corresponding Application Code in a form + suitable for, and under terms that permit, the user to + recombine or relink the Application with a modified version of + the Linked Version to produce a modified Combined Work, in the + manner specified by section 6 of the GNU GPL for conveying + Corresponding Source. + + 1) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (a) uses at run time + a copy of the Library already present on the user's computer + system, and (b) will operate properly with a modified version + of the Library that is interface-compatible with the Linked + Version. + + e) Provide Installation Information, but only if you would otherwise + be required to provide such information under section 6 of the + GNU GPL, and only to the extent that such information is + necessary to install and execute a modified version of the + Combined Work produced by recombining or relinking the + Application with a modified version of the Linked Version. (If + you use option 4d0, the Installation Information must accompany + the Minimal Corresponding Source and Corresponding Application + Code. If you use option 4d1, you must provide the Installation + Information in the manner specified by section 6 of the GNU GPL + for conveying Corresponding Source.) + + 5. Combined Libraries. + + You may place library facilities that are a work based on the +Library side by side in a single library together with other library +facilities that are not Applications and are not covered by this +License, and convey such a combined library under terms of your +choice, if you do both of the following: + + a) Accompany the combined library with a copy of the same work based + on the Library, uncombined with any other library facilities, + conveyed under the terms of this License. + + b) Give prominent notice with the combined library that part of it + is a work based on the Library, and explaining where to find the + accompanying uncombined form of the same work. + + 6. Revised Versions of the GNU Lesser General Public License. + + The Free Software Foundation may publish revised and/or new versions +of the GNU Lesser General Public License from time to time. Such new +versions will be similar in spirit to the present version, but may +differ in detail to address new problems or concerns. + + Each version is given a distinguishing version number. If the +Library as you received it specifies that a certain numbered version +of the GNU Lesser General Public License "or any later version" +applies to it, you have the option of following the terms and +conditions either of that published version or of any later version +published by the Free Software Foundation. If the Library as you +received it does not specify a version number of the GNU Lesser +General Public License, you may choose any version of the GNU Lesser +General Public License ever published by the Free Software Foundation. + + If the Library as you received it specifies that a proxy can decide +whether future versions of the GNU Lesser General Public License shall +apply, that proxy's public statement of acceptance of any version is +permanent authorization for you to choose that version for the +Library. diff --git a/wp-content/themes/plaintxtblog/links.php b/wp-content/themes/plaintxtblog/links.php new file mode 100644 index 0000000000000000000000000000000000000000..f595d9c204f6a2edf05c193e4aa3d8c52d323c15 --- /dev/null +++ b/wp-content/themes/plaintxtblog/links.php @@ -0,0 +1,33 @@ +<?php +/* +Template Name: Links Page +*/ +?> +<?php get_header() ?> + + <div id="container"> + <div id="content" class="hfeed"> + +<?php the_post() ?> + + <div id="post-<?php the_ID(); ?>" class="<?php plaintxtblog_post_class() ?>"> + <h2 class="entry-title"><?php the_title() ?></h2> + <div class="entry-content"> +<?php the_content() ?> + + <ul id="linkcats" class="xoxo"> +<?php wp_list_bookmarks('title_before=<h3>&title_after=</h3>&category_before=<li id="page-%id" class="%class">&after=</p></li>&between=<p>&show_description=1') ?> + + </ul> +<?php edit_post_link(__('Edit this entry.', 'plaintxtblog'),'<p class="entry-edit">','</p>') ?> + + </div> + </div><!-- .post --> + +<?php if ( get_post_custom_values('comments') ) comments_template() // Add a key/value of "comments" to load comments on a page ?> + + </div><!-- #content .hfeed --> + </div><!-- #container --> + +<?php get_sidebar() ?> +<?php get_footer() ?> \ No newline at end of file diff --git a/wp-content/themes/plaintxtblog/page.php b/wp-content/themes/plaintxtblog/page.php new file mode 100644 index 0000000000000000000000000000000000000000..46b0518b03311984389cb9d0ed3455ed1c1f2a50 --- /dev/null +++ b/wp-content/themes/plaintxtblog/page.php @@ -0,0 +1,26 @@ +<?php get_header() ?> + + <div id="container"> + <div id="content" class="hfeed"> + +<?php the_post() ?> + + <div id="post-<?php the_ID(); ?>" class="<?php plaintxtblog_post_class() ?>"> + <h2 class="entry-title"><?php the_title(); ?></h2> + <div class="entry-content"> +<?php the_content() ?> + +<?php link_pages('<div class="page-link">'.__('Pages: ', 'plaintxtblog'), '</div>', 'number'); ?> + +<?php edit_post_link(__('Edit this entry.', 'plaintxtblog'),'<p class="entry-edit">','</p>') ?> + + </div> + </div><!-- .post --> + +<?php if ( get_post_custom_values('comments') ) comments_template() // Add a key/value of "comments" to load comments on a page ?> + + </div><!-- #content .hfeed --> + </div><!-- #container --> + +<?php get_sidebar() ?> +<?php get_footer() ?> \ No newline at end of file diff --git a/wp-content/themes/plaintxtblog/plaintxtblog.pot b/wp-content/themes/plaintxtblog/plaintxtblog.pot new file mode 100644 index 0000000000000000000000000000000000000000..bd314d7305911ea51a1d993d7a18251e6df7f0d6 --- /dev/null +++ b/wp-content/themes/plaintxtblog/plaintxtblog.pot @@ -0,0 +1,657 @@ +# PLAINTXTBLOG for WordPress +# Copyright (C) 2006-2008 SCOTT ALLAN WALLICK +# This file is part of PLAINTXTBLOG. +# PLAINTXTBLOG is free software: you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation, either version 3 of +# the License, or (at your option) any later version. +msgid "" +msgstr "" +"Project-Id-Version: 4.6.1\n" +"Report-Msgid-Bugs-To: http://plaintxtblog.googlecode.com/\n" +"POT-Creation-Date: 2008-07-18 23:59-0500\n" +"PO-Revision-Date: 2008-07-29 23:06+0000\n" +"Last-Translator: Scott Allan Wallick <s@plaintxt.org>\n" +"Language-Team: Scott Allan Wallick <s@plaintxt.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: 404.php:7 +msgid "Not Found" +msgstr "" + +#: 404.php:9 +msgid "Apologies, but we were unable to find what you were looking for. Perhaps the search box will help." +msgstr "" + +#: 404.php:15 +#: functions.php:267 +#: functions.php:399 +#: functions.php:401 +#: search.php:50 +#: sidebar.php:29 +msgid "Search" +msgstr "" + +#: archive.php:9 +#, php-format +msgid "Daily Archives: <span>%s</span>" +msgstr "" + +#: archive.php:9 +msgid "F jS, Y" +msgstr "" + +#: archive.php:11 +#, php-format +msgid "Monthly Archives: <span>%s</span>" +msgstr "" + +#: archive.php:11 +msgid "F Y" +msgstr "" + +#: archive.php:13 +#, php-format +msgid "Yearly Archives: <span>%s</span>" +msgstr "" + +#: archive.php:13 +msgid "Y" +msgstr "" + +#: archive.php:15 +msgid "Author Archives: " +msgstr "" + +#: archive.php:18 +msgid "Category Archives:" +msgstr "" + +#: archive.php:21 +msgid "Tag Archives:" +msgstr "" + +#: archive.php:23 +#: header.php:4 +msgid "Blog Archives" +msgstr "" + +#: archive.php:32 +#: index.php:10 +#: search.php:14 +#: sitemap.php:31 +#, php-format +msgid "Permalink to %s" +msgstr "" + +#: archive.php:33 +#: index.php:11 +#: search.php:15 +#, php-format +msgid "%1$s" +msgstr "" + +#: archive.php:36 +#: attachment.php:16 +#: image.php:19 +#: index.php:14 +#: search.php:18 +#: single.php:11 +msgid "More…" +msgstr "" + +#: archive.php:40 +#: index.php:19 +#: search.php:22 +#, php-format +msgid "Filed in %s" +msgstr "" + +#: archive.php:40 +#, php-format +msgid "Also filed in %s" +msgstr "" + +#: archive.php:42 +#: index.php:21 +#: search.php:24 +msgid "Tagged " +msgstr "" + +#: archive.php:42 +#, php-format +msgid "Also tagged %s" +msgstr "" + +#: archive.php:44 +#: comments.php:41 +#: comments.php:68 +#: index.php:23 +#: search.php:26 +msgid "Edit" +msgstr "" + +#: archive.php:45 +#: index.php:24 +#: search.php:27 +msgid "Comments (0) »" +msgstr "" + +#: archive.php:45 +#: index.php:24 +#: search.php:27 +msgid "Comments (1) »" +msgstr "" + +#: archive.php:45 +#: index.php:24 +#: search.php:27 +msgid "Comments (%) »" +msgstr "" + +#: archive.php:45 +#: index.php:24 +#: search.php:27 +msgid "Comments Off" +msgstr "" + +#: archive.php:52 +#: index.php:31 +#: search.php:34 +msgid "« Older posts" +msgstr "" + +#: archive.php:53 +#: index.php:32 +#: search.php:35 +msgid "Newer posts »" +msgstr "" + +#: archive.php:54 +#: functions.php:5 +#: functions.php:322 +#: index.php:33 +#: search.php:36 +#: single.php:48 +msgid "Home" +msgstr "" + +#: archives.php:20 +msgid "Monthly Archives" +msgstr "" + +#: archives.php:26 +msgid "Category Archives" +msgstr "" + +#: archives.php:32 +msgid "Tag Archives" +msgstr "" + +#: archives.php:36 +#: sidebar.php:22 +msgid "RSS Feeds" +msgstr "" + +#: archives.php:38 +#: functions.php:358 +#: sidebar.php:24 +msgid "All posts" +msgstr "" + +#: archives.php:39 +#: functions.php:359 +#: sidebar.php:25 +msgid "All comments" +msgstr "" + +#: archives.php:44 +#: links.php:22 +#: page.php:15 +#: sitemap.php:56 +msgid "Edit this entry." +msgstr "" + +#: attachment.php:21 +#: image.php:28 +#: single.php:17 +#, php-format +msgid "<span class=\"entry-comments\"><a href=\"#respond\" title=\"Post a comment\">Post a comment</a></span> <span class=\"meta-sep\">—</span> <span class=\"entry-trackbacks\"><a href=\"%s\" rel=\"trackback\" title=\"Trackback URI for your post\">Trackback URI</a></span>" +msgstr "" + +#: attachment.php:23 +#: image.php:30 +#: single.php:19 +#, php-format +msgid "<span class=\"entry-comments\">Comments closed</span> <span class=\"meta-sep\">—</span> <span class=\"entry-trackbacks\"><a href=\"%s\" rel=\"trackback\" title=\"Trackback URL for your post\">Trackback URI</a></span>" +msgstr "" + +#: attachment.php:25 +#: image.php:32 +#: single.php:21 +msgid "<span class=\"entry-comments\"><a href=\"#respond\" title=\"Post a comment\">Post a comment</a></span> <span class=\"meta-sep\">—</span> <span class=\"entry-trackbacks\">Trackbacks closed</span>" +msgstr "" + +#: attachment.php:27 +#: image.php:34 +#: single.php:23 +msgid "<span class=\"entry-comments\">Comments closed</span> <span class=\"meta-sep\">—</span> <span class=\"entry-trackbacks\">Trackbacks closed</span>" +msgstr "" + +#: attachment.php:30 +#: image.php:37 +#: single.php:26 +#, php-format +msgid "<a href=\"%1$s\" title=\"%2$s comments RSS feed\" rel=\"alternate\" type=\"application/rss+xml\">RSS 2.0 feed</a> for these comments" +msgstr "" + +#: attachment.php:34 +#, php-format +msgid "This attachment (<a href=\"%1$s\" title=\"Permalink to %2$s\" rel=\"bookmark\">permalink</a>) was posted on <abbr class=\"published\" title=\"%3$sT%4$s\">%5$s at %6$s</abbr> by %7$s. Filed in %8$s%9$s." +msgstr "" + +#: attachment.php:43 +#: image.php:50 +#: single.php:39 +msgid "Edit this entry" +msgstr "" + +#: comments.php:9 +msgid "Enter the password to view comments to this post." +msgstr "" + +#: comments.php:28 +#, php-format +msgid "%d Comments" +msgstr "" + +#: comments.php:34 +msgid "Your comment is awaiting moderation." +msgstr "" + +#: comments.php:37 +#, php-format +msgid "<span class=\"comment-datetime\">Posted on %1$s at %2$s</span> <span class=\"meta-sep\">|</span> <span class=\"comment-permalink\"><a href=\"%3$s\" title=\"Permalink to this comment\">Permalink</a></span>" +msgstr "" + +#: comments.php:56 +#, php-format +msgid "%d Trackbacks/Pingbacks" +msgstr "" + +#: comments.php:64 +#, php-format +msgid "<span class=\"pingback-author fn\">%1$s</span> <span class=\"pingback-datetime\">on %2$s at %3$s</span>" +msgstr "" + +#: comments.php:70 +msgid "Your trackback/pingback is awaiting moderation." +msgstr "" + +#: comments.php:84 +msgid "Post a Comment" +msgstr "" + +#: comments.php:86 +#, php-format +msgid "You must be <a href=\"%s\" title=\"Log in\">logged in</a> to post a comment." +msgstr "" + +#: comments.php:97 +#, php-format +msgid "Logged in as <a href=\"%1$s\" title=\"View your profile\" class=\"fn\">%2$s</a>. <a href=\"%3$s\" title=\"Log out of this account\">Log out?</a>" +msgstr "" + +#: comments.php:104 +msgid "Your email is <em>never</em> published nor shared." +msgstr "" + +#: comments.php:104 +msgid "Required fields are marked <span class=\"req-field\">*</span>" +msgstr "" + +#: comments.php:107 +msgid "Name" +msgstr "" + +#: comments.php:107 +#: comments.php:110 +msgid "<span class=\"req-field\">*</span>" +msgstr "" + +#: comments.php:110 +msgid "Email" +msgstr "" + +#: comments.php:113 +msgid "Website" +msgstr "" + +#: comments.php:118 +msgid "Comment" +msgstr "" + +#: comments.php:120 +msgid "Submit" +msgstr "" + +#: footer.php:10 +msgid "Posts RSS" +msgstr "" + +#: footer.php:10 +msgid "Comments RSS" +msgstr "" + +#: functions.php:268 +#: sidebar.php:33 +msgid "Find" +msgstr "" + +#: functions.php:296 +#: functions.php:344 +#: functions.php:377 +msgid "Title:" +msgstr "" + +#: functions.php:297 +msgid "Button Text:" +msgstr "" + +#: functions.php:306 +#: functions.php:408 +#: functions.php:410 +#: sidebar.php:13 +msgid "Meta" +msgstr "" + +#: functions.php:343 +msgid "Adds a link to the home page on every page <em>except</em> the home." +msgstr "" + +#: functions.php:353 +#: functions.php:425 +#: functions.php:426 +msgid "RSS Links" +msgstr "" + +#: functions.php:358 +msgid "Posts RSS feed" +msgstr "" + +#: functions.php:359 +msgid "Comments RSS feed" +msgstr "" + +#: functions.php:397 +msgid "A search form for your blog (plaintxtBlog)" +msgstr "" + +#: functions.php:406 +msgid "Log in/out and administration links (plaintxtBlog)" +msgstr "" + +#: functions.php:415 +msgid "Link to the front page when elsewhere (plaintxtBlog)" +msgstr "" + +#: functions.php:417 +#: functions.php:418 +msgid "Home Link" +msgstr "" + +#: functions.php:423 +msgid "RSS links for both posts and comments (plaintxtBlog)" +msgstr "" + +#: functions.php:459 +msgid "plaintxtBlog Theme Options" +msgstr "" + +#: functions.php:459 +msgid "Theme Options" +msgstr "" + +#: functions.php:497 +#, php-format +msgid "PlaintxtBlog theme options saved. <a href=\"%s\">View site.</a>" +msgstr "" + +#: functions.php:498 +msgid "PlaintxtBlog theme options reset." +msgstr "" + +#: functions.php:501 +msgid "PlaintxtBlog Theme Options" +msgstr "" + +#: functions.php:502 +#, php-format +msgid "%1$s<p>Thanks for selecting the <a href=\"http://www.plaintxt.org/themes/plaintxtblog/\" title=\"PlaintxtBlog theme for WordPress\">plaintxtBlog</a> theme by <span class=\"vcard\"><a class=\"url fn n\" href=\"http://scottwallick.com/\" title=\"scottwallick.com\" rel=\"me designer\"><span class=\"given-name\">Scott</span> <span class=\"additional-name\">Allan</span> <span class=\"family-name\">Wallick</span></a></span>. Please read the included <a href=\"%2$s\" title=\"Open the readme.html\" rel=\"enclosure\" id=\"readme\">documentation</a> for more information about the blog.txt and its advanced features. <strong>If you find this theme useful, please consider <label for=\"paypal\">donating</label>.</strong> You must click on <i><u>S</u>ave Options</i> to save any changes. You can also discard your changes and reload the default settings by clicking on <i><u>R</u>eset</i>.</p>" +msgstr "" + +#: functions.php:506 +msgid "Typography" +msgstr "" + +#: functions.php:509 +msgid "Base font size" +msgstr "" + +#: functions.php:512 +msgid "The base font size globally affects the size of text throughout your blog. This can be in any unit (e.g., px, pt, em), but I suggest using a percentage (%). Default is <span>70%</span>." +msgstr "" + +#: functions.php:516 +msgid "Base font family" +msgstr "" + +#: functions.php:527 +#, php-format +msgid "The base font family sets the font for everything except content headings. The selection is limited to %1$s fonts, as they will display correctly. Default is <span class=\"verdana\">Verdana</span>." +msgstr "" + +#: functions.php:531 +msgid "Heading font family" +msgstr "" + +#: functions.php:542 +#, php-format +msgid "The heading font family sets the font for all content headings. The selection is limited to %1$s fonts, as they will display correctly. Default is <span class=\"verdana\">Verdana</span>. " +msgstr "" + +#: functions.php:546 +msgid "Layout" +msgstr "" + +#: functions.php:549 +msgid "Post text alignment" +msgstr "" + +#: functions.php:552 +#: functions.php:574 +msgid "Centered" +msgstr "" + +#: functions.php:553 +msgid "Justified" +msgstr "" + +#: functions.php:554 +#: functions.php:575 +msgid "Left" +msgstr "" + +#: functions.php:555 +#: functions.php:576 +msgid "Right" +msgstr "" + +#: functions.php:557 +msgid "Choose one of the options for the alignment of the post entry text. Default is <span>left</span>." +msgstr "" + +#: functions.php:561 +msgid "Sidebar position" +msgstr "" + +#: functions.php:564 +msgid "Left of content" +msgstr "" + +#: functions.php:565 +msgid "Right of content" +msgstr "" + +#: functions.php:567 +msgid "The sidebar can be positioned to the left or the right of the main content column. Default is <span>left of content</span>." +msgstr "" + +#: functions.php:571 +msgid "Sidebar text alignment" +msgstr "" + +#: functions.php:578 +msgid "Choose one of the options for the alignment of the sidebar text. Default is <span>right</span>." +msgstr "" + +#: functions.php:582 +msgid "Single post layout" +msgstr "" + +#: functions.php:585 +msgid "Normal layout (3 columns)" +msgstr "" + +#: functions.php:586 +msgid "Minimal layout (1 column)" +msgstr "" + +#: functions.php:588 +msgid "The single <em>post</em> layout can either be three column (normal) or one column (minimal). Default is <span>normal layout (3 columns)</span>. " +msgstr "" + +#: functions.php:592 +msgid "Content" +msgstr "" + +#: functions.php:595 +msgid "Avatar size" +msgstr "" + +#: functions.php:598 +msgid "Sets the avatar size in pixels, if avatars are enabled. Default is <span>24</span>." +msgstr "" + +#: functions.php:603 +msgid "Save Options" +msgstr "" + +#: functions.php:608 +#: functions.php:613 +msgid "Reset Options" +msgstr "" + +#: functions.php:609 +msgid "Resetting deletes all stored plaintxtBlog options from your database. After resetting, default options are loaded but are not stored until you click <i>Save Options</i>. A reset does not affect the actual theme files in any way. If you are uninstalling plaintxtBlog, please reset before removing the theme files to clear your databse." +msgstr "" + +#: functions.php:613 +msgid "Click OK to reset. Any changes to these theme options will be lost!" +msgstr "" + +#: header.php:4 +msgid "Page not found" +msgstr "" + +#: header.php:4 +msgid "Search Results" +msgstr "" + +#: header.php:25 +msgid "Skip to content" +msgstr "" + +#: image.php:41 +#, php-format +msgid "This image (<a href=\"%1$s\" title=\"Permalink to %2$s\" rel=\"bookmark\">permalink</a>) was posted on <abbr class=\"published\" title=\"%3$sT%4$s\">%5$s at %6$s</abbr> by %7$s. Filed in %8$s%9$s." +msgstr "" + +#: index.php:16 +#: page.php:13 +#: single.php:13 +#: sitemap.php:54 +msgid "Pages: " +msgstr "" + +#: search.php:8 +msgid "Search Results:" +msgstr "" + +#: search.php:42 +msgid "Nothing Found" +msgstr "" + +#: search.php:44 +msgid "Sorry, but nothing matched your search criteria. Please try again with some different keywords." +msgstr "" + +#: sidebar.php:6 +msgid "« Home" +msgstr "" + +#: sidebar.php:9 +msgid "Pages" +msgstr "" + +#: sidebar.php:47 +msgid "Subpages" +msgstr "" + +#: sidebar.php:55 +msgid "Categories" +msgstr "" + +#: sidebar.php:62 +msgid "Tags" +msgstr "" + +#: sidebar.php:66 +msgid "Archives" +msgstr "" + +#: single.php:30 +#, php-format +msgid "This entry (<a href=\"%1$s\" title=\"Permalink to %2$s\" rel=\"bookmark\">permalink</a>) was posted on <abbr class=\"published\" title=\"%3$sT%4$s\">%5$s at %6$s</abbr> by %7$s. Filed in %8$s%9$s." +msgstr "" + +#: single.php:46 +msgid "« %link" +msgstr "" + +#: single.php:47 +msgid "%link »" +msgstr "" + +#: sitemap.php:20 +msgid "All Pages" +msgstr "" + +#: sitemap.php:26 +msgid "All Posts" +msgstr "" + +#: sitemap.php:37 +msgid "All Monthly Archives" +msgstr "" + +#: sitemap.php:43 +msgid "All Category Archives" +msgstr "" + +#: sitemap.php:49 +msgid "Archives by Tag" +msgstr "" + diff --git a/wp-content/themes/plaintxtblog/print.css b/wp-content/themes/plaintxtblog/print.css new file mode 100644 index 0000000000000000000000000000000000000000..ce5555595c991fe0aea3f2ffc65ff740531616b5 --- /dev/null +++ b/wp-content/themes/plaintxtblog/print.css @@ -0,0 +1,7 @@ +/* PLAINTXTBLOG PRINT STYLES */ +/* Styles for basic printing only. If you want remove print styles, delete line 13 from the header.php file. */ +body div#blog-description,body div.sidebar,body div.access,body div#globalnav,body span.archive-meta,body div.cat-meta,body div#footer,body div.navigation,body div.comments form#commentform,body h3#respond{display:none;} +body div#wrapper div#header{background-color:#fff;background-image:none;color:#000;} +body div#wrapper div#header h1 a,html body div#wrapper div#header h1 a:link,html body div#wrapper div#header h1 a:visited,html body div#wrapper div#header h1 a:hover,html body div#wrapper div#header h1 a:active{color:#000;} +body.single div.entry-meta{line-height:200%;margin:0 20%;} +body.home div.entry-meta,body.archive div.entry-meta,body.search div.entry-meta{margin:0 20%;padding:0 2em;} \ No newline at end of file diff --git a/wp-content/themes/plaintxtblog/readme.html b/wp-content/themes/plaintxtblog/readme.html new file mode 100644 index 0000000000000000000000000000000000000000..93aa5c8fc4407fd85610b149641544648f0f8fdf --- /dev/null +++ b/wp-content/themes/plaintxtblog/readme.html @@ -0,0 +1,311 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us" lang="en-us"> +<head profile="http://gmpg.org/xfn/11"> +<title>plaintxtBlog · An explanation</title> +<meta http-equiv="content-type" content="text/html; charset=UTF-8" /> +<meta name="description" content="plaintxtBlog: Your content, but simplified." /> +<meta name="keywords" content="plaintxtBlog, theme, wordpress, plaintxt.org, semantics, widgets, hatom, hcard, xfn" /> +<style type="text/css" media="screen,projection"> +/*<![CDATA[*/ + body{color:#222;font:80%/150% verdana,geneva,sans-serif;margin:2em auto;padding:0;} + body blockquote{background:#f5F5F5;font-size:1em;padding:0.5em 1em;text-indent:2em;} + body blockquote p{margin:0.5em 0;line-height:150%;} + body blockquote,body h3,body h4,dl dt.def-head,body div.readme-subtitle{color:#000;font-family:georgia,times,serif;} + body code{font:1em/133% "courier new",courier,monospace;} + body div.readme{margin:0 auto 10em;width:40em;} + body div.readme-subtitle{color:#000;line-height:150%;margin:0 25%;padding:1em 0;} + body div.readme-version{color:#888;} + body h2{color:#059;font:normal 3.2em/150% verdana,geneva,sans-serif;letter-spacing:2px;margin:0;text-align:center;} + body h3{font:1.7em/133% georgia,times,serif;margin:2em 0 -0.5em;} + body h4{font-size:1.4em;font-style:italic;font-weight:400;line-height:150%;margin:1em 0 -0.5em;} + body ol#toc h3{margin-bottom:0;} + body ol li form{float:left;margin:1.5em 1em 0 0;} + body p{margin:1em 0;} + body p.rubric{margin:1em 0 0.2em;} + div.readme-meta{font-size:0.9em;letter-spacing:2px;line-height:133%;text-align:center;} + dl{background:#eee;padding:1em;} + dl dd{margin:0;padding:0;} + dl dd code{color:#666;font-size:0.9em;} + dl dd.example{margin-left:1em;margin-bottom:2em;} + dl dt code{display:block;font-size:1.1em;margin:0.3em 0;} + dl dt.rubric{margin-top:1em;} + dl dt.def-head{font-size:1.2em;font-weight:bold;line-height:150%;margin-left:-1em;margin-right:-1em;padding:0 1em 0;} + dl dd.def-rubric{border-bottom:2px solid #fff;line-height:150%;font-style:italic;margin-left:-1em;margin-right:-1em;padding:0 1em 0.5em;} +/*]]>*/ +</style> +<style type="text/css" media="all"> +/*<![CDATA[*/ + body blockquote strong{text-transform:uppercase;} + body div.readme p#friends span.family-name{display:none;} + body ol#toc{list-style:lower-roman;} + body ul li{list-style:square;} + body ul li ul li{list-style:circle;} + body ol.item-examples li{list-style:lower-alpha;} + dl{margin:1em 0 2em;} + div#theme-meta span{display:block;margin:0.2em 0;} + dl#emphasis dd em{font-style:normal;font-weight:700;} + dl#emphasis dd strong{font-size:0.9em;letter-spacing:0.4px;text-transform:uppercase;} + dl dd a.download{background:url(images/file-download.png) no-repeat center left;padding-left:19px;} + dl dd p.html{background:url(images/file-html.png) no-repeat center left;padding-left:19px;margin:0;} + dl dd span.pdf{background:url(images/file-pdf.png) no-repeat center left;padding-left:19px;margin:0;} + dl dd a.zip{background:url(images/file-zip.png) no-repeat center left;padding-left:19px;margin:0;} + dl dd p.important{background:#f5f5dc url(images/important.png) no-repeat 0.5em center;border-bottom:1px solid #d0d0bb;border-top:1px solid #d0d0bb;padding:0.2em 0.5em 0.2em 2.2em;margin:0;} + dl dd span.caps{font-variant:small-caps;} +/*]]>*/ +</style> +</head> +<body> +<div class="readme"> + <h2 id="readme-title">plaintxtBlog</h2> + <div class="readme-meta"> + <div class="readme-version">Version 4.6.1</div> + <div class="readme-subtitle">Your blog, but simplified</div> + </div> + <ol id="toc"> + <li> + <h3>Table of contents</h3> + <ol class="readme-menu"> + <li><a href="#about" title="About plaintxtBlog">About plaintxtBlog</a></li> + <li><a href="#installing" title="Installing the theme">Installing the theme files</a></li> + <li><a href="#enabling" title="Enabling comments on pages">Enabling comments on pages</a></li> + <li><a href="#using" title="Using page templates">Using page templates</a></li> + <li><a href="#customizing" title="Customizing the sidebar">Customizing the sidebar</a></li> + <li><a href="#special" title="Special classes and styled elements">Special classes and styled elements</a></li> + <li><a href="#standards" title="Standards compliance">Standards compliance</a></li> + <li><a href="#license" title="License information">License information</a></li> + <li><a href="#development" title="Development and help">Development and help</a></li> + <li><a href="#credits" title="Credits and thanks">Credits and thanks</a></li> + </ol> + </li> + </ol> + <ol id="readme-content"> + <li id="about"> + <h3>About plaintxtBlog</h3> + <p><a href="http://www.plaintxt.org/themes/plaintxtBlog/" title="plaintxtBlog for WordPress">PlaintxtBlog</a> is perhaps the original minimalist theme for <a href="http://wordpress.org/" title="WordPress">WordPress</a>. Its light sidebars and uncluttered layout make it ideal for customizing.</p> + <p>PlaintxtBlog version 4.5 is compatible with Wordpress 2.5.x.</p> + <p class="rubric">The plaintxtBlog theme features:</p> + <ul id="features"> + <li>a theme options menu, which allows + <ul> + <li>control over fonts and text size</li> + <li>control over the layout and alignment</li> + </ul> + </li> + <li><a href="http://en.wikipedia.org/wiki/Web_standards" title="Web standards on Wikipedia">standards compliance</a> with + <ul> + <li><a href="http://en.wikipedia.org/wiki/Cascading_Style_Sheets" title="CSS on Wikipedia">CSS</a> 2.1</li> + <li><a href="http://microformats.org/wiki/hatom" title="hAtom microformat">hAtom 0.1</a></li> + <li><a href="http://microformats.org/wiki/hcard" title="hCard microformat">hCard</a></li> + <li><a href="http://en.wikipedia.org/wiki/XHTML" title="XHTML">XHTML</a> 1.0 Transitional</li> + </ul> + </li> + <li>option for enabling comments on pages</li> + <li>a robust stylesheet and separate print stylesheet</li> + <li>highly <a href="http://en.wikipedia.org/wiki/Semantic_web" title="Semantic web on Wikipedia">semantic markup</a></li> + <li>latest Widgets compatibility</li> + </ul> + </li> + <li id="installing"> + <h3>Installing the theme files</h3> + <p>The theme is installed just like any other WordPress theme. You can read more detailed installation instructions on the WordPress Codex in <a href="http://codex.wordpress.org/Using_Themes#Adding_New_Themes" title="Adding new themes - WordPress Codex">Adding New Themes</a>.</p> + <p>If you are upgrading from an older version, first reset the theme options in the <i>Theme Options</i> submenu. Then delete <em>all</em> the plaintxtBlog theme files and folders before uploading the new version.</p> + <p class="rubric">To install the theme:</p> + <ol> + <li>Download <a href="http://www.plaintxt.org/themes/plaintxtblog/" title="plaintxtBlog for WordPress">plaintxtBlog</a></li> + <li>Extract the <code>/plaintxtblog/</code> folder from the archive</li> + <li>Upload this folder to the <code>/wp-contents/themes/</code> directory</li> + <li>Activate the theme in the <i>Dashboard › Design</i> menu</li> + <li>After activating, the <i>Design › Theme Options</i> will appear</li> + <li>Enjoy. And then consider donating.</li> + </ol> + <h4>Support and donations</h4> + <form id="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post"> + <div id="donate"> + <input type="hidden" name="cmd" value="_s-xclick" /> + <input type="image" name="submit" src="https://www.paypal.com/en_US/i/btn/x-click-butcc-donate.gif" alt="Donate with PayPal - it's fast, free and secure!" /> + <img src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1" alt="Donate with PayPal" /> + <input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHVwYJKoZIhvcNAQcEoIIHSDCCB0QCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYC5WHxsE1rn1TvK9Dg/ad7ghN0eEUkH+Ghhx5603Ztt4PdCkq1JjJrfw9qmxGvbRn0kWm7Vb/BlIxghleOsQD3gLvzW5xaOUJFvTH79YZc4GtS1YwKbJRtWUi41ISqx1YXu41D8wFLsRrPhHT7lQ44k8GvEsh9hEQmHC1fMDS6yzzELMAkGBSsOAwIaBQAwgdQGCSqGSIb3DQEHATAUBggqhkiG9w0DBwQIFybuzsj53CaAgbDxIXqQ6+wOrMYUusDguJczFEALUCWoic/DpJMk0s65pEgWoGfykGVxfyeqwW1ntjgF9MpXjKkIsdGuIfzef0dTPiu1v8vRE7D2cZBGdVlq533eGkP/ykPs8ygVIW5LJyYXDro0fsP6W36i0vQ7zyy980ohy2rxtHBquWhnoRVF9WM3DdtWBdhAlePResDI6ZO/K78lzb5HQ3YUfYHkb+sCk1CwtUbnk5np6qauqcAUoqCCA4cwggODMIIC7KADAgECAgEAMA0GCSqGSIb3DQEBBQUAMIGOMQswCQYDVQQGEwJVUzELMAkGA1UECBMCQ0ExFjAUBgNVBAcTDU1vdW50YWluIFZpZXcxFDASBgNVBAoTC1BheVBhbCBJbmMuMRMwEQYDVQQLFApsaXZlX2NlcnRzMREwDwYDVQQDFAhsaXZlX2FwaTEcMBoGCSqGSIb3DQEJARYNcmVAcGF5cGFsLmNvbTAeFw0wNDAyMTMxMDEzMTVaFw0zNTAyMTMxMDEzMTVaMIGOMQswCQYDVQQGEwJVUzELMAkGA1UECBMCQ0ExFjAUBgNVBAcTDU1vdW50YWluIFZpZXcxFDASBgNVBAoTC1BheVBhbCBJbmMuMRMwEQYDVQQLFApsaXZlX2NlcnRzMREwDwYDVQQDFAhsaXZlX2FwaTEcMBoGCSqGSIb3DQEJARYNcmVAcGF5cGFsLmNvbTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAwUdO3fxEzEtcnI7ZKZL412XvZPugoni7i7D7prCe0AtaHTc97CYgm7NsAtJyxNLixmhLV8pyIEaiHXWAh8fPKW+R017+EmXrr9EaquPmsVvTywAAE1PMNOKqo2kl4Gxiz9zZqIajOm1fZGWcGS0f5JQ2kBqNbvbg2/Za+GJ/qwUCAwEAAaOB7jCB6zAdBgNVHQ4EFgQUlp98u8ZvF71ZP1LXChvsENZklGswgbsGA1UdIwSBszCBsIAUlp98u8ZvF71ZP1LXChvsENZklGuhgZSkgZEwgY4xCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEUMBIGA1UEChMLUGF5UGFsIEluYy4xEzARBgNVBAsUCmxpdmVfY2VydHMxETAPBgNVBAMUCGxpdmVfYXBpMRwwGgYJKoZIhvcNAQkBFg1yZUBwYXlwYWwuY29tggEAMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEFBQADgYEAgV86VpqAWuXvX6Oro4qJ1tYVIT5DgWpE692Ag422H7yRIr/9j/iKG4Thia/Oflx4TdL+IFJBAyPK9v6zZNZtBgPBynXb048hsP16l2vi0k5Q2JKiPDsEfBhGI+HnxLXEaUWAcVfCsQFvd2A1sxRr67ip5y2wwBelUecP3AjJ+YcxggGaMIIBlgIBATCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwCQYFKw4DAhoFAKBdMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTA4MDMwOTAzNTIxOFowIwYJKoZIhvcNAQkEMRYEFDCH6yPl7P/aK4R5dCHcArGh0mWRMA0GCSqGSIb3DQEBAQUABIGAuhyKAd6sGZr4oyAwC54f/IbX5cNUgl3rDIKYR6WxvU+sw3+kYS4xo2CybOuCvn5zKytta0NMM5ntBmgKn4OU/XngltcV30s3ytgLo/obCUJBJRTjAAxaaK8PtnKuQ3/fsizbRwjNSzal0WDhW96E7t2EtH6tFninKIwZFG+8Vcc=-----END PKCS7-----" /> + </div> + </form> + <p>If you would like to support this theme or just say "Thanks," please consider donating. Voluntary support from users is what makes providing WordPress themes possible, so consider throwing a few bucks my way. Even the smallest donations are earnestly appreciated.</p> + </li> + <li id="enabling"> + <h3>Enabling comments on pages</h3> + <p><a href="http://codex.wordpress.org/Pages" title="Pages - WordPress Codex">Pages</a> are usually considered static in blogging and different from posts, which are what make a blog a blog. Comments are not displayed on pages by default and the author's name is also omitted; however, you can enable both of these features with this theme.</p> + <p class="rubric">To enable comments on a page:</p> + <ol> + <li>In the <i>Write › Page</i> menu, expand the <a href="http://codex.wordpress.org/Using_Custom_Fields" title="Custom Fields - WordPress Codex">Custom Fields</a> box</li> + <li>In the Custom Fields box, add a new key with the exact text: <code>comments</code></li> + <li>Add any text for a value (some text must be included for the key to save)</li> + <li>Click <i>Add Custom Field</i> to save the key/value</li> + <li>Comments should now be enabled on that page</li> + </ol> + <p>Enabling comments simply attaches the <code>comments.php</code> file to the page. You can turn off comments on a page by deleting the <code>comments</code> key/value. This does not delete any exisiting comments, but simply disables them from loading with the page.</p> + </li> + <li id="using"> + <h3>Using page templates</h3> + <p>There are three <a href="http://codex.wordpress.org/Pages#Page_Templates" title="Page templates - WordPress Codex">page templates</a> included with the plaintxtBlog theme: Archives Page (archives.php), Links Page (links.php), and Sitemap Page (sitemap.php). You can add a title, text, and enable comments and/or an author bylines (see above) with page templates.</p> + <p class="rubric">To use the page templates:</p> + <ol> + <li>In the <i>Write › Page</i> menu, expand the Page Templates box</li> + <li>From the drop-down, select the page template to use</li> + <li>Add a title and text (optional) for the page</li> + <li>Click <i>Create New Page / Save</i> to publish the page</li> + </ol> + <p>The Archive Page displays archives by month and by category (with a link to each category RSS feed). The Links Page displays all the links by link category. The Sitemap Page produces an exhaustive list of all pages and all posts, and lists all category, monthly, and tag archives.</p> + </li> + <li id="customizing"> + <h3>Customizing the sidebars</h3> + <p>For complete control over the sidebar without editing the theme files, use the <i>Design › Widgets</i> menu options. Here you have complete control over the sidebar content.</p> + <p>The plaintxtBlog theme will correctly display all of the default widgets. There are, however, hundreds of other widgets available that do all sorts of things; therefore, some widgets will require additional CSS declarations to be added to the <code>style.css</code> file.</p> + <p>Unforunately I can't write <a href="http://en.wikipedia.org/wiki/Cascading_Style_Sheets" title="CSS on Wikipedia">CSS</a> for other widgets/plugins. I can't help you <em>learn</em> CSS, but I can help you <em>use</em> CSS.</p> + <p class="rubric">For help learning CSS, visit:</p> + <ul> + <li><a href="http://www.cssbasics.com/" title="CSS Basics.com">CSS Basics.com</a></li> + <li><a href="http://www.htmldog.com/guides/cssbeginner/" title="HTML Dog's CSS Beginner Tutorial">HTML Dog's CSS Beginner Tutorial</a></li> + <li><a href="http://www.html.net/tutorials/css/" title="HTML.net's CSS Tutorial">HTML.net's CSS Tutorial</a></li> + <li><a href="http://www.w3schools.com/css/default.asp" title="W3's CSS School">W3's CSS School</a></li> + <li><a href="http://www.stylegala.com/features/css-reference/" title="Stylegala's CSS Reference">Stylegala's CSS Reference</a></li> + </ul> + <p>The plaintxtBlog theme automatically replaces a few of the default widgets that come with the Widgets plugin, e.g., Meta, Links, Search, with ones that match the default plaintxtBlog sidebar style.</p> + <p>Similarly the theme also automatically loads some of its own widgets, e.g., RSS Links, Home Link. This allows the default plaintxtBlog sidebar to be completely replicated using the Widgets.</p> + </li> + <li id="special"> + <h3>Special classes and styled elements</h3> + <p>The plaintxtBlog theme stylesheet (the <code>/plaintxtblog/style.css</code> file) includes specific styles for some special classes and many HTML elements. Some explanation may be helpful for some of the styled HTML elements.</p> + <p>Note that these classes and elements won't work correctly when entered into the <a href="http://codex.wordpress.org/Your_Profile_SubPanel" title="Your profile - WordPress Codex">visual rich editor</a>. I highly recommend disabling the visual rich editor feature in your user profile.</p> + <h4>Headings</h4> + <p>Headings for the content area have been styled to display correctly: with more space above than below as content must logically follow headings. Headings help create an outline of the content on your page. They guide the reader and also help machines understand the structure of content.</p> + <p>While there are no hard-and-fast rules regarding this, I believe the headings should follow a logical progression, e.g., <i>h1 › h2 › h3 › h4 › h3 › h3 › h4 … </i>. There should not be two <code>h1</code>-level headings on a single page. Therefore, since post and page titles are <code>h2</code>-level, the only headings that should be used in the content area are <code>h3</code>–<code>h6</code>.</p> + <h4>Special classes</h4> + <p>There are certain conventions amongst many WordPress themes for special classes. Notably common are the image classes. Again, these won't work correctly if entered directly into the visual rich editor.</p> + <p>You should have a basic understanding of HTML before using these classes. I won't be able to help you <em>learn</em> HTML. I can, however, help you <em>use</em> HTML.</p> + <dl id="alignment"> + <dt class="def-head">Alignment classes</dt> + <dd class="def-rubric">Used to align elements, notably images</dd> + <dt class="rubric"><b>alignleft</b> - Floats element to the left, e.g.,</dt> + <dt class="classes"> + <code><img class="<b>alignleft</b>" … /></code> + <code><p class="<b>alignleft</b>" … /></code> + </dt> + <dd class="example-code"><pre> XXXXXXX + ⌈¯⌉ XXX + ⌊_⌋ XXX + XXXXXXX</pre></dd> + <dd class="example"><code><img <b>class="alignleft"</b> src="http://www.example.com/example.jpg" alt="Example" /></code></dd> + <dd class="rubric"><b>alignright</b> - Floats element to the right, e.g.,</dd> + <dt class="classes"> + <code><img class="<b>alignright</b>" … /></code> + <code><div class="<b>alignright</b>" … /></code> + </dt> + <dd class="example-code"><pre> XXXXXXX + XXX ⌈¯⌉ + XXX ⌊_⌋ + XXXXXXX</pre></dd> + <dd class="example"><code><img <b>class="alignright"</b> src="http://www.example.com/example.jpg" alt="Example" /></code></dd> + <dt class="rubric"><b>aligncenter</b> - Centers element as a block, e.g.,</dt> + <dt class="classes"> + <code><img class="<b>aligncenter</b>" … /></code> + <code><span class="<b>aligncenter</b>" … /></code> + </dt> + <dd><pre> XXXXXXX + ⌈¯⌉ + ⌊_⌋ + XXXXXXX</pre></dd> + <dd class="example"><code><img <b>class="aligncenter"</b> src="http://www.example.com/example.jpg" alt="Example" /></code></dd> + <dt class="rubric"><b>content-column</b> - Sets element in column (Should be used with one of the elements above), e.g.,</dt> + <dt class="classes"> + <code><p class="<b>content-column alignleft</b>" … /></code> + <code><div class="<b>content-column alignright</b>" … /></code> + </dt> + <dd class="example"><code><div <b>class="content-column alignright"</b>> … </div></code></dd> + </dl> + <dl id="file"> + <dt class="def-head">Icon element classes</dt> + <dd class="def-rubric">Used to add a <a href="http://www.famfamfam.com/lab/icons/silk/" title="Silk icons by Fam Fam Fam">Silk icon</a> to any HTML element</dd> + <dt class="rubric"><b>download</b> - Adds a download icon, e.g.,</dt> + <dt class="classes"> + <code>class="<b>download</b>"</code> + </dt> + <dd><a class="download" href="http://example.com/example-file">Download this file</a></dd> + <dd class="example"><code><a <b>class="download"</b> href="http://example.com/example-file">Download this file</a></code></dd> + <dt class="rubric"><b>html</b> - Adds an html (web) icon, e.g.,</dt> + <dt class="classes"> + <code>class="<b>html</b>"</code> + </dt> + <dd><p class="html">This webpage is great!</p></dd> + <dd class="example"><code><p <b>class="html"</b>>This webpage is great!</p></code></dd> + <dt class="rubric"><b>pdf</b> - Adds a pdf icon, e.g.,</dt> + <dt class="classes"> + <code>class="<b>pdf</b>"</code> + </dt> + <dd>The <span class="pdf">Adobe pdf</span> is a …</dd> + <dd class="example"><code>The <span <b>class="pdf"</b>>Adobe pdf</span> is a &hellip;</code></dd> + <dt class="rubric"><b>zip</b> - Adds a zip (compressed archive) icon, e.g.,</dt> + <dt class="classes"> + <code>class="<b>zip</b>"</code> + </dt> + <dd><a class="zip" href="http://example.com/example-zip">Get the zip</a></dd> + <dd class="example"><code><a <b>class="zip"</b> href="http://example.com/example-zip">Get the zip</a></code></dd> + </dl> + + + <dl id="misc"> + <dt class="def-head">Micellaneous classes</dt> + <dd class="def-rubric">Other presentational classes that can be applied to elements</dd> + <dt class="rubric"><b>important</b> - Adds an info icon and other styles, e.g.,</dt> + <dt class="classes"> + <code>class="<b>important</b>"</code> + </dt> + <dd><p class="important">Lorem ipsum importanto habeo inciderint mei at …</p></dd> + <dd class="example"><code><p <b>class="important"</b>>Lorem ipsum importanto habeo inciderint mei at &hellip;</p></code></dd> + <dt class="rubric"><b>caps</b> - Used to style text in small-caps, e.g.,</dt> + <dt class="classes"> + <code>class="<b>caps</b>"</code> + </dt> + <dd>I work at <span class="caps">Ini-Tech</span> …</dd> + <dd class="example"><code>I work at <span <b>class="caps"</b>>Ini-Tech</span> &hellip;</code></dd> + </dl> + </li> + <li id="standards"> + <h3>Standards compliance</h3> + <p>The plaintxtBlog theme is compliant with both XHTML and CSS standards. What does this mean? An explanation of web standards from <cite title="Web Standards Project"><a href="http://webstandards.org" title="Web Standards Project">The Web Standards Project</a></cite>:</p> + <blockquote cite="http://webstandards.org/learn/faq/" title="What are web standards and why should I use them?"> + <p>Complying with web standards can give your web pages greater visibility in web searches. The structural information present in compliant documents makes it easy for search engines to access and evaluate the information in those documents, and they get indexed more accurately.</p> + <p>Accessibility is an important idea behind many web standards. Not only does this mean allowing the web to be used by people with disabilities, but also allowing web pages to be understood by people using browsers other than the usual ones — including voice browsers that read web pages aloud to people with sight impairments, Braille browsers, hand-held browsers, teletext displays, and other unusual output devices.</p> + </blockquote> + <p>You can read more about developing with web standards at <a href="http://www.456bereastreet.com/lab/developing_with_web_standards/webstandards/" title="Developing with web standards">456 Berea Street</a>.</p> + <h4>hAtom microformat</h4> + <p>In addition to XHTML and CSS web standards, the plaintxtBlog theme implements the <a href="http://microformats.org/wiki/hatom" title="hAtom - Microformats">hAtom 0.1</a> microformat. <a href="http://microformats.org/" title="Microformats">Microformats</a> are markup that express semantic information in webpages.</p> + <p>Programs can extract information from webpages marked up in a microformat much like feed readers extract information from Atom or RSS syndicated feeds.</p> + <h4>hCard microformat</h4> + <p><a href="http://microformats.org/wiki/hcard" title="hCard - Microformats">hCard</a> is a microformat that expresses basic contact information much like a <a href="http://en.wikipedia.org/wiki/VCard" title="vCard - Wikipedia">vCard</a>, except within your blog itself. Basically this is done by using <code>span</code>'s with certain class attributes.</p> + <p>The first name, last name, and website information for the <i>admin</i> user is automatically used to create an hCard that is placed in the footer and followed by basic copyright information.</p> + <p>The hCard microformat is used throughout the theme, actually, for author links, bylines, and comment authors. You don't need to do anything, as basically hAtom and hCard are ways of making your blog <a href="http://kitchen.technorati.com/search/" title="Technorati Microformats Search">more accessible</a>.</p> + </li> + <li id="license"> + <h3>License information</h3> + <p>The plaintxtBlog theme, © 2006–2008 <span class="vcard"><a class="url fn n" href="http://scottwallick.com/"><span class="given-name">Scott</span> <span class="additional-name">Allan</span> <span class="family-name">Wallick</span></a></span>, is licensed under the <cite title="GNU General Public License"><a href="license.txt" title="GNU General Public License" rel="license">GNU General Public License</a></cite>:</p> + <blockquote cite="http://www.gnu.org/licenses/gpl.html" title="GNU General Public License"> + <p>This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.</p> + <p>This program is distributed in the hope that it will be useful, but <strong>without any warranty</strong>; without even the implied warranty of <strong>merchantability</strong> or <strong>fitness for a particular purpose</strong>. See the GNU General Public License for more details.</p> + <p>You should have received a copy of the GNU General Public License along with this program. If not, see <a href="http://www.gnu.org/licenses/" title="GNU General Public License" rel="license">http://www.gnu.org/licenses/</a>.</p> + </blockquote> + <p>Please feel free to alter the plaintxtBlog theme in any way that pleases you. All I ask is that you allow my original design credit to remain.</p> + </li> + <li id="development"> + <h3>Development and help</h3> + <p>If something isn't working correctly with this theme, please visit <a href="http://code.google.com/p/plaintxtblog/" title="plaintxtBlog - Google Code">plaintxtBlog on Google Code</a>, the project home, to file issues, report problems, help create documentation, etc., because the more everyone shares, the better things can be.</p> + <p>You can also access the plaintxtBlog <a href="http://en.wikipedia.org/wiki/Subversion" title="Subversion - Wikipedia">Subversion</a> repo, which hosts pre-release fixes and allows changes to be tracked. Please ignore if unfamiliar with Subversion.</p> + <p>Please feel free to send me an <a href="http://www.plaintxt.org/contact/" title="Contact Scott">email</a> if you're having a problem; however, I will ask that you start an issue on the plaintxtBlog project home (see above) before problem solving. Thanks.</p> + </li> + <li id="credits"> + <h3>Credits and thanks</h3> + <p id="friends">A special thanks goes to <span class="vcard"><a class="url fn n" href="http://andy.wordpress.com/" rel="colleague friend"><span class="given-name">Andy</span><span class="family-name"> Skelton</span></a></span>, who taught me heaps. Andy I collaborated to create the <a href="http://www.plaintxt.org/themes/sandbox/" title="Sandbox theme for WordPress">Sandbox</a>. Thanks to <span class="vcard"><a class="url fn n" href="http://www.mackrick.co.uk/" rel="colleague friend"><span class="given-name">Rick</span><span class="family-name"> Lee</span></a></span> for his thoughtful feedback. And to <span class="vcard"><a class="url fn n" href="http://archgfx.net/" rel="colleague friend"><span class="given-name">Adam</span><span class="family-name"> Freetly</span></a></span> for helping me see 20 things I had to fix.</p> + <h4>Icons</h4> + <p>The file icons are from the <a href="http://www.famfamfam.com/lab/icons/silk/" title="famfamfam.com: Silk Icons">Silk Icons</a> collection by <span class="vcard"><a class="url fn n" href="http://www.famfamfam.com/"><span class="given-name">Mark</span> <span class="family-name">James</span></a></span>. The feed icon is from the <a href="http://www.feedicons.com/">Feed Icons</a> collection by <span class="vcard"><a class="url fn n" href="http://mattbrett.com/"><span class="given-name">Matt</span> <span class="family-name">Brett</span></a></span>.</p> + </li> + </ol> +</div> +</body> +</html> \ No newline at end of file diff --git a/wp-content/themes/plaintxtblog/screenshot.png b/wp-content/themes/plaintxtblog/screenshot.png new file mode 100644 index 0000000000000000000000000000000000000000..7c78c5793d804c6c50ae9f8daa623027233feda9 Binary files /dev/null and b/wp-content/themes/plaintxtblog/screenshot.png differ diff --git a/wp-content/themes/plaintxtblog/search.php b/wp-content/themes/plaintxtblog/search.php new file mode 100644 index 0000000000000000000000000000000000000000..99bb87044d7425e99fa1c5cd12c51716961eec20 --- /dev/null +++ b/wp-content/themes/plaintxtblog/search.php @@ -0,0 +1,60 @@ +<?php get_header() ?> + + <div id="container"> + <div id="content" class="hfeed"> + +<?php if (have_posts()) : ?> + + <h2 class="page-title"><?php _e('Search Results:', 'plaintxtblog') ?> <span><?php the_search_query() ?></span></h2> + +<?php while (have_posts()) : the_post(); ?> + + <div id="post-<?php the_ID() ?>" class="<?php plaintxtblog_post_class() ?>"> + <div class="entry-header"> + <h3 class="entry-title"><a href="<?php the_permalink() ?>" title="<?php printf(__('Permalink to %s', 'plaintxtblog'), wp_specialchars(get_the_title(), 1)) ?>" rel="bookmark"><?php the_title() ?></a></h3> + <abbr class="published" title="<?php the_time('Y-m-d\TH:i:sO'); ?>"><?php unset($previousday); printf(__('%1$s', 'plaintxtblog'), the_date('d-M-y', false)) ?></abbr> + </div> + <div class="entry-content"> +<?php the_excerpt('<span class="more-link">'.__('More…', 'plaintxtblog').'</span>') ?> + + </div> + <div class="entry-meta"> + <span class="entry-category"><?php printf(__('Filed in %s', 'plaintxtblog'), get_the_category_list(', ') ) ?></span> + <span class="meta-sep">|</span> + <span class="entry-tags"><?php the_tags(__('Tagged ', 'plaintxtblog'), ", ", "") ?></span> + <span class="meta-sep">|</span> +<?php edit_post_link(__('Edit', 'plaintxtblog'), "\t\t\t\t\t<span class='entry-edit'>", "</span>\n\t\t\t\t\t<span class='meta-sep'>|</span>\n"); ?> + <span class="entry-comments"><?php comments_popup_link(__('Comments (0) »', 'plaintxtblog'), __('Comments (1) »', 'plaintxtblog'), __('Comments (%) »', 'plaintxtblog'),'',__('Comments Off','plaintxtblog')) ?></span> + </div> + </div><!-- .post --> + +<?php endwhile; ?> + + <div id="nav-below" class="navigation"> + <div class="nav-previous"><?php next_posts_link(__('« Older posts', 'plaintxtblog')) ?></div> + <div class="nav-next"><?php previous_posts_link(__('Newer posts »', 'plaintxtblog')) ?></div> + <div class="nav-home"><a href="<?php echo get_settings('home') ?>/" title="<?php bloginfo('name') ?>"><?php _e('Home', 'plaintxtblog'); ?></a></div> + </div> + +<?php else : ?> + + <div id="post-0" class="post"> + <h2 class="entry-title"><?php _e('Nothing Found', 'plaintxtblog') ?></h2> + <div class="entry-content"> + <p><?php _e('Sorry, but nothing matched your search criteria. Please try again with some different keywords.', 'plaintxtblog') ?></p> + </div> + </div><!-- #post-0 .post --> + <form id="noresults-searchform" method="get" action="<?php bloginfo('home') ?>"> + <div> + <input id="noresults-s" name="s" type="text" value="<?php the_search_query() ?>" size="40" /> + <input id="noresults-searchsubmit" name="searchsubmit" type="submit" value="<?php _e('Search', 'plaintxtblog') ?>" /> + </div> + </form> + +<?php endif; ?> + + </div><!-- #content .hfeed --> + </div><!-- #container --> + +<?php get_sidebar() ?> +<?php get_footer() ?> \ No newline at end of file diff --git a/wp-content/themes/plaintxtblog/sidebar.php b/wp-content/themes/plaintxtblog/sidebar.php new file mode 100644 index 0000000000000000000000000000000000000000..df732fa6f20983059622a8e131ae2d6739092b9d --- /dev/null +++ b/wp-content/themes/plaintxtblog/sidebar.php @@ -0,0 +1,75 @@ + <div id="primary" class="sidebar"> + <ul> +<?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar(1) ) : // Begin Widgets for Sidebar 1; displays widgets or default contents below ?> +<?php if ( !is_home() || is_paged() ) { // Displays a home link everywhere except the home page ?> + <li id="home-link"> + <h3><a href="<?php bloginfo('home') ?>" title="<?php echo wp_specialchars(get_bloginfo('name'), 1) ?>"><?php _e('« Home', 'plaintxtblog') ?></a></h3> + </li> +<?php } ?> +<?php wp_list_pages('title_li=<h3>'.__('Pages').'</h3>&sort_column=post_title' ) ?> + + <?php if ( is_home() || is_paged() ) { ?> + <li id="meta"> + <h3><?php _e('Meta', 'plaintxtblog') ?></h3> + <ul> + <?php wp_register() ?> + <li><?php wp_loginout() ?></li> + <?php wp_meta() // Do not remove; helps plugins work ?> + </ul> + </li> + <?php } ?> + <li id="rss-links"> + <h3><?php _e('RSS Feeds', 'plaintxtblog') ?></h3> + <ul> + <li><a href="<?php bloginfo('rss2_url') ?>" title="<?php echo wp_specialchars(get_bloginfo('name'), 1) ?> RSS 2.0 Feed" rel="alternate" type="application/rss+xml"><?php _e('All posts', 'plaintxtblog') ?></a></li> + <li><a href="<?php bloginfo('comments_rss2_url') ?>" title="<?php echo wp_specialchars(bloginfo('name'), 1) ?> Comments RSS 2.0 Feed" rel="alternate" type="application/rss+xml"><?php _e('All comments', 'plaintxtblog') ?></a></li> + </ul> + </li> + <li id="search"> + <h3><label for="s"><?php _e('Search', 'plaintxtblog') ?></label></h3> + <form id="searchform" method="get" action="<?php bloginfo('home') ?>"> + <div> + <input id="s" name="s" type="text" value="<?php the_search_query() ?>" size="10" /> + <input id="searchsubmit" name="searchsubmit" type="submit" value="<?php _e('Find', 'plaintxtblog') ?>" /> + </div> + </form> + </li> +<?php endif; // End Widgets ?> + + </ul> + </div><!-- #primary .sidebar --> + + <div id="secondary" class="sidebar"> + <ul> +<?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar(2) ) : // Begin Widgets for Sidebar 2; displays widgets or default contents below ?> +<?php if ( wp_list_pages("child_of=".$post->ID."&echo=0") ) { // Shows subpages when subpages for the current page exist ?> + <li id="subpagenav"> + <h3><?php _e('Subpages', 'plaintxtblog') ?></h3> + <ul> +<?php wp_list_pages("title_li=&child_of=".$post->ID."&sort_column=menu_order&show_date=modified&date_format=$date_format"); ?> + + </ul> + </li> +<?php } ?> + <li id="categories"> + <h3><?php _e('Categories', 'plaintxtblog'); ?></h3> + <ul> +<?php wp_list_categories('title_li=&orderby=name&use_desc_for_title=1&hierarchical=1') ?> + + </ul> + </li> + <li id="tag-cloud"> + <h3><?php _e('Tags', 'plaintxtblog'); ?></h3> + <p><?php wp_tag_cloud() ?></p> + </li> + <li id="archives"> + <h3><?php _e('Archives', 'plaintxtblog') ?></h3> + <ul> +<?php wp_get_archives('type=monthly') ?> + + </ul> + </li> +<?php endif; // End Widgets ?> + + </ul> + </div><!-- #secondary .sidebar --> diff --git a/wp-content/themes/plaintxtblog/single.php b/wp-content/themes/plaintxtblog/single.php new file mode 100644 index 0000000000000000000000000000000000000000..dd3d4b9e0ed914f0a0d5dd162da673226c79e45f --- /dev/null +++ b/wp-content/themes/plaintxtblog/single.php @@ -0,0 +1,55 @@ +<?php get_header(); ?> + + <div id="container"> + <div id="content" class="hfeed"> + +<?php the_post(); ?> + + <div id="post-<?php the_ID(); ?>" class="<?php plaintxtblog_post_class(); ?>"> + <h2 class="entry-title"><?php the_title(); ?></h2> + <div class="entry-content"> +<?php the_content('<span class="more-link">'.__('More…', 'plaintxtblog').'</span>') ?> + +<?php link_pages('<div class="page-link">'.__('Pages: ', 'plaintxtblog'), "</div>\n", 'number'); ?> + </div> + <div class="entry-meta"> +<?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) : ?> + <?php printf(__('<span class="entry-comments"><a href="#respond" title="Post a comment">Post a comment</a></span> <span class="meta-sep">—</span> <span class="entry-trackbacks"><a href="%s" rel="trackback" title="Trackback URI for your post">Trackback URI</a></span>', 'plaintxtblog'), get_trackback_url()) ?> +<?php elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) : ?> + <?php printf(__('<span class="entry-comments">Comments closed</span> <span class="meta-sep">—</span> <span class="entry-trackbacks"><a href="%s" rel="trackback" title="Trackback URL for your post">Trackback URI</a></span>', 'plaintxtblog'), get_trackback_url()) ?> +<?php elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) : ?> + <?php printf(__('<span class="entry-comments"><a href="#respond" title="Post a comment">Post a comment</a></span> <span class="meta-sep">—</span> <span class="entry-trackbacks">Trackbacks closed</span>', 'plaintxtblog')) ?> +<?php elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) : ?> + <?php _e('<span class="entry-comments">Comments closed</span> <span class="meta-sep">—</span> <span class="entry-trackbacks">Trackbacks closed</span>', 'plaintxtblog') ?> +<?php endif; ?> + + <span class="entry-commentslink"><?php printf(__('<a href="%1$s" title="%2$s comments RSS feed" rel="alternate" type="application/rss+xml">RSS 2.0 feed</a> for these comments', 'plaintxtblog'), + comments_rss(), + wp_specialchars(get_the_title(), 'double') ) ?></span> + + <span class="entry-metainfo"><?php printf(__('This entry (<a href="%1$s" title="Permalink to %2$s" rel="bookmark">permalink</a>) was posted on <abbr class="published" title="%3$sT%4$s">%5$s at %6$s</abbr> by %7$s. Filed in %8$s%9$s.', 'plaintxtblog'), + get_permalink(), + wp_specialchars(get_the_title(), 'double'), + get_the_time('Y-m-d'), + get_the_time('H:i:sO'), + the_date('l, F j, Y,', '', '', false), + get_the_time(), + '<span class="vcard"><span class="fn n">' . $authordata->display_name . '</span></span>', + get_the_category_list(', '), + get_the_tag_list(' and tagged ', ', ') ) ?> <?php edit_post_link(__('Edit this entry', 'plaintxtblog')); ?></span> + </div> + </div><!-- .post --> + +<?php comments_template(); ?> + + <div id="nav-below" class="navigation"> + <div class="nav-previous"><?php previous_post_link(__('« %link', 'plaintxtblog')) ?></div> + <div class="nav-next"><?php next_post_link(__('%link »', 'plaintxtblog')) ?></div> + <div class="nav-home"><a href="<?php echo get_settings('home') ?>/" title="<?php bloginfo('name') ?>"><?php _e('Home', 'plaintxtblog'); ?></a></div> + </div> + + </div><!-- #content .hfeed --> + </div><!-- #container --> + +<?php get_sidebar() ?> +<?php get_footer() ?> \ No newline at end of file diff --git a/wp-content/themes/plaintxtblog/sitemap.php b/wp-content/themes/plaintxtblog/sitemap.php new file mode 100644 index 0000000000000000000000000000000000000000..a4ab2d69d77956bc782c37b2cd28f226321f5112 --- /dev/null +++ b/wp-content/themes/plaintxtblog/sitemap.php @@ -0,0 +1,67 @@ +<?php +/* +Template Name: Sitemap Page +*/ +?> +<?php get_header() ?> + + <div id="container"> + <div id="content" class="hfeed"> + +<?php the_post() ?> + + <div id="post-<?php the_ID() ?>" class="<?php plaintxtblog_post_class() ?>"> + <h2 class="entry-title"><?php the_title() ?></h2> + <div class="entry-content"> +<?php the_content(); ?> + + <ul id="sitemap-page" class="xoxo"> + <li id="all-pages"> + <h3><?php _e( 'All Pages', 'plaintxtblog' ) ?></h3> + <ul> +<?php wp_list_pages('title_li='); ?> + </ul> + </li> + <li id="all-posts"> + <h3><?php _e( 'All Posts', 'plaintxtblog' ) ?></h3> + <ul> +<?php $post_archives = new wp_query('showposts=1000'); +while ( $post_archives->have_posts() ) : $post_archives->the_post(); ?> + <li class="hentry"> + <span class="entry-title"><a href="<?php the_permalink() ?>" title="<?php printf(__( 'Permalink to %s', 'plaintxtblog' ), wp_specialchars( get_the_title(), 1 ) ) ?>" rel="bookmark"><?php the_title(); ?></a></span> + </li> +<?php endwhile; ?> + </ul> + </li> + <li id="monthly-archives"> + <h3><?php _e( 'All Monthly Archives', 'plaintxtblog' ) ?></h3> + <ul> +<?php wp_get_archives('type=monthly&show_post_count=1') ?> + </ul> + </li> + <li id="category-archives"> + <h3><?php _e( 'All Category Archives', 'plaintxtblog' ) ?></h3> + <ul> +<?php wp_list_categories('optioncount=1&title_li=&show_count=1') ?> + </ul> + </li> + <li> + <h3><?php _e('Archives by Tag', 'plaintxtblog') ?></h3> + <p><?php wp_tag_cloud() ?></p> + </li> + </ul> + +<?php link_pages('<div class="page-link">'.__('Pages: ', 'plaintxtblog'), '</div>', 'number'); ?> + +<?php edit_post_link(__('Edit this entry.', 'barthelme'),'<p class="entry-edit">','</p>') ?> + + </div> + </div><!-- .post --> + +<?php if ( get_post_custom_values('comments') ) comments_template() // Add a key/value of "comments" to load comments on a page ?> + + </div><!-- #content .hfeed --> + </div><!-- #container --> + +<?php get_sidebar() ?> +<?php get_footer() ?> \ No newline at end of file diff --git a/wp-content/themes/plaintxtblog/style.css b/wp-content/themes/plaintxtblog/style.css new file mode 100644 index 0000000000000000000000000000000000000000..461cedf698d94692554f1fbdc72bb59d03cb9b46 --- /dev/null +++ b/wp-content/themes/plaintxtblog/style.css @@ -0,0 +1,148 @@ +/* +THEME NAME: plaintxtBlog +THEME URI: http://www.plaintxt.org/themes/plaintxtblog/ +DESCRIPTION: Your blog, but simplified. Clutter-free, fluid 3-column layout with Widgets support. For WordPress 2.6.x. +VERSION: 4.6.1 +AUTHOR: Scott Allan Wallick +AUTHOR URI: http://scottwallick.com/ +TAGS: variable width, fixed width, three columns, widgets, theme options, options page, white, gray, blue, microformats, hatom, hcard +*/ +a,a:link{color:#059;outline:none;} +div#header h1 a,div#header h1 a:link,div#header h1 a:visited{border-bottom:1px solid #ccc;text-decoration:none;} +div#content .entry-title a,div#content .entry-title a:link,div#content .entry-title a:visited,div.navigation a,div.navigation a:link,div.navigation a:visited{text-decoration:none;} +div#content div.entry-content ul.xoxo li.hentry span.entry-title a,div#content div.entry-content ul.xoxo li.hentry span.entry-title a:link{background:#fff;text-transform:none;font-size:1.1em;text-decoration:underline;} +div#footer a,div#footer a:link,div#footer a:visited{color:#aaa;} +a:visited{color:#059;} +div#header h1 a:hover{border-bottom:1px solid #059;} +a:hover,div#footer a:hover{color:#c30;text-decoration:none;} +a:active{color:#80abcd;} +div.sidebar a,div.sidebar a:link,div.sidebar a:visited,div.sidebar ul li ul li.current_page_item li.page_item a,div.sidebar ul li ul li.current-cat ul.children li a{background:#fff;color:#059;padding:1px 2px;text-decoration:none;} +div.sidebar ul li ul li.current_page_item a,div.sidebar ul li ul li.current-cat a{background:#80abcd;color:#fff;padding:1px 2px;} +div.sidebar ul li a:hover,div.sidebar ul li.current_page_item li.page_item a:hover,div.sidebar ul li.current-cat ul.children li a:hover{background:#059;color:#fff;padding:1px 2px;} +div.sidebar ul li a:active{background:#80abcd;color:#fff;} +body{background:#fff;border:1px solid #000;color:#111;font-family:verdana,geneva,sans-serif;line-height:150%;margin:20px;padding:20px;} +body div#container{width:100%;} +body div#footer{clear:both;color:#aaa;font-size:0.9em;padding:5em 0 0;width:100%;} +body div.sidebar{overflow:hidden;width:120px;} +body div.access,body div#globalnav,span#theme-link span.additional-name,span#theme-link span.family-name{display:none;} +body.archive .page-title,body.search .page-title{font-size:1.1em;font-weight:400;margin:0 0 0.3em;} +body.archive div#content div.p1,body.search div#content div.p1{margin:2em 0 0;} +body.attachment div.post-parent{font-size:0.9em;font-style:italic;} +body.attachment p.attachment-name,body.attachment p.smallattachment-name{color:#666;font-size:1.1em;font-style:italic;margin:-0.5em 0 1em;} +body.single div.entry-content div.page-link,body.page div.entry-content div.page-link{display:block;margin:1em auto;text-align:center;width:10em;} +body.single div.entry-meta{background:#f6f6f6;font-size:0.9em;font-style:normal;margin:2em auto;padding:1em;text-align:center;width:70%;} +body.single span.entry-comments a{background:url(images/comments.png) no-repeat center left;} +body.single span.entry-comments a,body.single span.entry-trackbacks a,body.single span.entry-commentslink a{padding:0 0 0 13px;} +body.single span.entry-comments,body.single span.entry-trackbacks,body.single span.entry-commentslink{font-weight:700;text-transform:uppercase;} +body.single span.entry-commentslink{display:block;margin:0.2em 0;} +body.single span.entry-commentslink a{background:url(images/feed.png) no-repeat center left;} +body.single span.entry-trackbacks a{background:url(images/trackbacks.png) no-repeat center left;} +div#content .entry-title{background:#eee;font-size:0.9em;margin:0;text-transform:uppercase;} +div.entry-content abbr,div.comments ol.commentlist abbr{border-bottom:1px dotted #006;cursor:help;} +div.entry-content blockquote,div.comments ol.commentlist blockquote{background:#f6f6f6;border-left:5px solid #eee;margin:0;padding:0;} +div.entry-content blockquote blockquote,div.comments ol.commentlist blockquote blockquote{background:#eee;border-left:5px solid #fff;margin:0 1em;} +div.entry-content blockquote p,div.comments ol.commentlist blockquote p{margin:0.5em;padding:0.5em;} +div.entry-content cite,div.comments ol.commentlist cite{border-bottom:1px dotted #bbb;cursor:help;} +div.entry-content code,div.entry-content pre,div.comments ol.commentlist code,div.comments ol.commentlist pre{color:#006;font:1em/133% "courier new", courier, monospace;} +div.entry-content del,div.comments ol.commentlist del{background:#eee;color:#999;} +div.entry-content ins,div.comments ol.commentlist ins{background:#f5f5dc;font-style:italic;text-decoration:none;} +div.entry-content .caps,div.comments ol.commentlist .caps{font-size:1.1em;font-variant:small-caps;} +div#wrapper .html,div#wrapper .download,div#wrapper .pdf,div#wrapper .zip{margin-left:2px;padding:2px 0 2px 19px;} +div#wrapper .important{background:#f5f5dc url(images/important.png) no-repeat 0.5em center;border-bottom:1px solid #d0d0bb;border-top:1px solid #d0d0bb;padding:0.3em 0.5em 0.3em 2.3em;} +div#wrapper .download{background:url(images/file-download.png) no-repeat center left;} +div#wrapper .html{background:url(images/file-html.png) no-repeat center left;} +div#wrapper .pdf{background:url(images/file-pdf.png) no-repeat center left;} +div#wrapper .zip{background:url(images/file-zip.png) no-repeat center left;} +div#header h1#blog-title{font-size:1.3em;margin:0 0 0.3em;} +div.comments form#commentform div{margin:0 0 0.5em;} +div.comments form#commentform div#comment-notes{margin:-0.5em 0 0.7em;} +div.comments form#commentform div#loggedin,div.comments form#commentform div#comment-notes,div.comments div#mustlogin{font-style:italic;margin:-0.8em 0 0.5em;} +div.comments form#commentform div.form-input input{border:1px inset #111;} +div.comments form#commentform div.form-input input,div.comments form#commentform div.form-textarea textarea{clear:left;float:left;max-width:35em;width:66%;} +div.comments form#commentform div.form-input input,div.comments form#commentform div.form-textarea textarea,body.page div.contactform input#wpcf_your_name,body.page div.contactform input#wpcf_email,body.page div.contactform input#wpcf_website,body.page div.contactform textarea#wpcf_msg{background:#f6f6f6;border:1px inset #999;font:1em/133% verdana, geneva, sans-serif;padding:0.3em;} +div.comments form#commentform div.form-input,div.comments form#commentform div.form-textarea{margin:1em 0 0;} +div.comments form#commentform div.form-label label,body.page div.contactform div.contactleft{color:#666;font-weight:700;line-height:225%;margin:0 0 0 0.3em;} +div.comments form#commentform div.form-submit input,body.page div.contactform input#contactsubmit{background:#ccc;border:1px outset #999;color:#333;font:bold 1em/133% verdana, geneva, sans-serif;padding:0.4em;} +div.comments form#commentform div.form-textarea textarea{margin-bottom:1em;overflow:auto;} +div.comments h3{font-size:1em;margin:4em 0 1em;} +div.comments ol#pingbacks li p strong{text-transform:none;} +div.comments ol.commentlist{margin:0 0 0 1.8em;padding:0;} +div.comments ol.commentlist li{background:#f6f6f6;margin:0 0 1em;padding:0.5em 0.8em;} +div.comments ol.commentlist li img.photo{float:right;margin:0.5em 0.1em 0.5em 1em;} +div.comments ol.commentlist li p{margin:0.5em 0;} +div.comments ol.commentlist li.alt{background:#eee;} +div.comments ol.commentlist li.bypostauthor{background:#fff;border:2px solid #ddd;} +div.comments span.req-field,div.comments span.unapproved{color:#c30;} +div.entry-content a img.alignleft,div.entry-content a img.alignright,div.entry-content a img.center,div.entry-content a:link img.alignleft,div.entry-content a:link img.alignright,div.entry-content a:link img.center,div.entry-content a:visited img.alignleft,div.entry-content a:visited img.alignright,div.entry-content a:visited img.center{border:1px solid #059;} +div.entry-content a:hover img.alignleft,div.entry-content a:hover img.alignright,div.entry-content a:hover img.center{border:1px solid #c30;} +div.entry-content div.page-link,div#content div.nopassword{display:inline;margin:0 0 1em;padding:0.2em 0.4em;} +div.entry-content div.page-link{background:#eee;border-left:5px solid #ddd;border-right:5px solid #ddd;font-size:0.9em;font-weight:700;text-transform:uppercase;} +div#content div.nopassword{background:#f5f5df;border-bottom:1px solid #ddd;border-top:1px solid #ddd;} +div.entry-content h2,div.entry-content h3,div.entry-content h4,div.entry-content h4,div.entry-content h5,div.entry-content h6{font-size:1em;margin:2em 0 -0.8em;text-transform:uppercase;} +div.entry-content h2{color:#333;} +div.entry-content h3{color:#555;} +div.entry-content h4{color:#777;} +div.entry-content h5{color:#999;} +div.entry-content h6{color:#bbb;} +div.entry-content img{max-width:99%;} +div.entry-content .alignleft,img.alignleft{float:left;margin:0.5em 1em 0.5em 0;} +div.entry-content .alignright,img.alignright{float:right;margin:0.5em 0 0.5em 1em;} +div.entry-content .center,div.entry-content .aligncenter,img.aligncenter{display:block;margin:1em auto;text-align:center;} +div.entry-content ul.xoxo li h3{margin-bottom:0;} +div.entry-content ul.xoxo li p{font-style:italic;margin-top:0.2em;} +div.entry-content ul.xoxo li ul li ul li ul li{list-style:disc;} +div.entry-content ul.xoxo li ul li ul li{list-style:circle;} +div.entry-content ul.xoxo li ul li{list-style:square;margin-left:2.5em;} +div.entry-content ul.xoxo li ul{margin:0;padding:0;} +div.entry-content ul.xoxo li.hentry span.entry-title{text-transform:none;font-size:1em;} +div.entry-content ul.xoxo,div.entry-content ul.xoxo li{list-style:none;margin:0;padding:0;} +div.entry-content ul li.tag-archives p{line-height:225%;} +div#wrapper div#content .clearer{clear:both;width:99%;} +div.entry-content .content-column{width:40%;} +div.entry-content .wp-caption-text{font-style:italic;margin:0.2em auto 1em auto;text-align:center;color:#777;} +div.entry-content div.gallery{clear:both;float:left;margin:1em auto;text-align:center;width:100%;} +div.entry-content div.gallery dl{float:left;margin:0 auto;text-align:center;} +div.entry-content div.gallery dl.gallery-columns-2{width:49%;} +div.entry-content div.gallery dl.gallery-columns-3{width:33%;} +div.entry-content div.gallery dl.gallery-columns-4{width:24%;} +div.entry-content div.gallery dl.gallery-columns-5{width:19%;} +div.entry-content div.gallery dd{font-style:italic;margin:0 auto 1em auto;text-align:center;} +div.entry-content div.gallery *{margin:0;padding:0;} +div.entry-content div.entry-caption{text-transform:uppercase;font-size:0.9em;margin:1em 0 2em 0;} +div.entry-content div.entry-attachment{margin-top:1em;} +div.entry-content div.entry-attachment,div.entry-content div.entry-caption{text-align:center;} +div.entry-attachment img,div#nav-images div img{overflow:hidden;} +body.attachment div#wrapper div#content div#nav-images{background:#fff;clear:both;margin:0;width:100%;} +body.attachment div#nav-images div{margin:0;padding:1em 2% 3em 2%;width:46%;} +body.attachment div#nav-images div.nav-previous{text-align:left;} +body.attachment div#nav-images div.nav-next{text-align:right;} +div#content div.post div.entry-meta,body.attachment div#content div.entry-meta{clear:both;} +div.entry-content p{margin:1em 0;} +div.entry-header{background:#eee;clear:both;padding:1px 4px;text-align:right;text-transform:uppercase;overflow:hidden;} +div.entry-header abbr.published{font-size:0.9em;} +div.entry-meta{font-style:italic;margin:1em 0 2.5em;text-align:right;width:100%;} +div.navigation{background:#eee;font-size:0.8em;font-weight:700;padding:1px 5px;text-align:center;width:99%;} +div.navigation div.nav-next{float:right;} +div.sidebar ul li{list-style:none;margin:0 0 1em;padding:0;} +div.sidebar ul li h3{color:#444;font-size:1em;margin:0;padding:1px 2px;} +div.sidebar ul li ul li ul{font-size:0.9em;font-style:italic;margin:0 0 0.2em;} +div.sidebar ul li#tag-cloud,div.sidebar ul li#tag_cloud{width:99%;} +div.sidebar ul li#tag-cloud p,div.sidebar ul li#tag_cloud p{line-height:225%;} +div.sidebar ul li#tag-cloud h3,div.sidebar ul li#tag_cloud h3{margin-bottom:-1em;} +div.sidebar ul li table#wp-calendar caption,div.sidebar ul li form#gsearch{text-align:right;} +div.sidebar ul li form#searchform input#s,div.sidebar ul li form#gsearch input{background:#f6f6f6;border:1px inset #999;margin:0 0 0.3em;padding:2px;width:7em;} +div.sidebar ul li form#searchform input#s,div.sidebar ul li form#searchform input#searchsubmit{font:1em/133% verdana, geneva, sans-serif;} +div.sidebar ul li form#searchform input#searchsubmit{background:#ccc;border:1px outset #999;color:#333;font-weight:700;padding:1px 2px;width:7.5em;} +div.sidebar ul li#rss-links a,div#content ul li#rss-links a{background:url(images/feed.png) no-repeat center right;padding:0 14px 0 0;} +div.sidebar ul li#rss-links a:hover{background:url(images/feed.png) #059 no-repeat center right;padding:1px 14px 1px 2px;} +abbr.published,body img{border:none;} +body div#header,div.comments{margin:0 0 3em;} +body.archive .page-title span,body.search .page-title span,div#header div#blog-description,div.comments ol#pingbacks li div.comment-meta a,div.comments ol.commentlist div.comment-author span.fn{font-weight:700;} +body.archive div.archive-meta,div#content q,div.comments ol#comments li div.comment-meta,span.pingback-datetime,div.sidebar ul li table#wp-calendar caption{font-style:italic;} +body.archive div.archive-meta p,div.sidebar ul li ul li{margin:0;} +body.attachment div.entry-content,div.clearer,div.comments form#commentform div.form-submit,body.page div.entry-content div.contactform form{clear:both;} +body.single .entry-title,body.page h2.entry-title,div#content div#post-0 h2.entry-title{padding:1px 4px;} +div.comments form#commentform div.form-input input:focus,div.comments form#commentform div.form-textarea textarea:focus,body.page div.contactform input#wpcf_your_name:focus,body.page div.contactform input#wpcf_email:focus,body.page div.contactform input#wpcf_website:focus,body.page div.contactform textarea#wpcf_msg:focus,div.sidebar ul li form#searchform input#s:focus,div.sidebar ul li form#gsearch input:focus{background:#fff;} +div.comments form#commentform div.form-submit input:active,body.page div.contactform input#contactsubmit:active,div.sidebar ul li form#searchform input#searchsubmit:active{background:#ddd;border:1px inset #999;color:#000;} +div.comments form#commentform,div.sidebar ul li form#searchform,div.sidebar ul li form#gsearch,body.page div.entry-content div.contactform form,div.entry-content ul.page-list li ul,div.entry-content ul.page-list,div.entry-content ul.page-list li h3,div.entry-content ul.page-list li ul li,div.sidebar ul{margin:0;padding:0;} +div.entry-header .entry-title,div.navigation div.nav-previous{float:left;} \ No newline at end of file