-
Notifications
You must be signed in to change notification settings - Fork 0
/
single.php
63 lines (61 loc) · 1.7 KB
/
single.php
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<?php
/**
* The Template for displaying all single posts.
*
* @package Odin
* @since 2.2.0
*/
get_header();
the_post();
?>
<section id="noticias" class="interna Notice">
<div class="content u-xs-sizeFull">
<div class="col1 u-xs-sizeFull">
<header class="Notice-header">
<h4>
<svg>
<use xlink:href="#icon-calendario-preto" />
</svg>
<span><?php echo esc_html( get_the_date( 'd/m/Y' ) ) ?></span>
</h4>
<h3><?php the_title(); ?></h3>
<!-- <h5><?php the_excerpt(); ?></h5>-->
</header>
<div class="fonte-compartilhe">
<div class="addthis">
<span class='st__hcount' displayText=''></span>
<span class='st_facebook_hcount' displayText='Facebook'></span>
<span class='st_twitter_hcount' displayText='Tweet'></span>
</div>
</div>
<div class="conteudo conteudo-padrao Notice-text">
<?php the_content(); ?>
</div>
<h6 class="fonte Notice-font">Fonte: <?php the_field('post_font'); ?></h6>
<h6 class="tags Notice-tags"><span class="span-title">Tags: </span><?php the_tags( '<footer class="entry-meta"><span class="tag-links">', ' , ', '</span></footer>' ); ?></h6>
</div>
<aside class="col2 Notice-others u-xs-sizeFull">
<header>
<svg>
<use xlink:href="#icon-jornal-dobrado" />
</svg>
<h3>Outras notícias</h3>
</header>
<ul>
<?php
$test = wp_get_archives( array( 'type' => 'postbypost', 'limit' => 6, 'format' => 'html' ) );
?>
<li>
<a href="<?php bloginfo( 'url' ) ?>/noticias/" class="mais-noticias" title="Mais notícias">
<span>Mais notícias</span>
<svg>
<use xlink:href="#icon-seta-round" />
</svg>
</a>
</li>
</ul>
</aside>
</div>
</section>
<?php
get_footer();