-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer.php
75 lines (65 loc) · 2.05 KB
/
footer.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<?php
/**
* The template for displaying the footer.
*
* Contains the closing of the id=main div and all content after
*
* @package IS Brno
*/
?>
</div><!-- #content -->
<footer id="colophon" class="site-footer hidden-print" role="contentinfo">
<div class="container">
<div class="row">
<div class="col-md-6 footer-is">
<?php dynamic_sidebar( 'footer-is' ); ?>
</div>
<div class="col-md-3">
<h3>
<?php
if ( function_exists( 'ot_get_option' ) ) {
echo ot_get_option( 'footer_kalendar', 'Akce v kalendáři' );
}
?>
</h3>
<ul class="red">
<?php
$dnesni_datum = Date( 'U' );
$args = array(
'post_type' => 'akce',
'numberposts' => '8',
'meta_key' => 'akce_from',
'orderby' => 'meta_value_num',
'order' => 'ASC',
'meta_query' => array(
array(
'key' => 'akce_from',
'value' => $dnesni_datum,
'type' => 'numeric',
'compare' => '>=',
),
),
);
$lastposts = get_posts( $args );
foreach ( $lastposts as $post ) :
setup_postdata( $post );
the_title( '<li><a href="' . get_permalink() . '" title="' . get_the_excerpt() . '">', '</a></li>' );
endforeach;
?>
</ul>
</div>
<div class="col-md-3">
<?php dynamic_sidebar( 'footer-social' ); ?>
</div>
</div><!-- .row -->
</div><!-- .container -->
</footer><!-- #colophon -->
<footer id="dark" class="dark-footer hidden-print hidden-xs" role="contentinfo">
© <?php echo date( 'Y' ); ?>, <a href="https://www.instruktori.cz">Instruktoři Brno, z.s.</a>, <a href="mailto:spenat@instruktori.cz">spenat@instruktori.cz</a>. Všechna práva vyhrazena. <a href="/zasady-zpracovani-osobnich-udaju">Zásady zpracování osobních údajů</a><br/>
Design a tvorba webových stránek Persona Studio [ <?php wp_loginout(); ?> ]
</footer><!-- #dark -->
</div><!-- #page -->
<?php wp_footer(); ?>
</body>
</html>
<?php dynamic_sidebar( 'footer-aktivity' ); ?>