Trage website vermoedelijk door footer.php
-
Hallo mensen,
Ik ben bezig met een website die erg traag is. Met mijn webhoster gesproken en die kwam met deze melding:
FastCGI: server “/var/run/php-fpm/php56/php-cgi” stderr: PHP message: PHP Parse error: syntax error, unexpected ‘footer’ (T_STRING) in /sites/gayshopx.nl/www/wp-content/themes/sw_maxshop/footer.php on line 24, referer: http://gayshopx.nl/wp-admin/theme-editor.php?file=footer.php&theme=sw_maxshop
Nou moet er waarschijnlijk een fout in de foot.php zitten:
<
<?php if (is_active_sidebar_YA(‘above-footer’)){ ?><div class=”sidebar-above-footer theme-clearfix”>
<div class=”container theme-clearfix”>
<?php dynamic_sidebar(‘above-footer’); ?>
</div>
</div>
<?php } ?>
<footer class=”footer theme-clearfix” role=”contentinfo”>
<div class=”container theme-clearfix”>
<div class=”row”>
<?php if (is_active_sidebar_YA(‘footer’)){ ?><?php dynamic_sidebar(‘footer’); ?>
<?php } ?>
</div>
</div>
<div class=”copyright theme-clearfix”>
<div class=”container clearfix”>
<div class=”copyright-text pull-left”>
<?php _e( ‘Copyright © 2015 SW MaxShop Store. All Rights Reserved. Design by Magentech.com‘, ‘yatheme’ )?>
</div>
<?php if (is_active_sidebar_YA(‘footer-copyright’)){ ?>
<div class=”sidebar-copyright pull-right”>
<?php dynamic_sidebar(‘footer-copyright’); ?>
</div>
<?php } ?>
</div>
</div>
</footer>
<?php if (is_active_sidebar_YA(‘floating’) ){ ?>
<div class=”floating theme-clearfix”>
<?php dynamic_sidebar(‘floating’); ?>
</div>
<?php } ?>
<?php if(ya_options()->getCpanelValue(‘back_active’) == ‘1’) { ?>
<?php }?>
</div>
<script type=”text/javascript”>
/*** remove <p> *****/
jQuery(‘.panel-group .panel-default br’).remove();
</script>
<?php if( ya_options()-> getCpanelValue( ‘effect_active’ ) == 1 ){ ?>
<?php if( is_home() || is_front_page() ){?>
<script type=”text/javascript”>
jQuery(function($){
// The starting defaults.
var config = {
reset: true,
init: true
};
window.scrollReveal = new scrollReveal( );});
</script>
<?php } } ?>
<?php wp_footer(); ?>Kunnen jullie me vertellen wat hieraan fout is?
Alvast bedankt!
- Het onderwerp ‘Trage website vermoedelijk door footer.php’ is gesloten voor nieuwe reacties.