Пример #1
0
                themeblvd_open_row();
                ?>
											<?php 
            }
            ?>

											<?php 
            $counter = themeblvd_set_att('counter', $counter + 1);
            ?>

										<?php 
        }
        ?>

										<?php 
        if ($counter - 1 != themeblvd_get_att('posts_per_page')) {
            ?>
											<?php 
            themeblvd_close_row();
            ?>
											<!-- ROW (end) -->
										<?php 
        }
        ?>

									<?php 
    } else {
        ?>

										<p><?php 
        echo themeblvd_get_local('archive_no_posts');
post_class();
?>
>
	<header class="entry-header">
		<h1 class="entry-title<?php 
if (themeblvd_get_att('show_meta')) {
    echo ' entry-title-with-meta';
}
?>
">
			<?php 
themeblvd_the_title();
?>
		</h1>
		<?php 
if (themeblvd_get_att('show_meta')) {
    ?>
			<?php 
    themeblvd_blog_meta();
    ?>
		<?php 
}
?>
	</header><!-- .entry-header -->
	<div class="entry-content">
		<?php 
if (wp_attachment_is_image(get_the_ID())) {
    ?>
			<p class="attachment">
				<a href="<?php 
    echo wp_get_attachment_url(get_the_ID());
Пример #3
0
if (themeblvd_get_att('counter') % themeblvd_get_att('columns') == 0) {
    echo ' last';
}
?>
">
	<div class="article-wrap">
		<article id="post-<?php 
the_ID();
?>
" <?php 
post_class();
?>
>
			<div class="entry-content">
				<?php 
themeblvd_the_post_thumbnail(themeblvd_get_att('location'), themeblvd_get_att('crop'));
?>
				<h2 class="entry-title">
					<?php 
themeblvd_the_title();
?>
				</h2>
				<?php 
the_excerpt();
?>
				<?php 
echo themeblvd_button(themeblvd_get_local('read_more'), get_permalink(get_the_ID()), 'default', '_self', 'small', 'read-more', get_the_title(get_the_ID()));
?>
			</div><!-- .entry-content -->
		</article><!-- #post-<?php 
the_ID();
Пример #4
0
themeblvd_the_title();
?>
		</h1>
		<?php 
if (themeblvd_get_att('show_meta')) {
    ?>
			<?php 
    themeblvd_blog_meta();
    ?>
		<?php 
}
?>
	</header><!-- .entry-header -->
	<div class="entry-content">
		<?php 
themeblvd_the_post_thumbnail('single', themeblvd_get_att('size'));
?>
		<?php 
the_content();
?>
		<div class="clear"></div>
		<?php 
themeblvd_blog_tags();
?>
		<?php 
wp_link_pages(array('before' => '<div class="page-link">' . themeblvd_get_local('pages') . ': ', 'after' => '</div>'));
?>
		<?php 
edit_post_link(themeblvd_get_local('edit_post'), '<p class="edit-link clearfix">', '</p>');
?>
	</div><!-- .entry-content -->
Пример #5
0
" <?php 
post_class();
?>
>
	<header class="entry-header">
		<h1 class="entry-title entry-title-with-meta">
			<?php 
themeblvd_the_title();
?>
		</h1>
		<?php 
themeblvd_blog_meta();
?>
	</header><!-- .entry-header (end) -->
	<div class="entry-content">
		<?php 
themeblvd_the_post_thumbnail(themeblvd_get_att('location'), themeblvd_get_att('size'));
?>
		<?php 
themeblvd_blog_content(themeblvd_get_att('content'));
?>
		<?php 
themeblvd_blog_tags();
?>
		<div class="clear"></div>
	</div><!-- .entry-content (end) -->
</article><!-- #post-<?php 
the_ID();
?>
 -->