[ Index ]

MailPress 7.2

[ Index ]     [ Classes ]     [ Functions ]     [ Variables ]     [ Constants ]     [ Statistics ]    

title

Body

[close]

/mp-content/themes/twentyten/ -> _loop.php (source)

   1  <?php while ( have_posts() ) : the_post(); ?>
   2  
   3  <div id="post-<?php the_ID(); ?>"  <?php $this->classes( 'entry' ); ?>>
   4      <div>
   5          <h2 <?php $this->classes( 'entry-title' ); ?>>
   6              <a href="<?php the_permalink(); ?>" title="<?php printf( __( 'Permalink to %s', 'twentyten' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"  <?php $this->classes( 'nopmb entry-title_a' ); ?>>
   7  <?php $this->the_title(); ?>
   8              </a>
   9          </h2>
  10      </div>
  11              
  12      <div <?php $this->classes( 'nopmb entry-meta' ); ?>>
  13          <span <?php $this->classes( 'nopmb' ); ?>><?php _e( 'Posted on ', 'twentyten' ); ?></span>
  14          <a href="<?php the_permalink(); ?>" title="<?php the_time( 'Y-m-d\TH:i:sO' ) ?>" rel="bookmark" <?php $this->classes( 'nopmb entry-sep' ); ?>>
  15              <span <?php $this->classes( 'nopmb entry-sep' ); ?>>
  16  <?php the_time( get_option( 'date_format' ) ); ?>
  17              </span>
  18          </a>
  19          <span <?php $this->classes( 'nopmb entry-sep' ); ?>> 
  20  <?php _e( 'by ', 'twentyten' ); ?> 
  21          </span>
  22          <span <?php $this->classes( 'nopmb entry-sep' ); ?>>
  23              <a <?php $this->classes( 'nopmb entry-sep' ); ?> href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>" title="<?php printf( __( 'View all posts by %s', 'twentyten' ), get_the_author() ); ?>">
  24  <?php the_author(); ?>
  25              </a>
  26          </span>                    
  27      </div><!-- .entry-meta -->
  28                                  
  29      <div <?php $this->classes( 'nopmb' ); ?>>    
  30  <?php $this->the_content(  __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyten' )  ); ?>
  31  <?php wp_link_pages( 'before=<div ' . $this->classes( 'page-link', false ) . '>' . __( 'Pages:', 'twentyten' ) . '&after=</div>' ) ?>
  32      </div><!-- .entry-content -->
  33  
  34      <div <?php $this->classes( 'nopmb entry-utility' ); ?>>
  35          <span <?php $this->classes( 'nopmb entry-sep' ); ?>>
  36              <span  <?php $this->classes( 'nopmb entry-sep' ); ?>>
  37                  <?php _e( 'Posted in ', 'twentyten' ); ?>
  38              </span>
  39              <?php echo get_the_category_list( ', ' ); ?>
  40          </span>
  41          <span <?php $this->classes( 'nopmb entry-sep' ); ?>> | </span>
  42          <?php the_tags( '<span ' . $this->classes( 'nopmb entry-sep', false ) . '><span ' . $this->classes( 'nopmb entry-sep', false ) . '>' . __( 'Tagged ', 'twentyten' ) . '</span>', ", ", '</span> <span ' . $this->classes( 'nopmb entry-sep', false ) . '>|</span>' ) ?>
  43          <span <?php $this->classes( 'nopmb entry-sep' ); ?>><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ) ?></span>
  44      </div><!-- #entry-utility -->    
  45  </div><!-- #post-<?php the_ID(); ?> -->
  46  
  47  <?php endwhile;


Generated: Tue May 19 15:55:14 2020 Cross-referenced by PHPXref 0.7.1