Edited 'Homepage – blank Page Template,' have proceeded to wreck my site

Posted in: Newspaper
Post count: 13

Hello, resident website destroyer here. This is my website: http://www.thechaff.co

I removed a line of code that a developer friend added for me to the ‘Newspaper: Homepage – blank Page Template (page-homepage-blank.php)’. The code that he had added was this:

<h2 class=”fancy”><span><?php echo date(‘F j, Y’); ?></span></h2>

He helped me add that because earlier I wanted the date to display at the top of my homepage. I no longer want this, so I thought I could just remove it.

Now however, if you take a look at my site, things aren’t looking so hot, and I’m not exactly sure how to fix it. In between the dashes below is what the code currently looks like:

<?php
/* Template Name: Homepage – blank */

if (have_posts()) { ?>
<?php while ( have_posts() ) : the_post(); ?>
<div class=”container td-page-wrap”>
<div class=”row”>
<div class=”span12″>
<div class=”td-grid-wrap”>
<div class=”container-fluid”>
<?php the_content(); ?>
</div>
</div>
</div>
</div>
</div>
<?php endwhile; ?>
<?php } else {
echo td_page_generator::no_posts();
get_footer();
}

Any assistance would be greatly appreciated. Thanks!

Post count: 22421

Hello,

I have added the whole content of the file in pastebin: http://pastebin.com/dsLm94dW
Please replace your code with this one and things should go back to normal.

Thanks.

Post count: 13

Thank you, Bogdan. All is well now!

Ben

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newspaper’ is closed to new topics and replies.