Commenting A Code – Giving Errors
-
Hello guys,
I was assigned to do a simple BLOG and took a little time in modifying some of the codes. I’m really not good with coding, i do trial and error. However, I stumbled upon a very confusing part wherein I tried to comment on something and still it shows up on the post. Worse thing is, it’s resized.
This is the blog link sample: http://www.studiobbi.com/?p=54
If you look at the very bottom of the page, you will see a TAB which is touching the commenting area box. (see figure 01) I tried to open the “single.php” file and comment on the code that enables that tab to appear. (pls see figure 02. After saving it, the new look is messed up (see figure 03). I just wanted to achive this kind of look. (see figure 04).
Below is the exact code of the “single.php” file wherein I am editing/modifying.
<?php get_header(); ?>
<div id=”content” style=”padding-top:50px;”>
<div id=”main” style=”width:960px;”>
<div class=”box1 clearfix”>
<div class=”post clearfix”><?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<h2><?php the_title(); ?></h2>
<p class=”txt0″><?php edit_post_link(__(‘Edit’,woothemes), ”, ”); ?> // <?php the_time(‘F jS, Y’) ?> // <?php the_category(‘, ‘) ?></p><?php the_content(); ?>
<?php endwhile; endif; ?>
</div>
</div>
<?php comments_template(); ?>
</div><!– / #main –>
<?php get_sidebar(); ?>
</div><!– / #content –>
<?php get_footer(); ?>
The topic ‘Commenting A Code – Giving Errors’ is closed to new replies.