?> " style="<?php _estyle_changer('logo_text'); ?> " > <?php if (_go('logo_text')) { ?> <?php _eo('logo_text'); ?> <?php } elseif (_go('logo_image')) { ?> <img src="<?php _eo('logo_image'); ?> " alt="<?php echo THEME_PRETTY_NAME; ?> logo"> <?php } else { ?> <?php echo THEME_PRETTY_NAME; ?> <?php } ?> </a>
?> > <div class="error-content"> <div class="error-head"> <?php get_search_form(); ?> </div> <h1><?php _e('404', 'sevenfold'); ?> </h1> <h3><?php if (_go('error_title')) { _eo('error_title'); } else { _e('OOps! something went wrong', 'sevenfold'); } ?> </h3> <p><?php if (_go('error_message')) { _eo('error_message'); } else { _e('The page you are trying to access seems to no longer exists.', 'sevenfold'); } ?> </p> </div> </div> </div>
<!-- Mobile Specific Meta --> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" /> <!-- Pingbacks --> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?> "> <?php echo "<script type='text/javascript'>var TemplateDir='" . TT_THEME_URI . "'</script>"; ?> <!-- Favicon --> <?php if (_go('favicon')) { ?> <link rel="shortcut icon" href="<?php _eo('favicon'); ?> "> <?php } ?> <?php wp_head(); ?> </head> <body <?php body_class($body_class); ?> > <div class="boxed-fluid"> <!-- ======================================================================
function tesla_custom_js() { ?> <script type="text/javascript"><?php _eo('custom_js'); ?> </script> <?php }
</div> <!-- ====================================================================== END CONTENT ======================================================================= --> <?php $footer_type = _go('footer_type') ? _go('footer_type') : '1'; get_template_part('theme_includes/footer', $footer_type); ?> </div><!-- /#boxed --> <!-- ====================================================================== START SCRIPTS ======================================================================= --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script> <![endif]--> <?php _eo('tracking_code'); ?> <?php wp_footer(); ?> </body> </html>
<?php dynamic_sidebar('footer'); ?> </div> </div> <?php } ?> <div class="footer-bottom-line"> <div class="container"> <div class="row"> <div class="col-md-6"> <div class="footer-copyright"> <?php _eo('copyright_message'); ?> Designed by <a href="http://www.teslathemes.com" target="_blank">TT</a> </div> </div> <div class="col-md-6"> <ul class="footer-socials"> <?php $social_platforms = array('facebook', 'twitter', 'linkedin', 'youtube', 'vimeo', 'pinterest', 'google', 'dribble', 'rss'); foreach ($social_platforms as $platform) { if (_go('social_platforms_' . $platform)) { ?> <li> <a href="<?php echo _go('social_platforms_' . $platform); ?>
function _esocial_platforms($social_platforms = array('facebook', 'twitter', 'pinterest', 'flickr', 'dribbble', 'behance', 'google', 'linkedin', 'youtube', 'rss'), $prefix = '', $suffix = '', $fa = false) { foreach ($social_platforms as $platform) { if (_go('social_platforms_' . $platform)) { ?> <li> <a href="<?php _eo('social_platforms_' . $platform); ?> " target="_blank"> <?php if ($fa) { ?> <i class="fa fa-<?php echo esc_attr($platform); ?> "></i> <?php } else { ?> <img src="<?php echo TT_THEME_URI; ?> /images/socials/<?php echo esc_attr($prefix . $platform . $suffix); ?> .png" alt="<?php echo esc_attr($platform); ?> " /> <?php } ?> </a> </li> <?php } } }
<?php if (!empty($label)) { echo $label; } else { _eo('contact_address'); }
<div class="tt-form-template <?php echo $location === 'footer' ? "contact-form" : "content-contact-form"; ?> "> <?php if ($location === 'footer') { ?> <h1><?php _eo('title_contact'); ?> </h1> <h5><?php _e('Fill the contact form', 'sevenfold'); ?> </h5> <?php } elseif ($location === 'contact_page') { ?> <div class="container"> <?php } ?> <form method="POST" action="contact_form_send_message" data-parsley-validate class='tt-form'> <?php $i = 0; //unnamed fields counter foreach ($rows as $row) { ?> <div class="row form-row"><!-- Start Row --> <?php