-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsingle.php
More file actions
30 lines (28 loc) · 940 Bytes
/
single.php
File metadata and controls
30 lines (28 loc) · 940 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php get_header(); ?>
<div class="breadcrumb">
<?php the_breadcrumb(); ?>
</div>
<div class="single-entry">
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<article id="post-<?php the_ID(); ?>" class="entry">
<header class="header-entry">
<h1><?php the_title(); ?></h1>
</header>
<section class="section-entry">
<aside class="sidebar-entry">
<?php the_post_thumbnail('img-250x250'); ?>
<div class="categories-entry"><span>Categorías </span> <?php the_category(); ?></div>
<div class="tags-entry"><span>Etiquetas </span><?php the_tags('',' ',''); ?></div>
</aside>
<div class="content-entry">
<?php the_content(); ?>
</div>
</section>
<footer class="footer-entry"></footer>
</article>
<?php endwhile; endif; ?>
</div>
<aside class="sidebar">
<?php dynamic_sidebar('home-sidebar'); ?>
</aside>
<?php get_footer(); ?>