-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
60 lines (56 loc) · 1.89 KB
/
Copy pathheader.php
File metadata and controls
60 lines (56 loc) · 1.89 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
51
52
53
54
55
56
57
58
59
60
<!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" <?php language_attributes(); ?>> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" <?php language_attributes(); ?>> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" <?php language_attributes(); ?>> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" <?php language_attributes(); ?>> <!--<![endif]-->
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<title><?php wp_title('|', true, 'right'); bloginfo('name'); ?></title>
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?> >
<?php /*if(ale_get_option('sitelogo')){
echo "<img src='".ale_get_option('sitelogo')."' />";
}*/ ?>
<?php ale_option('sitelogo'); ?>
<section class="slider-example">
<div class="newhomeslider wrapper">
<ul class="slides">
<?php $slider = ale_sliders_get_slider('test-slider'); ?>
<?php if($slider):?>
<?php foreach ($slider['slides'] as $slide) : ?>
<li>
<figure>
<img src="<?php echo $slide['image']; ?>" alt="<?php echo $slide['title']; ?>" />
<figcaption>
<div class="sliderdata">
<?php if($slide['title']){ ?>
<div class="titleslide headerfont">
<?php if($slide['url']){
echo "<a href='".$slide['url']."'>";
} ?>
<?php echo $slide['title']; ?>
<?php if($slide['url']){
echo "</a>";
} ?>
</div>
<?php } ?>
<?php if($slide['description']){ ?>
<div class="descriptionslide">
<?php echo $slide['description']; ?>
</div>
<?php } ?>
<?php if($slide['html']){ ?>
<div class="descriptionslide">
<?php echo $slide['html']; ?>
</div>
<?php } ?>
</div>
</figcaption>
</figure>
</li>
<?php endforeach; ?>
<?php endif;?>
</ul>
</div>
</section>