Sorry, I cannot figure out what the errors are refering to. Any tips on them would be greatly appreciated.
It says I am calling a body tag, but I only see one place where I am calling the tag.
Any other ideas are greatly appreciated.
Any other ideas are greatly appreciated.
there are no other ideas at this stage;
as long as those validation errors exist, there is no point of looking for any other reasons of the ‘wandering’ widget.
the ‘body’ tag error refers to the fact that there is some html code before the one <body> tag;
check in all your templates (possibly in header.php) where the code section starting with <div class="header-images" > and ending with </nav><!-- #site-navigation --> is located; then move it to the line after the <body> tag.
then re-run the validation test.
this should result in another set of reported errors.
also double-check your ‘html commenting’ which you have done in the comment section (possibly comments.php or the comments callback in functions.php ?);
this is result how it is what shows in the browser:
<div id="comments" class="comments-area">
<!--
</div><!-- #comments .comments-area -->
</div><!-- #content -->
It was the comment file.
Well played. Not sure why it only affected some pages. But, now I need a method to turn off the comments. I know there is meant to be a basic way to do this, but I don’t see it.
I am clearly missing the obvious. Can you share with me a method to disable comments alchymyth?
thanks
you can turn comments off, by going to:
– dashboard – settings – discussion – untick ‘Allow people to post comments on new articles’
(will only take effect for posts and pages created after the changes)
– dashboard – posts – all posts – quickedit below each post title; untick ‘allow comments’
(the same for pages)
– remove the code <?php comments_template( '', true ); ?> from single.php, page.php, image.php, and /page-templates/full-width.php (in the case of Twenty Twelve)