This repository has been archived by the owner on Oct 17, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
/
index.php
executable file
·47 lines (44 loc) · 1.63 KB
/
index.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
<?php
/**
* The main template file.
*
* This is the most generic template file in a WordPress theme
* and one of the two required files for a theme (the other being style.css).
* It is used to display a page when nothing more specific matches a query.
* For example, it puts together the home page when no home.php file exists.
*
* Learn more: http://codex.wordpress.org/Template_Hierarchy
*
* @package WordPress
* @subpackage Twenty_Twelve
* @since Twenty Twelve 1.0
*/
get_header(); ?>
<section class="img-destaque">
<?php
$header_image = get_header_image();
if ($header_image) {
$header_image_width = get_custom_header()->width;
$header_image_height = get_custom_header()->height;
} else {
$header_image = get_template_directory_uri() . '/img/cropped-banner.jpg';
$header_image_width = HEADER_IMAGE_WIDTH;
$header_image_height = HEADER_IMAGE_HEIGHT;
}
?>
<img class="img_fundo_topo" src="<?php echo $header_image; ?>" width="<?php echo $header_image_width; ?>" height="<?php echo $header_image_height; ?>" alt="" />
</section>
<section class="content">
<div class="row-fluid">
<div class="bl_eventos span4">
<?php dynamic_sidebar('home-column-1'); ?>
</div>
<div class="bl_artigos span4">
<?php dynamic_sidebar('home-column-2'); ?>
</div>
<div class="bl_avisos span4">
<?php dynamic_sidebar('home-column-3'); ?>
</div>
</div>
</section>
<?php get_footer(); ?>