• About a week ago something went wrong with my theme and now my homepage shows up all messed up.

    All of the sidebar widgets are stuck at the very bottom and the white background that should surround my text is gone.

    I didn’t notice for a while because I had a bunch of posts written and on auto-post mode. Could this have been part of the problem?

    I have already completely erased my wordpress and re-installed but it didn’t help. I know its just some small problem with the code but I can’t figure out what it is.

    Any help would be appreciated.

    https://readbtl.com/

Viewing 4 replies - 16 through 19 (of 19 total)
  • Thread Starter 750650

    <?php get_header(); ?>

    <div id=”contentwrapper”><div id=”content”>

    <div class=”adsense_top”><?php include (TEMPLATEPATH . ‘/adsense_top.php’); ?></div>

    <?php if (have_posts()) : ?>

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

    <div class=”post”>
    <h2 class=”postTitle”>“><?php the_title(); ?></h2>
    <div class=”postMeta”>
    <span class=”date”><?php the_time(‘M.d, Y’) ?></span> in
    <span class=”filed”><?php the_category(‘, ‘); ?></span>
    </div>
    <div class=”postContent”><?php the_content(‘[Read the rest of this entry…]’); ?></div>
    <p class=”comments”><?php comments_popup_link(‘Leave a Comment’, ‘Comments (1)’, ‘Comments (%)’); ?></p>
    </div> <!– Closes Post –>

    <?php endwhile; ?>

    <?php else : ?>

    <div class=”post”>
    <h2 class=”center”>Not Found</h2>
    <p class=”center”>Sorry, but you are looking for something that isn’t here.</p>
    </div> <!– Closes Post –>

    <?php endif; ?>

    <div id=”nextprevious”>
    <div class=”left”><?php posts_nav_link(”,”,’« previous entries’) ?>  </div>
    <div class=”right”><?php posts_nav_link(”,’next entries »’,”) ?></div>
    </div>

    </div></div> <!– Closes Content –>

    <?php get_sidebar(); ?>

    <div class=”cleared”></div>

    </div> <!– Closes Main –>

    <?php get_footer(); ?>

    </div></div> <!-- Closes Content -->

    One of those doesn’t need to be there. Otherwise you are closing the contentwrapper early. And I don’t think that’s what you want to do.

    Thread Starter 750650

    yep that didn’t do anything. thanks for trying though

    If it works on your previous pages, you might look to see what the difference is between those and your index.php.

Viewing 4 replies - 16 through 19 (of 19 total)
  • The topic ‘Whats Wrong with my Theme?’ is closed to new replies.