diff options
Diffstat (limited to 'wp-content/themes')
-rw-r--r-- | wp-content/themes/default/comments-popup.php | 2 | ||||
-rw-r--r-- | wp-content/themes/default/rtl.css | 2 | ||||
-rw-r--r-- | wp-content/themes/home/archive.php | 2 | ||||
-rw-r--r-- | wp-content/themes/home/comments-popup.php | 8 | ||||
-rw-r--r-- | wp-content/themes/home/comments.php | 5 | ||||
-rw-r--r-- | wp-content/themes/home/footer.php | 2 | ||||
-rw-r--r-- | wp-content/themes/home/functions.php | 24 | ||||
-rw-r--r-- | wp-content/themes/home/header.php | 2 | ||||
-rw-r--r-- | wp-content/themes/home/image.php | 63 | ||||
-rw-r--r-- | wp-content/themes/home/index.php | 2 | ||||
-rw-r--r-- | wp-content/themes/home/links.php | 2 | ||||
-rw-r--r-- | wp-content/themes/home/rtl.css | 160 | ||||
-rw-r--r-- | wp-content/themes/home/sidebar.php | 8 | ||||
-rw-r--r-- | wp-content/themes/home/single.php | 4 | ||||
-rw-r--r-- | wp-content/themes/home/style.css | 38 |
15 files changed, 209 insertions, 115 deletions
diff --git a/wp-content/themes/default/comments-popup.php b/wp-content/themes/default/comments-popup.php index a57ff21..7ad8145 100644 --- a/wp-content/themes/default/comments-popup.php +++ b/wp-content/themes/default/comments-popup.php @@ -102,7 +102,7 @@ endwhile; <!-- // this is just the end of the motor - don't touch that line either :) --> <?php //} ?> -<p class="credit"><?php timer_stop(1); ?> <cite>Powered by <a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform"><strong>WordPress</strong></a></cite></p> +<p class="credit"><?php timer_stop(1); ?> <cite>Powered by <a href="http://mu.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/default/rtl.css b/wp-content/themes/default/rtl.css index a345c3c..35e6498 100644 --- a/wp-content/themes/default/rtl.css +++ b/wp-content/themes/default/rtl.css @@ -1,5 +1,5 @@ /* -Theme name: WordPress Default - kubrick - +Theme name: WordPress MU Default - kubrick - Editors: Navid Kashani Persian Wordpress Project : wp-persian.com */ diff --git a/wp-content/themes/home/archive.php b/wp-content/themes/home/archive.php index 769f9ab..8ec2e2b 100644 --- a/wp-content/themes/home/archive.php +++ b/wp-content/themes/home/archive.php @@ -1,7 +1,7 @@ <?php get_header(); ?> <div id="content" class="narrowcolumn"> -<?php is_tag(); ?> + <?php if (have_posts()) : ?> <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?> diff --git a/wp-content/themes/home/comments-popup.php b/wp-content/themes/home/comments-popup.php index 9ad28b5..7ad8145 100644 --- a/wp-content/themes/home/comments-popup.php +++ b/wp-content/themes/home/comments-popup.php @@ -56,9 +56,9 @@ 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 : ?> +<?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">Log out »</a></p> +<?php else : ?> <p> <input type="text" name="author" id="author" class="textarea" value="<?php echo $comment_author; ?>" size="28" tabindex="1" /> <label for="author">Name</label> @@ -102,7 +102,7 @@ endwhile; <!-- // this is just the end of the motor - don't touch that line either :) --> <?php //} ?> -<p class="credit"><?php timer_stop(1); ?> <cite>Powered by <a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform"><strong>Wordpress</strong></a></cite></p> +<p class="credit"><?php timer_stop(1); ?> <cite>Powered by <a href="http://mu.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 33534ff..08b1be1 100644 --- a/wp-content/themes/home/comments.php +++ b/wp-content/themes/home/comments.php @@ -1,5 +1,5 @@ <?php // Do not delete these lines - if ('comments.php' == basename($_SERVER['SCRIPT_FILENAME'])) + if (!empty($_SERVER['SCRIPT_FILENAME']) && '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 @@ -27,6 +27,7 @@ <?php foreach ($comments as $comment) : ?> <li <?php echo $oddcomment; ?>id="comment-<?php comment_ID() ?>"> + <?php echo get_avatar( $comment, 32 ); ?> <cite><?php comment_author_link() ?></cite> Says: <?php if ($comment->comment_approved == '0') : ?> <em>Your comment is awaiting moderation.</em> @@ -73,7 +74,7 @@ <?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> +<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">Log out »</a></p> <?php else : ?> diff --git a/wp-content/themes/home/footer.php b/wp-content/themes/home/footer.php index 68e9e5f..50611ab 100644 --- a/wp-content/themes/home/footer.php +++ b/wp-content/themes/home/footer.php @@ -2,7 +2,7 @@ <?php $current_site = get_current_site(); ?> <hr /> <div id="footer"> -<!-- 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. --> +<!-- 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 <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! diff --git a/wp-content/themes/home/functions.php b/wp-content/themes/home/functions.php index 456ed69..6aa41c9 100644 --- a/wp-content/themes/home/functions.php +++ b/wp-content/themes/home/functions.php @@ -80,8 +80,8 @@ function kubrick_header_display_string() { add_action('admin_menu', 'kubrick_add_theme_page');
function kubrick_add_theme_page() {
- if ( $_GET['page'] == basename(__FILE__) ) {
- if ( 'save' == $_REQUEST['action'] ) {
+ if ( isset( $_GET['page'] ) && $_GET['page'] == basename(__FILE__) ) {
+ if ( isset( $_REQUEST['action'] ) && 'save' == $_REQUEST['action'] ) {
check_admin_referer('kubrick-header');
if ( isset($_REQUEST['njform']) ) {
if ( isset($_REQUEST['defaults']) ) {
@@ -157,7 +157,7 @@ function kubrick_theme_page_head() { kUpdate(ColorPicker_targetInput.id);
}
function PopupWindow_populate(contents) {
- contents += '<br /><p style="text-align:center;margin-top:0px;"><input type="button" value="<?php echo attribute_escape(__('Close Color Picker')); ?>" onclick="cp.hidePopup(\'prettyplease\')"></input></p>';
+ contents += '<br /><p style="text-align:center;margin-top:0px;"><input type="button" class="button-secondary" value="<?php echo attribute_escape(__('Close Color Picker')); ?>" onclick="cp.hidePopup(\'prettyplease\')"></input></p>';
this.contents = contents;
this.populated = false;
}
@@ -354,7 +354,7 @@ function kubrick_theme_page_head() { }
function kubrick_theme_page() {
- if ( $_REQUEST['saved'] ) echo '<div id="message" class="updated fade"><p><strong>'.__('Options saved.').'</strong></p></div>';
+ if ( isset( $_REQUEST['saved'] ) ) echo '<div id="message" class="updated fade"><p><strong>'.__('Options saved.').'</strong></p></div>';
?>
<div class='wrap'>
<div id="kubrick-header">
@@ -386,18 +386,18 @@ function kubrick_theme_page() { <div id="jsForm">
<form style="display:inline;" method="post" name="hicolor" id="hicolor" action="<?php echo attribute_escape($_SERVER['REQUEST_URI']); ?>">
<?php wp_nonce_field('kubrick-header'); ?>
- <input type="button" onclick="tgt=document.getElementById('fontcolor');colorSelect(tgt,'pick1');return false;" name="pick1" id="pick1" value="<?php echo attribute_escape(__('Font Color')); ?>"></input>
- <input type="button" onclick="tgt=document.getElementById('uppercolor');colorSelect(tgt,'pick2');return false;" name="pick2" id="pick2" value="<?php echo attribute_escape(__('Upper Color')); ?>"></input>
- <input type="button" onclick="tgt=document.getElementById('lowercolor');colorSelect(tgt,'pick3');return false;" name="pick3" id="pick3" value="<?php echo attribute_escape(__('Lower Color')); ?>"></input>
- <input type="button" name="revert" value="<?php echo attribute_escape(__('Revert')); ?>" onclick="kRevert()" />
- <input type="button" value="<?php echo attribute_escape(__('Advanced')); ?>" onclick="toggleAdvanced()" />
+ <input type="button" class="button-secondary" onclick="tgt=document.getElementById('fontcolor');colorSelect(tgt,'pick1');return false;" name="pick1" id="pick1" value="<?php echo attribute_escape(__('Font Color')); ?>"></input>
+ <input type="button" class="button-secondary" onclick="tgt=document.getElementById('uppercolor');colorSelect(tgt,'pick2');return false;" name="pick2" id="pick2" value="<?php echo attribute_escape(__('Upper Color')); ?>"></input>
+ <input type="button" class="button-secondary" onclick="tgt=document.getElementById('lowercolor');colorSelect(tgt,'pick3');return false;" name="pick3" id="pick3" value="<?php echo attribute_escape(__('Lower Color')); ?>"></input>
+ <input type="button" class="button-secondary" name="revert" value="<?php echo attribute_escape(__('Revert')); ?>" onclick="kRevert()" />
+ <input type="button" class="button-secondary" value="<?php echo attribute_escape(__('Advanced')); ?>" onclick="toggleAdvanced()" />
<input type="hidden" name="action" value="save" />
<input type="hidden" name="fontdisplay" id="fontdisplay" value="<?php echo attribute_escape(kubrick_header_display()); ?>" />
<input type="hidden" name="fontcolor" id="fontcolor" value="<?php echo attribute_escape(kubrick_header_color()); ?>" />
<input type="hidden" name="uppercolor" id="uppercolor" value="<?php echo attribute_escape(kubrick_upper_color()); ?>" />
<input type="hidden" name="lowercolor" id="lowercolor" value="<?php echo attribute_escape(kubrick_lower_color()); ?>" />
<input type="hidden" name="headerimage" id="headerimage" value="<?php echo attribute_escape(kubrick_header_image()); ?>" />
- <p class="submit"><input type="submit" name="submitform" class="defbutton" value="<?php echo attribute_escape(__('Update Header »')); ?>" onclick="cp.hidePopup('prettyplease')" /></p>
+ <p class="submit"><input type="submit" name="submitform" class="defbutton" value="<?php echo attribute_escape(__('Update Header')); ?>" onclick="cp.hidePopup('prettyplease')" /></p>
</form>
<div id="colorPickerDiv" style="z-index: 100;background:#eee;border:1px solid #ccc;position:absolute;visibility:hidden;"> </div>
<div id="advanced">
@@ -406,8 +406,8 @@ function kubrick_theme_page() { <label for="advfontcolor"><?php _e('Font Color (CSS):'); ?> </label><input type="text" id="advfontcolor" onchange="advUpdate(this.value, 'fontcolor')" value="<?php echo attribute_escape(kubrick_header_color()); ?>" /><br />
<label for="advuppercolor"><?php _e('Upper Color (HEX):');?> </label><input type="text" id="advuppercolor" onchange="advUpdate(this.value, 'uppercolor')" value="#<?php echo attribute_escape(kubrick_upper_color()); ?>" /><br />
<label for="advlowercolor"><?php _e('Lower Color (HEX):'); ?> </label><input type="text" id="advlowercolor" onchange="advUpdate(this.value, 'lowercolor')" value="#<?php echo attribute_escape(kubrick_lower_color()); ?>" /><br />
- <input type="button" name="default" value="<?php echo attribute_escape(__('Select Default Colors')); ?>" onclick="kDefaults()" /><br />
- <input type="button" onclick="toggleDisplay();return false;" name="pick" id="pick" value="<?php echo attribute_escape(__('Toggle Text Display')); ?>"></input><br />
+ <input type="button" class="button-secondary" name="default" value="<?php echo attribute_escape(__('Select Default Colors')); ?>" onclick="kDefaults()" /><br />
+ <input type="button" class="button-secondary" onclick="toggleDisplay();return false;" name="pick" id="pick" value="<?php echo attribute_escape(__('Toggle Text Display')); ?>"></input><br />
</form>
</div>
</div>
diff --git a/wp-content/themes/home/header.php b/wp-content/themes/home/header.php index b04ac00..5075ef6 100644 --- a/wp-content/themes/home/header.php +++ b/wp-content/themes/home/header.php @@ -6,8 +6,6 @@ <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title>
-<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->
-
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
diff --git a/wp-content/themes/home/image.php b/wp-content/themes/home/image.php new file mode 100644 index 0000000..5e03980 --- /dev/null +++ b/wp-content/themes/home/image.php @@ -0,0 +1,63 @@ +<?php get_header(); ?> + + <div id="content" class="widecolumn"> + + <?php if (have_posts()) : while (have_posts()) : the_post(); ?> + + <div class="post" id="post-<?php the_ID(); ?>"> + <h2><a href="<?php echo get_permalink($post->post_parent); ?>" rev="attachment"><?php echo get_the_title($post->post_parent); ?></a> » <?php the_title(); ?></h2> + <div class="entry"> + <p class="attachment"><a href="<?php echo wp_get_attachment_url($post->ID); ?>"><?php echo wp_get_attachment_image( $post->ID, 'medium' ); ?></a></p> + <div class="caption"><?php if ( !empty($post->post_excerpt) ) the_excerpt(); // this is the "caption" ?></div> + + <?php the_content('<p class="serif">Read the rest of this entry »</p>'); ?> + + <div class="navigation"> + <div class="alignleft"><?php previous_image_link() ?></div> + <div class="alignright"><?php next_image_link() ?></div> + </div> + <br class="clear" /> + + <p class="postmetadata alt"> + <small> + This entry was posted on <?php the_time('l, F jS, Y') ?> at <?php the_time() ?> + and is filed under <?php the_category(', ') ?>. + <?php the_taxonomies(); ?> + You can follow any responses to this entry through the <?php post_comments_feed_link('RSS 2.0'); ?> feed. + + <?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) { + // Both Comments and Pings are open ?> + You can <a href="#respond">leave a response</a>, or <a href="<?php trackback_url(); ?>" rel="trackback">trackback</a> from your own site. + + <?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) { + // Only Pings are Open ?> + Responses are currently closed, but you can <a href="<?php trackback_url(); ?> " rel="trackback">trackback</a> from your own site. + + <?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) { + // Comments are open, Pings are not ?> + You can skip to the end and leave a response. Pinging is currently not allowed. + + <?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) { + // Neither Comments, nor Pings are open ?> + Both comments and pings are currently closed. + + <?php } edit_post_link('Edit this entry.','',''); ?> + + </small> + </p> + + </div> + + </div> + + <?php comments_template(); ?> + + <?php endwhile; else: ?> + + <p>Sorry, no attachments matched your criteria.</p> + +<?php endif; ?> + + </div> + +<?php get_footer(); ?> diff --git a/wp-content/themes/home/index.php b/wp-content/themes/home/index.php index e56746e..6d8e8e7 100644 --- a/wp-content/themes/home/index.php +++ b/wp-content/themes/home/index.php @@ -7,7 +7,7 @@ <?php while (have_posts()) : the_post(); ?> <div class="post" id="post-<?php the_ID(); ?>"> - <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2> + <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2> <small><?php the_time('F jS, Y') ?> by <?php the_author() ?></small> <div class="entry"> diff --git a/wp-content/themes/home/links.php b/wp-content/themes/home/links.php index 3b2ad81..e253e09 100644 --- a/wp-content/themes/home/links.php +++ b/wp-content/themes/home/links.php @@ -10,7 +10,7 @@ Template Name: Links <h2>Links:</h2> <ul> -<?php get_links_list(); ?> +<?php wp_list_bookmarks(); ?> </ul> </div> diff --git a/wp-content/themes/home/rtl.css b/wp-content/themes/home/rtl.css index daa5bba..35e6498 100644 --- a/wp-content/themes/home/rtl.css +++ b/wp-content/themes/home/rtl.css @@ -1,78 +1,106 @@ -/* 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, .post, #wp-calendar #prev a { text-align: right; } - -body, #commentform p { font-family: 'Geeza Pro', Tahoma, 'Lucida Grande', Verdana, Arial, Sans-Serif; } - -small { font-family: 'Geeza Pro', Tahoma, Arial, Helvetica, Sans-Serif; } - -h1, h2, h3 { font-family: 'Al Bayan', 'Traditional Arabic', 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif; } - -#sidebar h2 { font-family: 'Al Bayan', 'Traditional Arabic', 'Lucida Grande', Verdana, Sans-Serif; } - -.commentlist li, #commentform input, #commentform textarea { font-family: 'Geeza Pro', Tahoma, 'Lucida Grande', Verdana, Arial, Sans-Serif; } - -#sidebar { font-family: 'Geeza Pro', Tahoma, 'Lucida Grande', Verdana, Arial, Sans-Serif; } - -#wp-calendar caption { font-family: 'Geeza Pro', Tahoma, 'Lucida Grande', Verdana, Arial, Sans-Serif; } - -acronym, abbr, span.caps { letter-spacing: normal; } - -#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; } - -html>body .entry li { margin: 7px 10px 8px 0; } - -html>body .entry ul { - margin-left: auto; - margin-right: 0px; - padding: 0 30px 0 0; +/* +Theme name: WordPress MU Default - kubrick - +Editors: Navid Kashani +Persian Wordpress Project : wp-persian.com +*/ +body, .commentlist li, #commentform input, #commentform textarea, #commentform p, #sidebar, #wp-calendar caption { + font-family:tahoma, arial; +} +#page { + text-align:right; + direction:rtl; +} +h1, h2, h3, #sidebar h2 { + font-family:arial, tahoma; +} +.commentlist li .avatar { + float:left; +} +#header { + margin:0 1px 0 0; +} +.narrowcolumn { + float:right; + padding: 0 45px 20px 0; +} +.widecolumn { + margin: 5px 150px 0 0; +} +.widecolumn .smallattachment { + margin: 5px 0 5px 5px; +} +.postmetadata { + clear:right; } - #sidebar { - margin-left: auto; + margin-left: 0; margin-right: 545px; } +img.alignright { + margin: 0 7px 2px 0; +} -#wp-calendar #prev a, html>body .entry ul { - padding-left: 0; - padding-right: 10px; +img.alignleft { + margin: 0 0 2px 7px; +} + +.alignright { + float: left; } +.alignleft { + float: right; +} +code { + display:block; + direction:ltr; + text-align:left; +} +acronym, abbr, span.caps { + letter-spacing:0; /* fix opera bug */ +} +html>body .entry ul { + padding:0 10px 0 0; + text-indent:10px; +} +html>body .entry li { + margin: 7px 10px 8px 0; +} +.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; +} +#commentform #submit { + float:left; +} +.commentlist p { + margin: 10px 0 10px 5px; +} +#wp-calendar #next a { + padding-right:0; + padding-left:10px; + text-align:left; +} +#wp-calendar #prev a { + padding-left:0; + padding-right:10px; + text-align:right; +} blockquote { - border-left: 0; - border-right: 5px solid #ddd; + margin: 15px 10px 0 30px; padding-left: 0; padding-right: 20px; - margin: 15px 10px 0 30px; + border-left: 0 none; + border-right: 5px solid #ddd; } - -#wp-calendar #next a { - padding-right: 0; - padding-left: 10px; - text-align: left; +#email, #url { + direction:ltr; } diff --git a/wp-content/themes/home/sidebar.php b/wp-content/themes/home/sidebar.php index 72a015a..6f45298 100644 --- a/wp-content/themes/home/sidebar.php +++ b/wp-content/themes/home/sidebar.php @@ -2,14 +2,6 @@ <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> diff --git a/wp-content/themes/home/single.php b/wp-content/themes/home/single.php index d270c05..313b52e 100644 --- a/wp-content/themes/home/single.php +++ b/wp-content/themes/home/single.php @@ -10,7 +10,7 @@ </div> <div class="post" id="post-<?php the_ID(); ?>"> - <h2><a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2> + <h2><?php the_title(); ?></h2> <div class="entry"> <?php the_content('<p class="serif">Read the rest of this entry »</p>'); ?> @@ -27,7 +27,7 @@ /* $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 post_comments_feed_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 b097efb..3641f37 100644 --- a/wp-content/themes/home/style.css +++ b/wp-content/themes/home/style.css @@ -1,10 +1,11 @@ -/* +/* 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/ +Tags: blue, custom header, fixed width, two columns, widgets Kubrick v1.5 http://binarybonsai.com/kubrick/ @@ -38,11 +39,11 @@ body { background: #73a0c5 url('images/kubrickheader.jpg') no-repeat bottom center; } -#headerimg { - margin: 7px 9px 0; - height: 192px; - width: 740px; - } +#headerimg { + margin: 7px 9px 0; + height: 192px; + width: 740px; + } #content { font-size: 1.2em @@ -71,7 +72,7 @@ body { } #footer { - background: #eee url('images/kubrickfooter.jpg') no-repeat top; + background: #eee url('images/kubrickfooter.jpg') no-repeat top; border: none; } @@ -138,6 +139,13 @@ h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar font-weight: bold; } +.commentlist li .avatar { + float: right; + border: 1px solid #eee; + padding: 2px; + background: #fff; + } + .commentlist cite, .commentlist cite a { font-weight: bold; font-style: normal; @@ -210,7 +218,7 @@ a:hover { /* Begin Structure */ body { margin: 0 0 20px 0; - padding: 0; + padding: 0; } #page { @@ -223,9 +231,9 @@ body { #header { background-color: #73a0c5; - margin: 0 0 0 1px; - padding: 0; - height: 200px; + margin: 0 0 0 1px; + padding: 0; + height: 200px; width: 758px; } @@ -285,6 +293,10 @@ body { clear: left; } +.clear { + clear: both; +} + #footer { padding: 0; margin: 0 auto; @@ -385,7 +397,7 @@ html>body .entry ul { list-style: none; padding-left: 10px; text-indent: -10px; - } + } html>body .entry li { margin: 7px 0 8px 10px; @@ -449,7 +461,7 @@ ol li, #sidebar ul ol li { /* Begin Form Elements */ #searchform { margin: 10px auto; - padding: 5px 3px; + padding: 5px 3px; text-align: center; } |