• hi y’all.
    Theme: MHTheme Lite
    website: http://www.facultyoffood

    I made an edit to my homepage.php file, and after adding in a few lines of code

    original

    <?php /* Template Name: Homepage */ ?>
    <?php $options = get_option('mh_options'); ?>
    <?php get_header(); ?>
    <div class="wrapper hp clearfix">
    	<div class="clearfix">
    		<div class="content left">
    		    <?php dynamic_sidebar('home-1'); ?>
    			<?php if (is_active_sidebar('home-2') || is_active_sidebar('home-3')) : ?>
    			<div class="clearfix">
    			<?php if (is_active_sidebar('home-2')) { ?>
    		    	<div class="hp-sidebar hp-sidebar-left">
    			    	<?php dynamic_sidebar('home-2'); ?>
    				</div>
    			<?php if (is_active_sidebar('home-3')) { ?>
    		    	<div class="hp-sidebar sb-right hp-sidebar-right">
    			    	<?php dynamic_sidebar('home-3'); ?>
    				</div>
    			<?php } ?>
    			</div>
    			<?php endif; ?>
    			<?php dynamic_sidebar('home-4'); ?>
    		</div>
    		<?php if (is_active_sidebar('home-5')) { ?>
    		<div class="hp-sidebar sb-right hp-home-6">
            	<?php dynamic_sidebar('home-5'); ?>
    		</div>
    		<?php } ?>
    	</div>
    </div>
    <?php get_footer(); ?>

    I added another home-1 into another div class (hp-sidebar) so I could group things easier…
    but after that my website went kaboom.

    HELP

Viewing 1 replies (of 1 total)
  • Use either ftp or a File Manager from your hosting service to either edit homepage.php or replace it with a fresh version of the original code.

Viewing 1 replies (of 1 total)

The topic ‘edit homepage.php, website is DOWN’ is closed to new replies.