%COUNT%'; if( !post_password_required($post->ID) ) { $title = ''.$title.''; $comments ='%COUNT%'; } $taxonomy_posttype = array( 'post' => 'category', 'dt_portfolio' => 'dt_portfolio_category', 'dt_gallery' => 'dt_gallery_category' ); $taxonomy = isset( $taxonomy_posttype[ get_post_type() ] ) ? $taxonomy_posttype[ get_post_type() ] : false; ?>

'ico-link date', 'wrap' => '%DATE%') ); dt_get_author_link( array('class' => 'ico-link author', 'wrap' => '%AUTHOR%') ); dt_get_taxonomy_link( $taxonomy, '%CAT_LIST%' ); dt_get_comments_link( $comments, array( 'no_coments' => '' ) ); ?>
ID) ) { if( has_post_thumbnail() && 'dt_team' !== $post->post_type && 'dt_benefits' !== $post->post_type ) { $img_id = get_post_thumbnail_id( $post->ID ); // get alt $img_alt = get_post_meta( $img_id, '_wp_attachment_image_alt', true ); if ( !$img_alt ) { $img_alt = get_the_title( $post->ID ); } dt_get_thumb_img( array( 'alt' => $img_alt, '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(); } ?>