Ticket #2105: hatom-default.diff
| File hatom-default.diff, 8.6 KB (added by , 19 years ago) |
|---|
-
wp-content/themes/default/archive.php
1 1 <?php get_header(); ?> 2 2 3 <div id="content" class="narrowcolumn ">3 <div id="content" class="narrowcolumn hfeed"> 4 4 <?php is_tag(); ?> 5 5 <?php if (have_posts()) : ?> 6 6 … … 28 28 </div> 29 29 30 30 <?php while (have_posts()) : the_post(); ?> 31 <div class="post"> 32 <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h3> 33 <small><?php the_time('l, F jS, Y') ?></small> 31 <div class="post hentry"> 32 <h3 id="post-<?php the_ID(); ?>"><a class="entry-title" href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h3> 33 <small> 34 <abbr class="updated published" title="<?php the_time('Y-m-d\TH:i:s\Z') ?>"><?php the_time('l, F jS, Y') ?></abbr></small> 34 35 35 <div class="entry ">36 <div class="entry entry-content"> 36 37 <?php the_content() ?> 37 38 </div> 38 39 -
wp-content/themes/default/attachment.php
1 1 <?php get_header(); ?> 2 2 3 <div id="content" class="widecolumn ">3 <div id="content" class="widecolumn hfeed"> 4 4 5 5 <?php if (have_posts()) : while (have_posts()) : the_post(); ?> 6 6 … … 10 10 </div> 11 11 <?php $attachment_link = get_the_attachment_link($post->ID, true, array(450, 800)); // This also populates the iconsize for the next line ?> 12 12 <?php $_post = &get_post($post->ID); $classname = ($_post->iconsize[0] <= 128 ? 'small' : '') . 'attachment'; // This lets us style narrow icons specially ?> 13 <div class="post " id="post-<?php the_ID(); ?>">14 <h2><a href="<?php echo get_permalink($post->post_parent); ?>" rev="attachment"><?php echo get_the_title($post->post_parent); ?></a> » <a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h2>13 <div class="post hentry" id="post-<?php the_ID(); ?>"> 14 <h2><a href="<?php echo get_permalink($post->post_parent); ?>" rev="attachment"><?php echo get_the_title($post->post_parent); ?></a> » <a class="entry-title" href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h2> 15 15 <div class="entry"> 16 <div class="entry-content"> 16 17 <p class="<?php echo $classname; ?>"><?php echo $attachment_link; ?><br /><?php echo basename($post->guid); ?></p> 17 18 18 19 <?php the_content('<p class="serif">Read the rest of this entry »</p>'); ?> 20 </div> 19 21 20 22 <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?> 21 23 -
wp-content/themes/default/index.php
1 1 <?php get_header(); ?> 2 2 3 <div id="content" class="narrowcolumn ">3 <div id="content" class="narrowcolumn hfeed"> 4 4 5 5 <?php if (have_posts()) : ?> 6 6 7 7 <?php while (have_posts()) : the_post(); ?> 8 8 9 <div class="post" id="post-<?php the_ID(); ?>"> 10 <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2> 11 <small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small> 9 <div class="post hentry" id="post-<?php the_ID(); ?>"> 10 <h2><a class="entry-title" href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2> 11 <small> 12 <abbr class="updated published" title="<?php the_time('Y-m-d\TH:i:s\Z') ?>"><?php the_time('F jS, Y') ?></abbr> 13 <!-- by <span class="vcard author"><a href="<?php the_author_url();" class="url fn" ><?php the_author() ?></a></span> --> 14 </small> 12 15 13 <div class="entry ">16 <div class="entry entry-content"> 14 17 <?php the_content('Read the rest of this entry »'); ?> 15 18 </div> 16 19 -
wp-content/themes/default/page.php
1 1 <?php get_header(); ?> 2 2 3 <div id="content" class="narrowcolumn ">3 <div id="content" class="narrowcolumn hfeed"> 4 4 5 5 <?php if (have_posts()) : while (have_posts()) : the_post(); ?> 6 <div class="post " id="post-<?php the_ID(); ?>">7 <h2 ><?php the_title(); ?></h2>6 <div class="post hentry" id="post-<?php the_ID(); ?>"> 7 <h2 class="entry-title"><?php the_title(); ?></h2> 8 8 <div class="entry"> 9 < ?php the_content('<p class="serif">Read the rest of this page »</p>'); ?>9 <div class="entry-content"><?php the_content('<p class="serif">Read the rest of this page »</p>'); ?></div> 10 10 11 11 <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?> 12 12 -
wp-content/themes/default/search.php
1 1 <?php get_header(); ?> 2 2 3 <div id="content" class="narrowcolumn ">3 <div id="content" class="narrowcolumn hfeed"> 4 4 5 5 <?php if (have_posts()) : ?> 6 6 … … 14 14 15 15 <?php while (have_posts()) : the_post(); ?> 16 16 17 <div class="post"> 18 <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h3> 19 <small><?php the_time('l, F jS, Y') ?></small> 20 17 <div class="post hentry"> 18 <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" class="entry-title" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h3> 19 <small><abbr class="updated published" title="<?php the_time('Y-m-d\TH:i:s\Z') ?>"><?php the_time('l, F jS, Y') ?></abbr></small> 21 20 <p class="postmetadata"><?php the_tags('Tags: ', ', ', '<br />'); ?> Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p> 22 21 </div> 23 22 -
wp-content/themes/default/single.php
1 1 <?php get_header(); ?> 2 2 3 <div id="content" class="widecolumn ">3 <div id="content" class="widecolumn hfeed"> 4 4 5 5 <?php if (have_posts()) : while (have_posts()) : the_post(); ?> 6 6 … … 9 9 <div class="alignright"><?php next_post_link('%link »') ?></div> 10 10 </div> 11 11 12 <div class="post " id="post-<?php the_ID(); ?>">13 <h2><a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h2>12 <div class="post hentry" id="post-<?php the_ID(); ?>"> 13 <h2><a class="entry-title" href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h2> 14 14 15 15 <div class="entry"> 16 < ?php the_content('<p class="serif">Read the rest of this entry »</p>'); ?>16 <div class="entry-content"><?php the_content('<p class="serif">Read the rest of this entry »</p>'); ?></div> 17 17 18 18 <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?> 19 19 <?php the_tags( '<p>Tags: ', ', ', '</p>'); ?> … … 25 25 You'll need to download this plugin, and follow the instructions: 26 26 http://binarybonsai.com/archives/2004/08/17/time-since-plugin/ */ 27 27 /* $entry_datetime = abs(strtotime($post->post_date) - (60*120)); echo time_since($entry_datetime); echo ' ago'; */ ?> 28 on < ?php the_time('l, F jS, Y') ?> at <?php the_time() ?>28 on <abbr class="updated published" title="<?php the_time('Y-m-d\TH:i:s\Z') ?>"><?php the_time('l, F jS, Y') ?></abbr> at <?php the_time() ?> 29 29 and is filed under <?php the_category(', ') ?>. 30 30 You can follow any responses to this entry through the <?php comments_rss_link('RSS 2.0'); ?> feed. 31 31