-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsingle.php
More file actions
51 lines (42 loc) · 1.31 KB
/
single.php
File metadata and controls
51 lines (42 loc) · 1.31 KB
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
/**
* Para single
*
*
*
*/
get_header();
get_sidebar();
$odin_general_opts = get_option( 'config' );
$imagem = $odin_general_opts['bgimg'];
$imagem = wp_get_attachment_image_src( $imagem, 'full' );
?>
<div id="primary" style="background-image:url('<?php echo $imagem[0]; ?>');" class="col-sm-10">
<div id="margem"></div>
<div id="content" class="site-content" role="main">
<div class="clearfix"></div>
<?php
// Start the Loop.
while ( have_posts() ) : the_post();
/*
* Include the post format-specific template for the content. If you want to
* use this in a child theme, then include a file called called content-___.php
* (where ___ is the post format) and that will be used instead.
*/
get_template_part( 'content', 'single' );
// If comments are open or we have at least one comment, load up the comment template.
endwhile;
?>
</div><!-- #content -->
</div><!-- #primary -->
<div id="fundo-modal"> <img id="ajax-loader" style="display:none" src="<?php echo get_template_directory_uri(); ?>/assets/images/ajax-loader.gif">
</div>
<div id="modal-conteudo">
<a href="#">
<div style="display:none" id="botao-fechar">x</div>
</a>
<div style="display:none;" class="animated fadeIn" id="html">
</div>
</div>
<?php
get_footer();