summaryrefslogtreecommitdiff
path: root/footer.php
blob: 8d3d1b30b651f5210f887d52a2203d58ad475007 (plain)
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
<?php
/**
 * The template for displaying the footer.
 *
 * @package remulus
 */
?>

  </div>

  <footer>
    <ul class="social">
<?php
$social = array('twitter', 'facebook', 'xing', 'linkedin');
foreach ($social as $s) {
  $handle = get_the_author_meta($s);
  if (!empty($handle)) {
    echo '<li><a title="' .$s. '" href="' .$handle. '"><i class="fa fa-' .$s. '"></i></a></li>';
  }
}
?>
    </ul>

    <div class="copyright">
      <small>&copy; <?php echo date("Y"); ?> Remulus Film
        <?php
        $menuParameters = array(
                'theme_location' => 'secondary',
                'container' => false,
                'echo' => false,
                'before' => '| ',
                'items_wrap' => '%3$s',
                'depth' => 0,
        );
        echo strip_tags(wp_nav_menu($menuParameters), '<a>');
        ?>

      </small>

      <small>Website by <a href="http://www.dgsiegel.net">daniel g. siegel</a></small>
    </div>

  </footer>

<?php wp_footer(); ?>

</body>
</html>