-
Notifications
You must be signed in to change notification settings - Fork 0
/
home_template.php
60 lines (35 loc) · 1.04 KB
/
home_template.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
<!--HOME TEMPLATE-->
<?php
/**
* @package WordPress
* @subpackage CinemaSalem v1
*/
/*
Template Name: HOME template
*/
$debug = false;
date_default_timezone_set('America/New_York');
get_header(); ?>
<div class="content_home" id="content">
<div class="clear"> </div>
<!-- ALERTS -->
<?php
$args = array( 'post_type' => 'CS_Alerts', 'posts_per_page' => 1 );
$loop = new WP_Query( $args );
while ( $loop->have_posts() ) : $loop->the_post();
echo '<div class="cs-alert">';
the_title();
echo '</div>';
endwhile;
?>
<div class="clear"> </div>
<!-- SLIDER -->
<?php include ( get_stylesheet_directory() . '/incs/widget-slider.php') ; ?>
<!-- PERFORMANCES -->
<?php include ( get_stylesheet_directory() . '/incs/widget-performances.php'); ?>
<!-- UPCOMING EVENTS -->
<?php include ( get_stylesheet_directory() . '/incs/widget-upcoming-events.php'); ?>
<!-- SHOWTIMES / SESSIONS -->
<?php include ( get_stylesheet_directory() . '/incs/widget-sessions.php' ); ?>
</div><!-- end #content-->
<?php get_footer(); ?>