Make WordPress Core

Changeset 2577


Ignore:
Timestamp:
05/01/2005 06:51:10 PM (20 years ago)
Author:
matt
Message:

Move ID to surrounding div - http://mosquito.wordpress.org/view.php?id=1185

Location:
trunk/wp-content/themes
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/classic/index.php

    r2417 r2577  
    77<?php the_date('','<h2>','</h2>'); ?>
    88   
    9 <div class="post">
    10      <h3 class="storytitle" id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h3>
     9<div class="post" id="post-<?php the_ID(); ?>">
     10     <h3 class="storytitle"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h3>
    1111    <div class="meta"><?php _e("Filed under:"); ?> <?php the_category(',') ?> &#8212; <?php the_author() ?> @ <?php the_time() ?> <?php edit_post_link(__('Edit This')); ?></div>
    1212   
  • trunk/wp-content/themes/default/index.php

    r2423 r2577  
    77        <?php while (have_posts()) : the_post(); ?>
    88               
    9             <div class="post">
    10                 <h2 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
     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>
    1111                <small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small>
    1212               
  • trunk/wp-content/themes/default/page.php

    r2135 r2577  
    44
    55    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    6         <div class="post">
    7         <h2 id="post-<?php the_ID(); ?>"><?php the_title(); ?></h2>
     6        <div class="post" id="post-<?php the_ID(); ?>">
     7        <h2><?php the_title(); ?></h2>
    88            <div class="entrytext">
    99                <?php the_content('<p class="serif">Read the rest of this page &raquo;</p>'); ?>
  • trunk/wp-content/themes/default/single.php

    r2538 r2577  
    1010        </div>
    1111   
    12         <div class="post">
    13             <h2 id="post-<?php the_ID(); ?>"><a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h2>
     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>
    1414   
    1515            <div class="entrytext">
Note: See TracChangeset for help on using the changeset viewer.