Ejemplo n.º 1
0
              </div>
              <h2>
                <a href="<?php 
            the_permalink();
            ?>
"><?php 
            the_title();
            ?>
</a>
                <?php 
            edit_post_link(__('Edit', 'catreina'), '<span class="edit-link">(', ')</span>');
            ?>
              </h2>
              <div class="date_n_author">
                <?php 
            catreina_posted_on();
            ?>
              </div>
              <p>
                <?php 
            the_excerpt();
            ?>
              </p>
            </div>
            <div class="clear"> </div>
          </li>
        </ul>
<?php 
        }
    } else {
        ?>
Ejemplo n.º 2
0
      </div>
      <ul id="pager">
        <li>
          <?php 
echo $pagination;
?>
        </li>
      </ul>
      <div class="clear"></div>

<?php 
if (have_posts()) {
    while (have_posts()) {
        the_post();
        // First, get some of the post metadata so we can use it
        $postMeta = catreina_posted_on($blog = true);
        ?>

      <div id="post_wrapper">
        <div class="blog_post">
          <div class="postDate">
            <span class="postDay"><?php 
        echo $postMeta['pubDate'];
        ?>
</span>
            <span class="postMY"><?php 
        echo $postMeta['pubMY'];
        ?>
</span>
            <span class="postTime"><?php 
        echo $postMeta['pubTime'];