what wrong with the comments?
i have a test that looks all OK…
@kmvan
There’s nothing wrong with the comments rather the content is outside at the very top.
@andrewlong365
Did you modify/create that template yourself? The HTML for your post content is in the wrong place.
@joseph
Yes, I modified it myself, using a guide i found on the internet. I’m very new to this so still trying to get my head around it really.
Could you be so kind as to tell me which files need editing or where to put the html for the post content.
Thank you.
maybe u can paste the codes of single.php in here.
You need to edit which ever file that’s been used to display that page. My guess is page.php.
Once you find it, remove the following which are located after </head>
<div id="container">
<div id="content" role="main">
Find the block of code that’s displaing the following HTML and copy paste it between <td width="440" align="left" valign="top"> and <div id="comments">
<div id="nav-above" class="navigation">
<div class="nav-previous"></div>
<div class="nav-next"><a href="http://millersandlong.com/scrapbook/?p=10" rel="next">What if historical figures had a Facebook? <span class="meta-nav">→</span></a></div>
</div><!-- #nav-above -->
<div id="post-1" class="post-1 post type-post hentry category-uncategorized">
<h1 class="entry-title">Hello world!</h1>
<div class="entry-meta">
<span class="meta-prep meta-prep-author">Posted on</span> <a href="../Copy of twentyten/http://millersandlong.com/scrapbook/?p=1" title="7:09 pm" rel="bookmark"><span class="entry-date">October 28, 2010</span></a> <span class="meta-sep">by</span> <span class="author vcard"><a class="url fn n" href="../Copy of twentyten/http://millersandlong.com/scrapbook/?author=1" title="View all posts by millersa">millersa</a></span>
</div><!-- .entry-meta -->
<div class="entry-content">
<p>Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!</p>
</div><!-- .entry-content -->
<div class="entry-utility">This entry was posted in <a href="http://millersandlong.com/scrapbook/?cat=1" title="View all posts in Uncategorized" rel="category">Uncategorized</a>. Bookmark the <a href="../Copy of twentyten/http://millersandlong.com/scrapbook/?p=1" title="Permalink to Hello world!" rel="bookmark">permalink</a>.
</div><!-- .entry-utility -->
</div><!-- #post-## -->
<div id="nav-below" class="navigation">
<div class="nav-previous"></div>
<div class="nav-next"><a href="http://millersandlong.com/scrapbook/?p=10" rel="next">What if historical figures had a Facebook? <span class="meta-nav">→</span></a></div>
</div><!-- #nav-below -->
@joseph
I’m at work now but will give this a try when i get home tonight. Will let you know the result.
Thanks for the help.
If you want me to be more precise on what and where to move, submit the code of the file in pastebin and post the link here so I can have a look.
Joseph,
Been playing around with what you said and I still can’t correct the problem. Here is a link to page.php:
http://pastebin.com/e5gURfvt
Here is a link to comments.php:
http://pastebin.com/2pesiHrH
I’m not really sure where else to look to correct this.
Thank you
Actually my mistake. It can’t be page.php since it’s Hello World. Can you post your single.php?
BTW, you should remove <div id="content" role="main"><div id="container"> on line 55 in page.php as it’s duplicated.
Thanks for the tip, i have erased that from line 55.
Here is the code for single.php:
http://pastebin.com/MGq5GHwu
thanks.
The reason the post content was in the wrong place is because you’ve picked the wrong file to modify. What you did on comments.php should have been done on single.php
I’ve moved the code around for both files:
single.php
comments.php
@joseph
Thank you very much for your help. The problem has been corrected and seems to be functioning fine now.
I genuinely appreciate you taking time out to help me like that.