diff options
| author | Max | 2018-10-15 23:46:42 +0200 |
|---|---|---|
| committer | Max | 2018-10-15 23:46:42 +0200 |
| commit | 00c9709fd9763542e848f6278db8ba26af5c9886 (patch) | |
| tree | 92cb1c1ee4c467118e1e5a4c7e233d3feac6efa8 /footer.php | |
| download | fuselkoenig_de-00c9709fd9763542e848f6278db8ba26af5c9886.tar.gz | |
Initial commit.
Diffstat (limited to 'footer.php')
| -rw-r--r-- | footer.php | 208 |
1 files changed, 208 insertions, 0 deletions
diff --git a/footer.php b/footer.php new file mode 100644 index 0000000..d956672 --- /dev/null +++ b/footer.php @@ -0,0 +1,208 @@ +<?php +/** + * The template for displaying the footer. + * + * Contains the closing of the #content div and all content after + * + * @package understrap + */ + +if ( ! defined( 'ABSPATH' ) ) { + exit; // Exit if accessed directly. +} + +$container = get_theme_mod( 'understrap_container_type' ); +?> + +<?php get_template_part( 'sidebar-templates/sidebar', 'footerfull' ); ?> + +<?php /* +<div class="wrapper" id="wrapper-footer"> + + <div class="<?php echo esc_attr( $container ); ?>"> + + <div class="row"> + + <div class="col-md-12"> + + <footer class="site-footer" id="colophon"> + + <div class="site-info"> + + <?php understrap_site_info(); ?> + + </div><!-- .site-info --> + + </footer><!-- #colophon --> + + </div><!--col end --> + + </div><!-- row end --> + + </div><!-- container end --> + +</div><!-- wrapper end --> + */ ?> + +<!-- .custom-footer-widget --> +<div class="wrapper footer" id="wrapper-footer-full"> + <div class="container" id="footer-full-content" tabindex="-1"> + <div class="row"> + <div id="custom_html-2" class="widget_text footer-widget widget_custom_html widget-count-1 col-md-12"> + <div class="textwidget custom-html-widget"> + + <div class="row footer-menu"> + <div class="col-xs col-sm"> + <nav class="nav flex-column"> + <h3 class="nav-item text-muted">Impressum</h3> + <a class="nav-link" rel="nofollow" title="Link zum Impressum" href="/impressum/">Impressum</a> + <a class="nav-link" rel="nofollow" title="Link zum Haftungsausschluss" href="/impressum/#haftungsausschluss">Haftungsausschluss</a> + <a class="nav-link" rel="nofollow" title="Link zur Datenschutzerklärung" href="/impressum/#datenschutz">Datenschutz</a> + </nav> + </div> + <div class="col-xs col-sm"> + <nav class="nav flex-column ml-0"> + <h3 class="nav-item text-muted">Kontakt</h3> + <a class="nav-link" title="Link zum Kontaktformular" href="/kontakt">Kontaktformular</a> + <a class="nav-link" rel="nofollow" title="www.maximilianmoehring.com" href="https://www.maximilianmoehring.com">Maximilian Möhring</a> + </nav> + </div> + <div class="col-xs-12 col-sm"> + <nav class="nav flex-column ml-0"> + <h3 class="nav-item text-muted">Social Media</h3> + <ul class="icons-medium nav"> + <li class="pinterest"> + <a title="Pinterest" class="nav-link" href="https://pinterest.de/fuselkoenig" target="_blank"><img class="site-icon" src="/wp-content/plugins/social-media-icons-widget/icons/medium/pinterest.jpg" alt="Pinterest" title="Pinterest" height="32" width="32" /></a> + </li> + <li class="twitter nav-item"> + <a title="Twitter" class="nav-link" href="https://twitter.com/fuselkoenig" target="_blank"><img class="site-icon" src="/wp-content/plugins/social-media-icons-widget/icons/medium/twitter.jpg" alt="Twitter" title="Twitter" height="32" width="32" /></a> + </li> + <li class="rss"> + <a title="RSS-Feed" class="nav-link" href="/feed/" target="_blank"><img class="site-icon" src="/wp-content/plugins/social-media-icons-widget/icons/medium/rss.jpg" alt="RSS Feed" title="RSS Feed" height="32" width="32" /></a> + </li> + </ul> + </nav> + </div> + </div> +</div></div></div><!-- .footer-widget --> + </div> + </div> +<!-- .custom-footer-widget --> + +<a id="back-to-top" href="#" class="btn btn-primary btn-float btn-lg back-to-top" role="button" title="Nach oben" data-toggle="tooltip" data-placement="left"><i class="material-icons">arrow_upward</i></a> +</div><!-- #page we need this extra closing tag here --> + + + +<?php wp_footer(); ?> + +<script> +(function($){ + +/* + console.log(_fk_top_clicked); + console.log(_fk_sub_clicked); + console.log(_fk_tcl_clicked); + console.log(_fk_rlp_clicked); + + var _paq = _paq || []; +*/ + + + jQuery("#wrapper-navbar > .navbar > .navbar-toggler").click(function(e){ + + _paq.push(['trackEvent', 'Top-Menu', 'Toggled']); + }); + jQuery("#navbarNavDropdown .menu-item > a").click(function(e){ + var _fk_top_clicked = jQuery(this).text(); + + _paq.push(['trackEvent', 'Top-Menu', _fk_top_clicked]); + }); + jQuery(".footer-menu a").click(function(e){ + var _fk_sub_clicked = jQuery(this).text(); + + if ( "" == _fk_sub_clicked ) { + // social media icons clicked + _paq.push([ 'trackEvent', 'Footer', jQuery(this).attr('title') ]); + _paq.push([ 'trackEvent', 'Social Media', jQuery(this).attr('title') ]); + + } else { + _paq.push(['trackEvent', 'Footer', _fk_sub_clicked]); + } + }); + jQuery(".pwk-tc-category").click(function(){ + var _fk_tcl_clicked = jQuery(this).text(); + + _paq.push(['trackEvent', 'Tag Cloud', _fk_tcl_clicked]); + }); + jQuery(".pwk-tc-brennerei").click(function(){ + var _fk_tcl_clicked = jQuery(this).text(); + + _paq.push(['trackEvent', 'Hersteller', _fk_tcl_clicked]); + }); + jQuery("a.yarpp-thumbnail").click(function(){ + var _fk_rlp_clicked = jQuery(this).data('clean-title'); + var _fk_rlp_origin= jQuery(this).data('origin-post'); + + _paq.push(['trackEvent', 'Related Post', _fk_rlp_clicked, _fk_rlp_origin]); + }); + jQuery(".shariff-link").click(function(){ + var _fk_shr_clicked = jQuery(this).attr('title'); + _paq.push(['trackEvent', 'Share Button', _fk_shr_clicked]); + }); + jQuery(".rpwwt-widget > ul > li > a").click(function(){ + var _fk_rpwwt_clicked = jQuery(this).children("img").attr("alt"); + + _paq.push(['trackEvent', 'Recent Post', _fk_rpwwt_clicked]); + }); + jQuery(".social-icons-widget ul.icons-medium li a").click(function(){ + var _fk_smc_clicked = jQuery(this).children("img").attr("alt"); + + _paq.push(['trackEvent', 'Social Media', _fk_smc_clicked]); + }); + jQuery("#respond input[type=submit").click(function(e){ + var _fk_com_clicked = jQuery("#comments").data('clean-title'); + + _paq.push(['trackEvent', 'Comment', _fk_com_clicked]); + }); + jQuery(".wpcf7-submit").click(function(e){ + var _fk_wpcf7_clicked = jQuery(".your-subject > input[name=your-subject").val(); + + _paq.push(['trackEvent', 'Contact', _fk_wpcf7_clicked]); + }); + jQuery("#back-to-top").click(function(e){ + _paq.push(['trackEvent', 'Scroll-to-Top']); + }); + jQuery("#cookie_action_close_header").click(function(e){ + _paq.push(['trackEvent', 'Cookie Bar', 'Accept']); + }); + jQuery("#CONSTANT_OPEN_URL").click(function(e){ + _paq.push(['trackEvent', 'Cookie Bar', 'Read More']); + }); +/* + $(".tag-cloud-link").click(function(){ + var _fk_tcl_clicked = $(this).text(); + + _paq.push(['trackEvent', 'Tag Cloud', _fk_tcl_clicked]); + }); + $("._fk_pwk_empf").click(function(){ + _paq.push(['trackEvent', 'Empfehlung / PLV', 'Empfehlung']); + }); + $("._fk_pwk_plv").click(function(){ + _paq.push(['trackEvent', 'Empfehlung / PLV', 'Preis-Leistungs-Verhältnis']); + }); + $("._fk_pwk_sol").click(function(){ + _paq.push(['trackEvent', 'Top oder Flop', 'Mittelfeld']); + }); + $("._fk_pwk_flop").click(function(){ + _paq.push(['trackEvent', 'Top oder Flop', 'Flop']); + }); +*/ + +})(jQuery); +</script> + +</body> + +</html> + |
