Need Help Setting Up single.php
-
Hello.
single.php is the file for what is shown when a permalink is clicked?
Can anyone help me set up my single.php file?
When I click a permalink for a post, all the posts show. Pretty much the same as index.php but with the URL of the post.
Here is my single.php code:
<?php get_header(); ?> <div id="Wrapper"> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <?php the_content(); ?> <?php comments_template(); ?> <?php endwhile; else: ?> <p><?php _e( 'Sorry, no posts matched your criteria.', 'PreviouslyLostLamp' ); ?></p> <?php endif; ?> </div> <?php get_footer(); ?>The URl to the web page is http://www.LoveSpelles.com
Please help.
Thank you,
Andrew
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Need Help Setting Up single.php’ is closed to new replies.