Ejemplo n.º 1
0
function pinnacle_post_authorbox()
{
    global $pinnacle, $post;
    $authorbox = get_post_meta($post->ID, '_kad_blog_author', true);
    if (empty($authorbox) || $authorbox == 'default') {
        if (isset($pinnacle['post_author_default']) && $pinnacle['post_author_default'] == 'yes') {
            pinnacle_author_box();
        }
    } else {
        if ($authorbox == 'yes') {
            pinnacle_author_box();
        }
    }
}
 ?>
               </footer>
             </article>
             <?php 
 if (isset($pinnacle['show_postlinks']) && $pinnacle['show_postlinks'] == 1) {
     get_template_part('templates/entry', 'post-links');
 }
 $authorbox = get_post_meta($post->ID, '_kad_blog_author', true);
 $blog_carousel_recent = get_post_meta($post->ID, '_kad_blog_carousel_similar', true);
 if (empty($authorbox) || $authorbox == 'default') {
     if (isset($pinnacle['post_author_default']) && $pinnacle['post_author_default'] == 'yes') {
         pinnacle_author_box();
     }
 } else {
     if ($authorbox == 'yes') {
         pinnacle_author_box();
     }
 }
 if (empty($blog_carousel_recent) || $blog_carousel_recent == 'default') {
     if (isset($pinnacle['post_carousel_default'])) {
         $blog_carousel_recent = $pinnacle['post_carousel_default'];
     }
 }
 if ($blog_carousel_recent == 'similar') {
     get_template_part('templates/similarblog', 'carousel');
 } else {
     if ($blog_carousel_recent == 'recent') {
         get_template_part('templates/recentblog', 'carousel');
     }
 }
 ?>