Skip to content

Commit

Permalink
More updates
Browse files Browse the repository at this point in the history
  • Loading branch information
voblak2 committed Aug 7, 2020
1 parent fc420c9 commit 130ee3e
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
</div>
</div>
<?php }

echo paginate_links();
?>
</div>

Expand Down
19 changes: 17 additions & 2 deletions single.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,23 @@
while (have_posts())
{
the_post(); ?>
<h2><?php the_title(); ?></h2>
<?php the_content(); ?>
<div class="page-banner">
<div class="page-banner__bg-image" style="background-image: url(<?php echo get_theme_file_uri('/images/ocean.jpg') ?>);"></div>
<div class="page-banner__content container container--narrow">
<h1 class="page-banner__title"><?php the_title(); ?></h1>
<div class="page-banner__intro">
<p>DON'T FORGET TO REPLACE ME LATER</p>
</div>
</div>
</div>

<div class="container container--narrow page-section">
<div class="metabox metabox--position-up metabox--with-home-link">
<p><a class="metabox__blog-home-link" href="<?php echo site_url('/blog'); ?>"><i class="fa fa-home" aria-hidden="true"></i>Blog home </a> <span class="metabox__main">Posted by <?php the_author_posts_link(); ?> on <?php the_time('n-j-y'); ?> in <?php echo get_the_category_list(', '); ?></span></p>
</div>
<div class="generic-content"><?php the_content(); ?></div>
</div>

<?php }

get_footer();
Expand Down

0 comments on commit 130ee3e

Please sign in to comment.