posts not showing up
-
Hey there,
I’m having a bit of an issue with the theme, I’m using two plugins to sort out the home page posts from the blog page posts:
Posts in Page plugin and WP Filter Post Category plugin
the posts are showing up on the blog page but when you go to it no text shows up, I’ve already tried deactivating all the plugins but still no effect.I switch some code around in the loop-single.php
<?php if( have_posts() ) : the_post(); ?> <div class="title-container"> <h1 class="entry-title"><?php the_title(); ?></h1> </div><!-- .title-container --> <div id="container"> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <?php get_template_part( 'content', get_post_format() ); ?> </article><!-- .post --> <?php get_sidebar(); ?> <div class="clear"></div> </div><!-- #container --> <?php endif; ?>
to
<?php if( have_posts() ) : the_post(); ?> <div class="title-container"> <h1 class="entry-title"><?php the_title(); ?></h1> </div><!-- .title-container --> <div id="container"> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <div id="content"> <section class="entry-content"> <?php the_content(); ?> <div class="clear"></div> <?php wp_link_pages(); ?> </section><!-- .entry-content --> <?php comments_template(); ?> </div><!-- #content --> </article><!-- .post --> <?php get_sidebar(); ?> <div class="clear"></div> </div><!-- #container --> <?php endif; ?>
and it fixed the blog posts but it broke the posts on the home page which is really interesting.
any help or insight would be greatly appreciated.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘posts not showing up’ is closed to new replies.