Need help with single.php
-
For some reason when I click on a post and I’m not logged in, the page gets screwed up. But when logged in, it’s all fine.
Please I need some help fixing this issue
example https://www.facethemusik.net/2008/03/05/new-theme/<?php get_header(); ?> <div id="text"> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <div class="post" id="post-<?php the_ID(); ?>"> <div class="posttop"><div class="postdate"><div class="dateday"><?php the_time('d') ?></div><div class="datemonth"><?php the_time('M') ?></div><div class="dateyear"><?php the_time('Y') ?></div></div> <div class="pub"><h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2> <div class="postedby">posted by <span class="authora"><?php the_author() ?></span></div><div class="fileunder">file under <?php the_category(', ') ?></div> <div class="editbutton"><?php edit_post_link('Edit'); ?></div></div> <div class="cleaner"></div> </div> <?php the_content('Read the rest of this entry »'); ?> </div> <?php endwhile; ?> <div id="nav"> <div class="alignleft"><?php next_posts_link('« Previous Entries') ?></div> <div class="alignright"><?php previous_posts_link('Next Entries »') ?></div> </div> <?php comments_template(); ?> <?php else : ?> <h2>Not Found</h2> <p>Sorry, but you are looking for something that isn't here.</p> <?php endif; ?> </div> <?php get_sidebar(); ?> <?php get_footer(); ?>
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Need help with single.php’ is closed to new replies.