-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsingle_debate.php
50 lines (47 loc) · 1.78 KB
/
single_debate.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
<?php get_template_part('components/head'); ?>
<div class="debate">
<main id="post">
<article class="single-default">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="single-default__content">
<div class="single-hero">
<header class="header">
<div class="header__wrap">
<div class="header__logo">
<a href="<?php bloginfo('url'); ?>" class="header__logo-link">
WOF
</a>
</div>
<div class="header__btn">
<a href="/colabora">Colabora con WOF</a>
</div>
</div>
</header>
<div class="single-thumb"><?php the_post_thumbnail('fotogrande'); ?></div>
<div class="single-default__presentation">
<div class="single-default__category">
<?php get_template_part('atoms/category-link'); ?>
</div>
<h1 class="single-default__title">
<?php the_title(); ?>
</h1>
<div class="single-default__intro">
<?php the_field('field_6375315c72e9d'); ?>
</div>
</div>
</div>
<div class="single-default__meta">
<?php get_template_part('atoms/meta'); ?>
</div>
<div class="main single-default__main">
<?php the_field('field_63752e3ee91da'); ?>
<?php the_content("Sigue leyendo"); ?>
</div>
<?php endwhile; else: ?>
<?php include (TEMPLATEPATH . '/404.php'); ?>
<?php endif; ?>
</article>
</main>
<?php get_template_part('components/list-debate'); ?>
</div>
<?php get_footer(); ?>