single
-
Hello,
I’d like to create my own theme and don’t know what’s the problem with my single.php file! Can somegoodbody help me with this issue?
This is the code that I have, now when I click on the post title, the page becomes completly white. I can’t see the problem…
[ Moderator note: Code fixed, please wrap code in backticks or use the code button. ]
<?php get_header(); ?> <div class="container" id="content"> <div class="row"> <div class="col-xs-8"> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <h2><a>" rel="bookmark"><?php the_title(); ?></a></h2> <?php echo get_avatar( $comment, 32 ); ?> <small>Posted on <?php the_date(); ?> by <?php the_author(); ?></small> <div class="post"><?php the_content(__('(more...)')); ?></div> <p class="postMeta">Category: <?php the_category(', ') . " " . the_tags(__('Tags: '), ', ', ' | ') . edit_post_link(__('Edit'), ''); ?></p> <hr> <?php comments_template(); endwhile; else: ?> <p>Sorry, no posts matched your criteria.</p> </div> <div class="col-xs-4"> <?php get_sidebar(); ?> </div> </div> </div> <?php get_footer(); ?>
Thanks for your help!!
Toni
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘single’ is closed to new replies.