New Posts Not Showing Up
-
OK.
http://www.simplisticshenanigans.com
I am currently using ComicPress 3c themeI was tinkering in my index file yesterday to fix my missing footer and now when I publish a new post it does not show up in the blog.
I have tried clearing the cache and disabling my plugins but am still receiving nothing on posting.My original problem was with my footer and right sidebar not showing up properly. So what I did was load the ComicPress theme, copy the bottom of the code and then paste it into my theme.
The problem was fixed.
Now today when I try to post I am getting no new posts showing up on my page.Can Anyone help?
Here is the code from my current index:<?php get_header(); global $blog_postcount, $blogcat; $first_comic = get_first_comic(); ?> <?php $wp_query->in_the_loop = true; $comicFrontpage = new WP_Query(); $comicFrontpage->query('showposts=1&cat='.$comiccat); while ($comicFrontpage->have_posts()) : $comicFrontpage->the_post(); ?> <div id="comic"> <img src="<?php comic_display(); ?>" alt="<?php the_title(); ?>" title="<?php the_title(); ?>" /> </div> <?php endwhile; ?> <div id="page"> <?php include(TEMPLATEPATH . '/sidebar-left.php'); ?> <div id="column"> <?php while ($comicFrontpage->have_posts()) : $comicFrontpage->the_post(); ?> <div class="post-frontpage"> <div class="comicdate"> <div class="nav"> <a href="<?php echo $first_comic; ?>"><span style="letter-spacing:-4px;padding-right:4px;">I◄◄</span> First</a> | <?php global $wp_query; $wp_query->is_single = true; previous_post_link('%link', '◄ Previous', TRUE); $wp_query->is_single = false; ?> </div> <?php the_time('l — F jS, Y') ?> </div> <h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2> <div class="entry"> <?php the_content('Read the rest of this entry »'); ?> </div> <div class="postmeta"> <?php the_tags('Tags: ', ', ', ' | '); edit_post_link('Edit', '', ' | '); if ('open' == $post->comment_status) { comments_popup_link('<span class="postmeta-comments">Comment </span><span class="balloon">)</span>', '<span class="postmeta-comments">1 Comment </span><span class="balloon">)</span>', '<span class="postmeta-comments">% Comments </span><span class="balloon">^</span>'); } ?> </div> </div> <?php endwhile; ?> <div id="blogheader"> </div> <?php $temp = $wp_query; $wp_query= null; $wp_query = new WP_Query(); $wp_query->query('showposts='.$blog_postcount.'&cat='.$blogcat.'&paged='.$paged); while ($wp_query->have_posts()) : $wp_query->the_post(); ?> <div class="post" id="post-<?php the_ID(); ?>"> <h3><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h3> <div class="postdate"><?php the_time('F jS, Y') ?></div> <div class="entry"><?php the_content('Read the rest of this entry »'); ?></div> <div class="postmeta"> <?php the_tags('Tags: ', ', ', ' | '); edit_post_link('Edit', '', ' | '); if ('open' == $post->comment_status) { comments_popup_link('<span class="postmeta-comments">Comment </span><span class="balloon">)</span>', '<span class="postmeta-comments">1 Comment </span><span class="balloon">)</span>', '<span class="postmeta-comments">% Comments </span><span class="balloon">^</span>'); } ?> </div> </div> <?php endwhile; ?> <div class="pagenav"> <div class="pagenav-right"><?php previous_posts_link('Newer Entries ▲') ?></div> <div class="pagenav-left"><?php next_posts_link('▼ Previous Entries') ?></div> <div class="clear"></div> </div> <?php if (is_paged()) { ?> <style> #comic{display:none;} .post-frontpage{display:none;} </style> <?php } ?> <?php $wp_query = null; $wp_query = $temp; ?> </div> <?php get_sidebar('right'); ?> <div class="clear"></div> </div> <?php get_footer(); ?>
The topic ‘New Posts Not Showing Up’ is closed to new replies.