primeiro commit
Signed-off-by: Rodrigo Bertoldo de Sousa Martins <rodrigo.sousa.577@gmail.com>
This commit is contained in:
commit
e6a6f9c159
19 files changed
+3202
No files matched your search
+44
@@ -0,0 +1,44 @@
|
||||
<?php
|
||||
// filepath: c:\Users\rodri\build\site-martinsevieira\single.php
|
||||
get_header();
|
||||
?>
|
||||
|
||||
<main class="single-post-page">
|
||||
<?php while (have_posts()) : the_post(); ?>
|
||||
<article class="single-article">
|
||||
<?php if (has_post_thumbnail()) : ?>
|
||||
<div class="post-featured-image">
|
||||
<?php the_post_thumbnail('large'); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="post-container">
|
||||
<header class="post-header-single">
|
||||
<div class="post-meta-info">
|
||||
<span class="post-date"><i class="fas fa-calendar"></i> <?php echo get_the_date('d/m/Y'); ?></span>
|
||||
<span class="post-author"><i class="fas fa-user"></i> <?php the_author(); ?></span>
|
||||
<span class="post-category"><i class="fas fa-folder"></i> <?php the_category(', '); ?></span>
|
||||
</div>
|
||||
<h1 class="post-title-single"><?php the_title(); ?></h1>
|
||||
</header>
|
||||
|
||||
<div class="post-content-single">
|
||||
<?php the_content(); ?>
|
||||
</div>
|
||||
|
||||
<footer class="post-footer-single">
|
||||
<div class="post-navigation">
|
||||
<div class="nav-previous">
|
||||
<?php previous_post_link('%link', '<i class="fas fa-arrow-left"></i> Anterior'); ?>
|
||||
</div>
|
||||
<div class="nav-next">
|
||||
<?php next_post_link('%link', 'Próximo <i class="fas fa-arrow-right"></i>'); ?>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</article>
|
||||
<?php endwhile; ?>
|
||||
</main>
|
||||
|
||||
<?php get_footer(); ?>
|
||||
Reference in new issue
Block a user