mirror of
https://github.com/KevinMidboe/rohnenedre.git
synced 2026-01-08 02:15:47 +00:00
24 lines
831 B
PHP
24 lines
831 B
PHP
<?php
|
|
/**
|
|
* @package Professional
|
|
*/
|
|
?>
|
|
|
|
<article id="post-<?php the_ID(); ?>" <?php post_class('col-md-4 col-sm-4 grid'); ?>>
|
|
|
|
<div class="featured-thumb col-md-12">
|
|
<?php if (has_post_thumbnail()) : ?>
|
|
<a href="<?php the_permalink() ?>" title="<?php the_title() ?>"><?php the_post_thumbnail('grid'); ?></a>
|
|
<?php else: ?>
|
|
<a href="<?php the_permalink() ?>" title="<?php the_title() ?>"><img src="<?php echo get_template_directory_uri()."/assets/images/placeholder.jpg"; ?>"></a>
|
|
<?php endif; ?>
|
|
|
|
<div class="in-thumb col-md-12">
|
|
<header class="entry-header">
|
|
<h1 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
|
|
</header><!-- .entry-header -->
|
|
</div><!--.in-thumb-->
|
|
|
|
</div><!--.featured-thumb-->
|
|
|
|
</article><!-- #post-## -->
|