Exemplo n.º 1
0
    ?>
</h2></a>
				<p>
					<em><?php 
    $pfx_date = get_the_date($format, $post_id);
    echo $pfx_date;
    ?>
</em>
				</p>

	<?php 
    $content = get_the_content();
    $permalink = get_permalink();
    ?>
	<p><?php 
    echo wpse_custom_excerpts($content, 100, $permalink);
    ?>
</p>
	<a href="<?php 
    the_permalink();
    ?>
"><div class="btn">Read More</div></a>

	<?php 
    $current_post++;
    ?>

</div>
</div>

<hr />
Exemplo n.º 2
0
        <?php 
    if (get_field('updated')) {
        ?>
          <p>
            <font color="#4AA983"><strong>Updated!</strong></font>
          </p>
        <?php 
    }
    ?>

          <?php 
    $excerpt = get_the_excerpt();
    $permalink = get_permalink();
    ?>
          <p><?php 
    echo wpse_custom_excerpts($excerpt, 30, $permalink);
    ?>
<a href="<?php 
    the_permalink();
    ?>
"> »</a></p>

      </div>

      <?php 
    if ($current_post % 2 == 0) {
        ?>
        </div>
      <?php 
    }
    ?>