Changeset 6132 for trunk/wp-content/themes/default/attachment.php
- Timestamp:
- 09/18/2007 10:50:59 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/wp-content/themes/default/attachment.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/default/attachment.php
r6026 r6132 12 12 <?php $_post = &get_post($post->ID); $classname = ($_post->iconsize[0] <= 128 ? 'small' : '') . 'attachment'; // This lets us style narrow icons specially ?> 13 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>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_attribute(); ?>"><?php the_title(); ?></a></h2> 15 15 <div class="entry"> 16 16 <p class="<?php echo $classname; ?>"><?php echo $attachment_link; ?><br /><?php echo basename($post->guid); ?></p>
Note: See TracChangeset
for help on using the changeset viewer.