get_boundary_post wordpress code example
Example 1: get_boundary_post wordpress
<?php
$latest= get_boundary_post(true, '', false, 'category');
if (!empty($latest)) { foreach ($latest as $post) { ?>
<a href="<?php echo the_permalink($post->ID); ?>"><?php echo $post->post_title; ?></a>
<?php }} ?>
Example 2: get_boundary_post wordpress
<?php
$first= get_boundary_post(true, '', true, 'category');
if (!empty($first)) { foreach ($first as $post) { ?>
<a href="<?php echo the_permalink($post->ID); ?>"><?php echo $post->post_title; ?></a>
<?php }} ?>