mirror of
https://github.com/KevinMidboe/rohnenedre.git
synced 2026-02-11 03:49:25 +00:00
Initial commit. State 04.2021.
This commit is contained in:
37
wp-content/themes/professional/content.php
Normal file
37
wp-content/themes/professional/content.php
Normal file
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Professional
|
||||
*/
|
||||
?>
|
||||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class('row'); ?>>
|
||||
<?php if (has_post_thumbnail()) : ?>
|
||||
|
||||
<div class="featured-thumb col-md-4">
|
||||
<?php the_post_thumbnail(); ?>
|
||||
</div><!--.featured-thumb-->
|
||||
|
||||
<div class="after-thumb col-md-8">
|
||||
|
||||
<?php else: ?>
|
||||
|
||||
<div class="after-thumb col-md-12">
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<header class="entry-header">
|
||||
<h1 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
<div class="entry-content">
|
||||
<?php the_excerpt(); ?>
|
||||
<?php
|
||||
wp_link_pages( array(
|
||||
'before' => '<div class="page-links">' . __( 'Pages:', 'professional' ),
|
||||
'after' => '</div>',
|
||||
) );
|
||||
?>
|
||||
</div><!-- .entry-content -->
|
||||
|
||||
</div><!--.after-thumb-->
|
||||
</article><!-- #post-## -->
|
||||
Reference in New Issue
Block a user