diff options
Diffstat (limited to 'wp-content')
-rw-r--r-- | wp-content/themes/home/archive.php | 24 | ||||
-rw-r--r-- | wp-content/themes/home/archives.php | 12 | ||||
-rw-r--r-- | wp-content/themes/home/attachment.php | 2 | ||||
-rw-r--r-- | wp-content/themes/home/comments-popup.php | 16 | ||||
-rw-r--r-- | wp-content/themes/home/comments.php | 36 | ||||
-rw-r--r-- | wp-content/themes/home/footer.php | 4 | ||||
-rw-r--r-- | wp-content/themes/home/header.php | 2 | ||||
-rw-r--r-- | wp-content/themes/home/images/kubrickbg-ltr.jpg (renamed from wp-content/themes/home/images/kubrickbg.jpg) | bin | 1043 -> 1043 bytes | |||
-rw-r--r-- | wp-content/themes/home/images/kubrickbg-rtl.jpg | bin | 0 -> 1657 bytes | |||
-rw-r--r-- | wp-content/themes/home/page.php | 6 | ||||
-rw-r--r-- | wp-content/themes/home/rtl.css | 63 | ||||
-rw-r--r-- | wp-content/themes/home/searchform.php | 4 | ||||
-rw-r--r-- | wp-content/themes/home/sidebar.php | 38 | ||||
-rw-r--r-- | wp-content/themes/home/single.php | 8 | ||||
-rw-r--r-- | wp-content/themes/home/style.css | 12 |
15 files changed, 152 insertions, 75 deletions
diff --git a/wp-content/themes/home/archive.php b/wp-content/themes/home/archive.php index c648abd..db6db4c 100644 --- a/wp-content/themes/home/archive.php +++ b/wp-content/themes/home/archive.php @@ -4,29 +4,21 @@ <?php if (have_posts()) : ?> - <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?> -<?php /* If this is a category archive */ if (is_category()) { ?> - <h2 class="pagetitle">Archive for the '<?php echo single_cat_title(); ?>' Category</h2> + <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?> + <?php /* If this is a category archive */ if (is_category()) { ?> + <h2 class="pagetitle">Archive for the ‘<?php single_cat_title(); ?>’ Category</h2> <?php /* If this is a daily archive */ } elseif (is_day()) { ?> <h2 class="pagetitle">Archive for <?php the_time('F jS, Y'); ?></h2> - - <?php /* If this is a monthly archive */ } elseif (is_month()) { ?> + <?php /* If this is a monthly archive */ } elseif (is_month()) { ?> <h2 class="pagetitle">Archive for <?php the_time('F, Y'); ?></h2> - - <?php /* If this is a yearly archive */ } elseif (is_year()) { ?> + <?php /* If this is a yearly archive */ } elseif (is_year()) { ?> <h2 class="pagetitle">Archive for <?php the_time('Y'); ?></h2> - - <?php /* If this is a search */ } elseif (is_search()) { ?> - <h2 class="pagetitle">Search Results</h2> - <?php /* If this is an author archive */ } elseif (is_author()) { ?> <h2 class="pagetitle">Author Archive</h2> - - <?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?> + <?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?> <h2 class="pagetitle">Blog Archives</h2> - - <?php } ?> + <?php } ?> <div class="navigation"> @@ -43,7 +35,7 @@ <?php the_content() ?> </div> - <p class="postmetadata">Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p> + <p class="postmetadata">Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p> </div> diff --git a/wp-content/themes/home/archives.php b/wp-content/themes/home/archives.php index de6c07c..dba8dbd 100644 --- a/wp-content/themes/home/archives.php +++ b/wp-content/themes/home/archives.php @@ -11,14 +11,14 @@ Template Name: Archives <?php include (TEMPLATEPATH . '/searchform.php'); ?> <h2>Archives by Month:</h2> - <ul> - <?php wp_get_archives('type=monthly'); ?> - </ul> + <ul> + <?php wp_get_archives('type=monthly'); ?> + </ul> <h2>Archives by Subject:</h2> - <ul> - <?php wp_list_categories(); ?> - </ul> + <ul> + <?php wp_list_categories(); ?> + </ul> </div> diff --git a/wp-content/themes/home/attachment.php b/wp-content/themes/home/attachment.php index 0d606db..7839b6c 100644 --- a/wp-content/themes/home/attachment.php +++ b/wp-content/themes/home/attachment.php @@ -17,7 +17,7 @@ <?php the_content('<p class="serif">Read the rest of this entry »</p>'); ?> - <?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?> + <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?> <p class="postmetadata alt"> <small> diff --git a/wp-content/themes/home/comments-popup.php b/wp-content/themes/home/comments-popup.php index 42c9bc5..9ad28b5 100644 --- a/wp-content/themes/home/comments-popup.php +++ b/wp-content/themes/home/comments-popup.php @@ -1,7 +1,7 @@ -<?php +<?php /* Don't remove these lines. */ add_filter('comment_text', 'popuplinks'); -foreach ($posts as $post) { start_wp(); +while ( have_posts()) : the_post(); ?> <!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"> @@ -21,7 +21,7 @@ foreach ($posts as $post) { start_wp(); <h2 id="comments">Comments</h2> -<p><a href="<?php echo get_option('siteurl'); ?>/wp-commentsrss2.php?p=<?php echo $post->ID; ?>"><abbr title="Really Simple Syndication">RSS</abbr> feed for comments on this post.</a></p> +<p><a href="<?php echo get_post_comments_feed_link($post->ID); ?>"><abbr title="Really Simple Syndication">RSS</abbr> feed for comments on this post.</a></p> <?php if ('open' == $post->ping_status) { ?> <p>The <abbr title="Universal Resource Locator">URL</abbr> to TrackBack this entry is: <em><?php trackback_url() ?></em></p> @@ -56,11 +56,14 @@ if (!empty($post->post_password) && $_COOKIE['wp-postpass_'. COOKIEHASH] != $pos <p>Line and paragraph breaks automatic, e-mail address never displayed, <acronym title="Hypertext Markup Language">HTML</acronym> allowed: <code><?php echo allowed_tags(); ?></code></p> <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform"> +<?php if ( $user_ID ) : ?> + <p>Logged in as <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="Log out of this account">Logout »</a></p> +<?php else : ?> <p> <input type="text" name="author" id="author" class="textarea" value="<?php echo $comment_author; ?>" size="28" tabindex="1" /> <label for="author">Name</label> <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /> - <input type="hidden" name="redirect_to" value="<?php echo wp_specialchars($_SERVER["REQUEST_URI"]); ?>" /> + <input type="hidden" name="redirect_to" value="<?php echo attribute_escape($_SERVER["REQUEST_URI"]); ?>" /> </p> <p> @@ -72,6 +75,7 @@ if (!empty($post->post_password) && $_COOKIE['wp-postpass_'. COOKIEHASH] != $pos <input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="28" tabindex="3" /> <label for="url"><abbr title="Universal Resource Locator">URL</abbr></label> </p> +<?php endif; ?> <p> <label for="comment">Your Comment</label> @@ -93,11 +97,11 @@ if (!empty($post->post_password) && $_COOKIE['wp-postpass_'. COOKIEHASH] != $pos <div><strong><a href="javascript:window.close()">Close this window.</a></strong></div> <?php // if you delete this the sky will fall on your head -} +endwhile; ?> <!-- // this is just the end of the motor - don't touch that line either :) --> -<?php //} ?> +<?php //} ?> <p class="credit"><?php timer_stop(1); ?> <cite>Powered by <a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform"><strong>Wordpress</strong></a></cite></p> <?php // Seen at http://www.mijnkopthee.nl/log2/archive/2003/05/28/esc(18) ?> <script type="text/javascript"> diff --git a/wp-content/themes/home/comments.php b/wp-content/themes/home/comments.php index ecf0b34..a9f1f39 100644 --- a/wp-content/themes/home/comments.php +++ b/wp-content/themes/home/comments.php @@ -2,46 +2,46 @@ if ('comments.php' == basename($_SERVER['SCRIPT_FILENAME'])) die ('Please do not load this page directly. Thanks!'); - if (!empty($post->post_password)) { // if there's a password - if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) { // and it doesn't match the cookie - ?> + if (!empty($post->post_password)) { // if there's a password + if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) { // and it doesn't match the cookie + ?> - <p class="nocomments">This post is password protected. Enter the password to view comments.<p> + <p class="nocomments">This post is password protected. Enter the password to view comments.</p> - <?php - return; - } - } + <?php + return; + } + } - /* This variable is for alternating comment background */ - $oddcomment = 'alt'; + /* This variable is for alternating comment background */ + $oddcomment = 'class="alt" '; ?> <!-- You can start editing here. --> <?php if ($comments) : ?> - <h3 id="comments"><?php comments_number('No Responses', 'One Response', '% Responses' );?> to “<?php the_title(); ?>”</h3> + <h3 id="comments"><?php comments_number('No Responses', 'One Response', '% Responses' );?> to “<?php the_title(); ?>”</h3> <ol class="commentlist"> <?php foreach ($comments as $comment) : ?> - <li class="<?php echo $oddcomment; ?>" id="comment-<?php comment_ID() ?>"> + <li <?php echo $oddcomment; ?>id="comment-<?php comment_ID() ?>"> <cite><?php comment_author_link() ?></cite> Says: <?php if ($comment->comment_approved == '0') : ?> <em>Your comment is awaiting moderation.</em> <?php endif; ?> <br /> - <small class="commentmetadata"><a href="#comment-<?php comment_ID() ?>" title=""><?php comment_date('F jS, Y') ?> at <?php comment_time() ?></a> <?php edit_comment_link('e','',''); ?></small> + <small class="commentmetadata"><a href="#comment-<?php comment_ID() ?>" title=""><?php comment_date('F jS, Y') ?> at <?php comment_time() ?></a> <?php edit_comment_link('edit',' ',''); ?></small> <?php comment_text() ?> </li> - <?php /* Changes every other comment to a different class */ - if ('alt' == $oddcomment) $oddcomment = ''; - else $oddcomment = 'alt'; + <?php + /* Changes every other comment to a different class */ + $oddcomment = ( empty( $oddcomment ) ) ? 'class="alt" ' : ''; ?> <?php endforeach; /* end for each comment */ ?> @@ -50,7 +50,7 @@ <?php else : // this is displayed if there are no comments so far ?> - <?php if ('open' == $post->comment_status) : ?> + <?php if ('open' == $post->comment_status) : ?> <!-- If comments are open, but there are no comments. --> <?php else : // comments are closed ?> @@ -88,7 +88,7 @@ <?php endif; ?> -<!--<p><small><strong>XHTML:</strong> You can use these tags: <?php echo allowed_tags(); ?></small></p>--> +<!--<p><small><strong>XHTML:</strong> You can use these tags: <code><?php echo allowed_tags(); ?></code></small></p>--> <p><textarea name="comment" id="comment" cols="100%" rows="10" tabindex="4"></textarea></p> diff --git a/wp-content/themes/home/footer.php b/wp-content/themes/home/footer.php index a33ef86..68e9e5f 100644 --- a/wp-content/themes/home/footer.php +++ b/wp-content/themes/home/footer.php @@ -2,9 +2,9 @@ <?php $current_site = get_current_site(); ?> <hr /> <div id="footer"> -<!-- If you'd like to support WordPress, having the "powered by" link someone on your blog is the best way, it's our only promotion or advertising. --> +<!-- If you'd like to support WordPress, having the "powered by" link somewhere on your blog is the best way, it's our only promotion or advertising. --> <p> - <?php bloginfo('name'); ?> is proudly powered by + <?php bloginfo('name'); ?> is proudly powered by <a href="http://mu.wordpress.org/">WordPress MU</a> running on <a href="http://<?php echo $current_site->domain . $current_site->path ?>"><?php echo $current_site->site_name ?></a>. <a href="http://<?php echo $current_site->domain . $current_site->path ?>wp-signup.php" title="Create a new blog">Create a new blog</a> and join in the fun! <br /><a href="<?php bloginfo('rss2_url'); ?>">Entries (RSS)</a> and <a href="<?php bloginfo('comments_rss2_url'); ?>">Comments (RSS)</a>. diff --git a/wp-content/themes/home/header.php b/wp-content/themes/home/header.php index 86238ee..b04ac00 100644 --- a/wp-content/themes/home/header.php +++ b/wp-content/themes/home/header.php @@ -1,5 +1,5 @@ <!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">
+<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
diff --git a/wp-content/themes/home/images/kubrickbg.jpg b/wp-content/themes/home/images/kubrickbg-ltr.jpg Binary files differindex dc74fb8..dc74fb8 100644 --- a/wp-content/themes/home/images/kubrickbg.jpg +++ b/wp-content/themes/home/images/kubrickbg-ltr.jpg diff --git a/wp-content/themes/home/images/kubrickbg-rtl.jpg b/wp-content/themes/home/images/kubrickbg-rtl.jpg Binary files differnew file mode 100644 index 0000000..2e9e237 --- /dev/null +++ b/wp-content/themes/home/images/kubrickbg-rtl.jpg diff --git a/wp-content/themes/home/page.php b/wp-content/themes/home/page.php index 57017b0..8580681 100644 --- a/wp-content/themes/home/page.php +++ b/wp-content/themes/home/page.php @@ -2,17 +2,17 @@ <div id="content" class="narrowcolumn"> - <?php if (have_posts()) : while (have_posts()) : the_post(); ?> + <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div class="post" id="post-<?php the_ID(); ?>"> <h2><?php the_title(); ?></h2> <div class="entry"> <?php the_content('<p class="serif">Read the rest of this page »</p>'); ?> - <?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?> + <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?> </div> </div> - <?php endwhile; endif; ?> + <?php endwhile; endif; ?> <?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?> </div> diff --git a/wp-content/themes/home/rtl.css b/wp-content/themes/home/rtl.css new file mode 100644 index 0000000..3dc1c29 --- /dev/null +++ b/wp-content/themes/home/rtl.css @@ -0,0 +1,63 @@ +/* Based on Arabic (RTL) version of Kubrick theme, converted by Serdal (Serdal.com) */ + +.narrowcolumn, .alignleft, .widecolumn .smallattachment { float: right; } +.alignright, #commentform #submit { float: left; } + +#page, #wp-calendar #prev a { text-align: right; } + + +body, #commentform p { font-family: Tahoma, 'Lucida Grande', Verdana, Arial, Sans-Serif; } + +small { font-family: Tahoma, Arial, Helvetica, Sans-Serif; } + +.commentlist li, #commentform input, #commentform textarea { font: 0.9em Tahoma, 'Lucida Grande', Verdana, Arial, Sans-Serif; } + +#sidebar { font: 1em Tahoma, 'Lucida Grande', Verdana, Arial, Sans-Serif; } + +#wp-calendar caption { font: bold 1.3em Tahoma, 'Lucida Grande', Verdana, Arial, Sans-Serif; } + +#header { margin: 0 1px 0 0; } + +.narrowcolumn { padding: 0 45px 20px 0; } + +.widecolumn { margin: 5px 150px 0 0; } + +.widecolumn .smallattachment { margin: 5px 0px 5px 5px; } + +.postmetadata { clear: right; } + +img.alignright { margin: 0 7px 2px 0; } + +img.alignleft { margin: 0 0 2px 7px; } + +.entry ol { padding: 0 35px 0 0; } + +#sidebar ul ul, #sidebar ul ol { margin: 5px 10px 0 0; } + +#sidebar ul ul ul, #sidebar ul ol { margin: 0 10px 0 0; } + +#commentform input { margin: 5px 0 1px 5px; } + +.commentlist p { margin: 10px 0 10px 5px; } + +#sidebar { margin-right: 545px; } + +#wp-calendar #prev a, html>body .entry ul { padding-right: 10px; } + +html>body .entry li { margin: 7px 10px 8px 0; } + +html>body .entry ul { + margin-right: 0px; + padding: 0 30px 0 0; +} + +blockquote { + margin: 15px 10px 0 30px; + padding-right: 20px; + border-right: 5px solid #ddd; +} + +#wp-calendar #next a { + padding-left: 10px; + text-align: left; +} diff --git a/wp-content/themes/home/searchform.php b/wp-content/themes/home/searchform.php index c7c73f1..2282083 100644 --- a/wp-content/themes/home/searchform.php +++ b/wp-content/themes/home/searchform.php @@ -1,5 +1,5 @@ -<form method="get" id="searchform" action="<?php bloginfo('home'); ?>/"> -<div><input type="text" value="<?php echo wp_specialchars($s, 1); ?>" name="s" id="s" /> +<form method="get" id="searchform" action="<?php bloginfo('url'); ?>/"> +<div><input type="text" value="<?php the_search_query(); ?>" name="s" id="s" /> <input type="submit" id="searchsubmit" value="Search" /> </div> </form> diff --git a/wp-content/themes/home/sidebar.php b/wp-content/themes/home/sidebar.php index 3dc24b1..0fdccda 100644 --- a/wp-content/themes/home/sidebar.php +++ b/wp-content/themes/home/sidebar.php @@ -1,6 +1,15 @@ <div id="sidebar"> <ul> + <?php /* Widgetized sidebar, if you have the plugin installed. */ + if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?> +<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar() ) : ?> + </ul> + </div> +<?php return; ?> + +<?php endif; ?> + <li> <?php include (TEMPLATEPATH . '/searchform.php'); ?> </li> @@ -11,32 +20,36 @@ </li> --> - <li> + <?php if ( is_404() || is_category() || is_day() || is_month() || + is_year() || is_search() || is_paged() ) { + ?> <li> + <?php /* If this is a 404 page */ if (is_404()) { ?> <?php /* If this is a category archive */ } elseif (is_category()) { ?> <p>You are currently browsing the archives for the <?php single_cat_title(''); ?> category.</p> <?php /* If this is a yearly archive */ } elseif (is_day()) { ?> - <p>You are currently browsing the <a href="<?php bloginfo('home'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives + <p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives for the day <?php the_time('l, F jS, Y'); ?>.</p> <?php /* If this is a monthly archive */ } elseif (is_month()) { ?> - <p>You are currently browsing the <a href="<?php bloginfo('home'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives + <p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives for <?php the_time('F, Y'); ?>.</p> - <?php /* If this is a yearly archive */ } elseif (is_year()) { ?> - <p>You are currently browsing the <a href="<?php bloginfo('home'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives + <?php /* If this is a yearly archive */ } elseif (is_year()) { ?> + <p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives for the year <?php the_time('Y'); ?>.</p> - <?php /* If this is a monthly archive */ } elseif (is_search()) { ?> - <p>You have searched the <a href="<?php echo bloginfo('home'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives - for <strong>'<?php echo wp_specialchars($s); ?>'</strong>. If you are unable to find anything in these search results, you can try one of these links.</p> + <?php /* If this is a monthly archive */ } elseif (is_search()) { ?> + <p>You have searched the <a href="<?php echo bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives + for <strong>'<?php the_search_query(); ?>'</strong>. If you are unable to find anything in these search results, you can try one of these links.</p> <?php /* If this is a monthly archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?> - <p>You are currently browsing the <a href="<?php echo bloginfo('home'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives.</p> + <p>You are currently browsing the <a href="<?php echo bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives.</p> <?php } ?> - </li> + + </li> <?php }?> <?php wp_list_pages('title_li=<h2>Pages</h2>' ); ?> @@ -46,7 +59,7 @@ </ul> </li> - <?php wp_list_categories('optioncount=1&hierarchical=0&title_li=<h2>Categories</h2>'); ?> + <?php wp_list_categories('show_count=1&title_li=<h2>Categories</h2>'); ?> <?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?> <?php wp_list_bookmarks(); ?> @@ -65,7 +78,8 @@ </ul> </li> <?php } ?> - + + <?php endif; ?> </ul> </div> diff --git a/wp-content/themes/home/single.php b/wp-content/themes/home/single.php index fb071b1..967a065 100644 --- a/wp-content/themes/home/single.php +++ b/wp-content/themes/home/single.php @@ -2,7 +2,7 @@ <div id="content" class="widecolumn"> - <?php if (have_posts()) : while (have_posts()) : the_post(); ?> + <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div class="navigation"> <div class="alignleft"><?php previous_post_link('« %link') ?></div> @@ -15,7 +15,7 @@ <div class="entry"> <?php the_content('<p class="serif">Read the rest of this entry »</p>'); ?> - <?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?> + <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?> <p class="postmetadata alt"> <small> @@ -23,10 +23,10 @@ <?php /* This is commented, because it requires a little adjusting sometimes. You'll need to download this plugin, and follow the instructions: http://binarybonsai.com/archives/2004/08/17/time-since-plugin/ */ - /* $entry_datetime = abs(strtotime($post->post_date) - (60*120)); echo time_since($entry_datetime); echo ' ago'; */ ?> + /* $entry_datetime = abs(strtotime($post->post_date) - (60*120)); echo time_since($entry_datetime); echo ' ago'; */ ?> on <?php the_time('l, F jS, Y') ?> at <?php the_time() ?> and is filed under <?php the_category(', ') ?>. - You can follow any responses to this entry through the <?php comments_rss_link('RSS 2.0'); ?> feed. + You can follow any responses to this entry through the <?php comments_rss_link('RSS 2.0'); ?> feed. <?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) { // Both Comments and Pings are open ?> diff --git a/wp-content/themes/home/style.css b/wp-content/themes/home/style.css index a88d974..b097efb 100644 --- a/wp-content/themes/home/style.css +++ b/wp-content/themes/home/style.css @@ -1,7 +1,7 @@ /* -Theme Name: WordPress Default -Theme URI: http://wordpress.org/ -Description: The default WordPress theme based on the famous <a href="http://binarybonsai.com/kubrick/">Kubrick</a>. +Theme Name: WordPress mu Default +Theme URI: http://mu.wordpress.org/ +Description: The default WordPress mu theme based on the famous <a href="http://binarybonsai.com/kubrick/">Kubrick</a>. Version: 1.6 Author: Michael Heilemann Author URI: http://binarybonsai.com/ @@ -186,7 +186,7 @@ a:hover { text-decoration: underline; } -#wp-calendar #prev a { +#wp-calendar #prev a, #wp-calendar #next a { font-size: 9pt; } @@ -253,6 +253,10 @@ body { text-align: justify; } +.post hr { + display: block; + } + .widecolumn .post { margin: 0; } |