[ Index ]

MailPress 7.2

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

title

Body

[close]

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

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


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