Title: Wandering widget
Last modified: August 20, 2016

---

# Wandering widget

 *  [Powerful1](https://wordpress.org/support/users/powerful1/)
 * (@powerful1)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/wandering-widget/)
 * I have a widget that is showing up in the wrong place on **some** of my pages,
   but not all.
 * I am not sure what I am missing, but I bet it is obvious.
 * [http://www.hollywood.kathleensharp.com/directors/](http://www.hollywood.kathleensharp.com/directors/)
 * Thanks

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/wandering-widget/#post-3283031)
 * start by fixing the validation errors;
    [http://validator.w3.org/check?uri=http%3A%2F%2Fwww.hollywood.kathleensharp.com%2Fdirectors%2F&charset=%28detect+automatically%29&doctype=Inline&group=0](http://validator.w3.org/check?uri=http%3A%2F%2Fwww.hollywood.kathleensharp.com%2Fdirectors%2F&charset=%28detect+automatically%29&doctype=Inline&group=0)
 * [http://codex.wordpress.org/Validating_a_Website](http://codex.wordpress.org/Validating_a_Website)
 * there is some code before the `<body>` tag; some nested html commenting; etc
 *  Thread Starter [Powerful1](https://wordpress.org/support/users/powerful1/)
 * (@powerful1)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/wandering-widget/#post-3283048)
 * 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.
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/wandering-widget/#post-3283049)
 * > 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’ ](http://www.w3schools.com/tags/tag_comment.asp)
   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 -->
       ```
   
 *  Thread Starter [Powerful1](https://wordpress.org/support/users/powerful1/)
 * (@powerful1)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/wandering-widget/#post-3283051)
 * 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
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/wandering-widget/#post-3283052)
 * 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)

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Wandering widget’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [Michael](https://wordpress.org/support/users/alchymyth/)
 * Last activity: [13 years, 6 months ago](https://wordpress.org/support/topic/wandering-widget/#post-3283052)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
