-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome.php
51 lines (36 loc) · 1.54 KB
/
home.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
<?php
add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' );
remove_action( 'genesis_loop', 'genesis_do_loop' );
add_action( 'genesis_loop', 'dd_custom_loop' );
function dd_custom_loop() {
echo '<div class="home-featured"><div class="wrap">';
genesis_widget_area( 'home-slider', array(
'before' => '<div class="home-banner-mobile widget-area">',
'after' => '</div>'
));
echo '<div class="home-slider widget-area">';
echo do_shortcode( '[royalslider id="1"]' );
echo '</div>';
echo '</div></div>';
echo '<div class="streaming"><div class="wrap">';
?>
<div class="bitgravity four-sixths first">
<i class="fa fa-times-circle" title="Close Streaming"></i>
<iframe src="" scrolling=no frameborder=0 width="590" height="390"><a href="?width=590&height=390&streamType=live&AutoPlay=true&ScrubMode=simple&BufferTime=1.5&AutoBitrate=off&scaleMode=letterbox&DefaultRatio=1.777778&LogoPosition=topleft&ColorBase=0&ColorControl=14277081&ColorHighlight=16777215&ColorFeature=14277081&selectedIndex=0">Play</a></iframe>
</div>
<?php
echo '<div class="call-to-action one-fourth">';
genesis_widget_area( 'call-to-action', array(
'before' => '<div class="opt-in widget-area">',
'after' => '</div>'
));
echo '</div>'; // end of cta
echo '</div></div>'; // end of streaming
// echo '<div class="">';
genesis_widget_area( 'home-sections', array(
'before' => '<div class="wrap"><div class="home-sections widget-area">',
'after' => '</div></div>'
));
// echo '</div>';
}
genesis();