WordPress.org

Ready to get started?Download WordPress

Forums

Deleted Chitika and now singlepage.php is all messed up (2 posts)

  1. oneppo
    Member
    Posted 6 years ago #

    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'); ?>

    </div>
    <script src="http://feeds.feedburner.com/~s/LaSnark?i=<?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'); ?>
    </div>

    <?php endif; ?>

    </div>

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

    </div>

    <?php get_footer(); ?>

  2. oneppo
    Member
    Posted 6 years ago #

    all fixed, just reinstalled the original single.php

Topic Closed

This topic has been closed to new replies.

About this Topic