Exemple #1
0


<div class="hfeed">

<?php the_post(); ?>

<div id="post-<?php the_ID(); ?>" class="<?php webjournal_post_class(); ?>">

<h1 class="entry-title"><?php the_title(); ?></h1>

<div class="entry-meta">
<div class="entry-meta-inner">
<span class="meta-sep">&para;</span>
<span class="entry-date"><?php _e('Post\'d', 'webjournal') ?> <abbr class="published" title="<?php the_time('Y-m-d\TH:i:sO'); ?>"><?php unset($previousday); printf(__('%1$s', 'webjournal'), the_date('d F Y', false)) ?></abbr></span>
<?php webjournal_author_hCard(); // Function for author link option ?> 
<span class="meta-sep">&sect;</span>
<span class="entry-category"><?php the_category(' &sect; ') ?></span>
<span class="meta-sep">&Dagger;</span>
<!--span class="entry-comments"><?php comments_popup_link(__('Comments (0)', 'webjournal'), __('Comments (1)', 'webjournal'), __('Comments (%)', 'webjournal')) ?></span-->
<span class="entry-tags"><?php the_tags(__('#', 'webjournal'), ", #", "") ?></span>
<?php edit_post_link(__('Edit this entry', 'webjournal'), "<div class='entry-edit'>", "</div>\n"); ?>
</div>
</div>

<div class="entry-content">
  <?php the_content('<span class="more-link">'.__('Continue Reading &raquo;', 'webjournal').'</span>'); ?>
  <?php link_pages('<div class="page-link">'.__('Pages: ', 'webjournal'), "</div>\n", 'number'); ?>
</div><!-- .entry-content -->

<?php trackback_rdf(); ?>
Exemple #2
0
  rewind_posts();

  while ( have_posts() ) : the_post(); ?>

  <div id="post-<?php the_ID() ?>" class="<?php webjournal_post_class() ?>">
  <h3 class="entry-title"><a href="<?php the_permalink() ?>" title="<?php printf(__('Permalink to %s', 'webjournal'), wp_specialchars(get_the_title(), 1)) ?>" rel="bookmark"><?php the_title() ?></a></h3>
  <div class="entry-content">
  <?php the_excerpt('<span class="more-link">'.__('Continue Reading &raquo;', 'webjournal').'</span>') ?>

  </div><!-- .hfeed -->

  <div class="entry-meta">
    <span class="meta-sep">&para;</span>
    <span class="entry-date"><?php _e('Posted', 'webjournal') ?> <abbr class="published" title="<?php the_time('Y-m-d\TH:i:sO'); ?>"><?php unset($previousday); printf(__('%1$s', 'webjournal'), the_date('d F Y', false)) ?></abbr></span>
    <?php if ( !is_author() ) : webjournal_author_hCard(); endif; // Displays if NOT author archive page ?> 
    <span class="meta-sep">&Dagger;</span>
    <span class="entry-category"><?php if ( !is_category() ) { echo the_category(' &sect; '); } else { $other_cats = webjournal_other_cats(' &sect; '); echo $other_cats; } // Hides the current category if category archive ?></span>
    <span class="meta-sep">&deg;</span>
    <span class="entry-tags"><?php the_tags(__('#', 'webjournal'), ", #", "") ?></span>
    <?php edit_post_link(__('Edit this entry', 'webjournal'), "<span class='meta-sep'>&equiv;</span> <span class='entry-edit'>", "</span>\n"); ?>
  </div><!-- .entry-meta -->

  </div><!-- .post -->

  <?php endwhile ?>

  <!--div id="nav-below" class="navigation">
    <div class="nav-previous"><?php next_posts_link(__('&laquo; Earlier posts', 'webjournal')) ?></div>
    <div class="nav-next"><?php previous_posts_link(__('Later posts &raquo;', 'webjournal')) ?></div>
  </div-->