[ Index ]

PHP Cross Reference of zeList

title

Body

[close]

/style/ -> link.php (source)

   1  <?php /*
   2  Template Name: Link
   3  Fallback for missing link.php in theme directory
   4  DO NOT MODIFY this file. Instead, add a 'link.php' file to your theme directory, copy the code below and modify it.
   5  */
   6  get_header(); ?>
   7      <div id="content" class="widecolumn">
   8      <?php if (have_links()) : while (have_links()) : the_link(); ?>
   9          <div <?php link_class(); ?> id="link-<?php the_ID(); ?>">
  10              <h1><?php the_title(); ?></h1>
  11              <h2 class="breadcrumbs"><?php breadcrumbs(); ?></h2>
  12  
  13              <div class="entry link">
  14                  <?php the_image('width=120&height=120'); ?>
  15                  <?php the_content(); ?>
  16                  <a class="link_url" href="<?php the_url(); ?>"><?php _e('Visit site','zelist'); ?></a>
  17  
  18  
  19                  <?php wp_link_pages(array('before' => '<p><strong>' . __('Pages:', 'zelist') . '</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
  20                  <?php the_tags( '<p>' . __('Tags:', 'zelist') . ' ', ', ', '</p>'); ?>
  21                  <p class="linkmetadata">
  22                      <small>
  23                          <?php printf(__('This link was published %1$s on %2$s at %3$s and is filed under %4$s.', 'zelist'), $time_since, get_the_link_time(__('l, F jS, Y', 'zelist')), get_the_link_time(), get_the_link_category_list(', ')); ?>
  24                          <?php edit_link_link(__('Edit this link', 'zelist'),'','.'); ?>
  25                      </small>
  26                  </p>
  27              <?php related_links(); ?>
  28              </div>
  29          </div>
  30  
  31      <?php endwhile; else: ?>
  32  
  33          <p><?php _e('Sorry, no links matched your criteria.', 'zelist'); ?></p>
  34  
  35  <?php endif; ?>
  36  
  37      </div>
  38  
  39  <?php get_footer(); ?>


Generated: Sat May 30 23:51:06 2009 Cross-referenced by PHPXref 0.7