Support » Fixing WordPress » Deleted Chitika and now singlepage.php is all messed up

  • I had a Chitika ad network code in my singlepost.php and everything looked fine. As soon as I deleted that code, everything started looking like this.

    Can anyone help?

    Here is my single.php ad code:

    <?php get_header(); ?>

    <div id=”content_box”>

    <div id=”content” class=”posts”>

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>

    <?php include (TEMPLATEPATH . ‘/navigation.php’); ?>

    <h2><?php the_title(); ?></h2>
    <h4><?php the_time(‘F jS, Y’) ?><!– by <?php the_author() ?> –> · #comments”><?php comments_number(‘No Comments’, ‘1 Comment’, ‘% Comments’); ?></h4>

    <?php the_content(‘<p>Read the rest of this entry »</p>’); ?>

    <?php link_pages(‘<p>Pages: ‘, ‘</p>’, ‘number’); ?>

    <script src=”<?php the_permalink() ?>” type=”text/javascript” charset=”utf-8″></script>

    <p class=”tagged”>Tags: <?php the_category(‘ · ‘) ?></p>
    <div class=”clear”></div>

    <?php comments_template(); ?>

    <?php endwhile; else: ?>

    <h2 class=”page_header”>Uh oh.</h2>
    <div class=”entry”>
    <p>Sorry, no posts matched your criteria. Wanna search instead?</p>
    <?php include (TEMPLATEPATH . ‘/searchform.php’); ?>

    <?php endif; ?>


    <?php include (TEMPLATEPATH . ‘/r_sidebar.php’); ?>


    <?php get_footer(); ?>

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Deleted Chitika and now singlepage.php is all messed up’ is closed to new replies.