Exemplo n.º 1
0
}
?>
<div class="item-blog<?php 
echo $first_class;
?>
">
    <h2><?php 
echo $title;
?>
</h2>
    <div class="entry-meta">

        <?php 
dt_get_date_link(array('class' => 'ico-link date', 'wrap' => '<span class="%CLASS%">%DATE%</span>'));
dt_get_author_link(array('class' => 'ico-link author', 'wrap' => '<span %CLASS%><a %HREF%>%AUTHOR%</a></span>'));
dt_get_taxonomy_link('category', '<span class="ico-link categories">%CAT_LIST%</span>');
dt_get_comments_link($comments, array('no_coments' => ''));
?>

    </div>
    
<?php 
if (!post_password_required($post->ID)) {
    if ('dt_team' !== $post->post_type && 'dt_benefits' !== $post->post_type) {
        dt_get_thumb_img(array('class' => 'alignleft text', 'href' => get_permalink(), 'thumb_opts' => array('w' => 210, 'h' => 210)));
    }
    dt_the_content();
    dt_details_link();
    dt_edit_link();
} else {
    echo get_the_password_form();
Exemplo n.º 2
0
			
			<div class="videos" style="float: left !important; margin: 5px 20px 5px 0;"> 

				<?php 
            dt_get_embed($opts['video_link'], $opts['width'], $opts['height']);
            ?>

			</div>

            <?php 
        }
        ?>

			<?php 
        the_excerpt();
        dt_get_taxonomy_link('dt_video_category', '<p>' . __('Category: ', LANGUAGE_ZONE) . '%CAT_LIST%</p>');
        if (dt_is_page_soc_buttons_enabled('video')) {
            dt_get_like_buttons(get_the_ID());
        }
        ?>
            
            <?php 
    }
}
?>
        
        </div><!-- #container -->
    
    </div><!-- #wrapper -->

<?php 
Exemplo n.º 3
0
                        }
                        $slides[] = $tmp_arr;
                    }
                    dt_get_anything_slider(array('items_arr' => $slides));
                }
                ?>
            <div class="full-left">

			<?php 
            }
            ?>

                <?php 
            the_content();
            if (!$post_opts['hide_meta']) {
                dt_get_taxonomy_link('dt_portfolio_category', '<span class="ico-link categories">' . __('', LANGUAGE_ZONE) . '%CAT_LIST%</span>');
            }
            if (dt_is_page_soc_buttons_enabled('portfolio')) {
                dt_get_like_buttons(get_the_ID());
            }
            ?>

            <?php 
            if (!isset($post_opts['hide_media']) || isset($post_opts['hide_media']) && !$post_opts['hide_media']) {
                ?>
            </div>
			<?php 
            }
            ?>

            <?php 
Exemplo n.º 4
0
        $t_w = 710;
        $thmb_args = array('w' => $t_w);
        $classes[] = 'img-posts';
        if ($big[1] <= $t_w) {
            $classes = array('alignleft');
            $thmb_args = array();
            $thumb_pattern = '<span class="%6$s"><img src="%2$s" %3$s alt="%5$s" title="%4$s" /></span>';
        }
    }
    $classes = implode(' ', $classes);
    $thumb = dt_get_resized_img($big, $thmb_args);
    printf($thumb_pattern, $big[0], $thumb[0], $thumb[3], get_the_title(), $alt, $classes);
}
the_content();
wp_link_pages();
dt_get_taxonomy_link('post_tag', '<p><span class="ico-link tags">%CAT_LIST%</span></p>');
if (dt_is_page_soc_buttons_enabled('post')) {
    dt_get_like_buttons(get_the_ID());
}
?>

<?php 
if (of_get_option('misc-show_author_details')) {
    ?>

<p class="gap"></p>
<p class="hr hr-narrow gap-small"></p>
<div class="about-autor full-width">
    <?php 
    echo str_replace("class='", "class='alignleft ", get_avatar(get_the_author_meta('ID'), 80));
    ?>