Title: Validation wordpress, can&#8217;t find code
Last modified: August 19, 2016

---

# Validation wordpress, can’t find code

 *  Resolved [rhythmofthecosmos](https://wordpress.org/support/users/rhythmofthecosmos/)
 * (@rhythmofthecosmos)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/validation-wordpress-cant-find-code/)
 * Hi,
 * I have a error
 * Line 215, Column 20: end tag for “small” omitted, but OMITTAG NO was specified
 * <small></div> <div class=”textwidget”></div>
 * ✉
 * I know how to fix this, but I can’t find it in my code.. it’s to do with the 
   sidebar and shows up in the source but not in the sidebar code..
 * Where is it? How can I fix it?
 * Thanks

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/validation-wordpress-cant-find-code/#post-1208927)
 * Try looking at the register_sidebar function within your theme’s functions.php
   file.
 *  Thread Starter [rhythmofthecosmos](https://wordpress.org/support/users/rhythmofthecosmos/)
 * (@rhythmofthecosmos)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/validation-wordpress-cant-find-code/#post-1208947)
 * how do I view this? I only have a functions.php file..
 * This function file does mention the register_sidebar but Ican’t see anyway of
   viewing this to edit code..
 * Thanks
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/validation-wordpress-cant-find-code/#post-1208971)
 * You don’t view the function, as such. You just edit the code – if necessary –
   and then view the results in your sidebar. What’s in the register_sidebar function?
   It also might be worth dropping a copy of your sidebar template file into the
   [WordPress pastebin](http://wordpress.pastebin.ca/) in case the issue is in there.
 *  Thread Starter [rhythmofthecosmos](https://wordpress.org/support/users/rhythmofthecosmos/)
 * (@rhythmofthecosmos)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/validation-wordpress-cant-find-code/#post-1208989)
 * Am sorry, I don’t follow..
 * From the source of my site
 * I have the following code
 *     ```
       flickrBadge({userId:'39535358@N02',rows:4,cols:3,size:60,transition:'fade',tags:'',magisterLudi:'709bdbf9ed2f4312a1e3c53fda29d85a'});  </script>
         <br /><small></div>			<div class="textwidget"></div>
       ```
   
 * The 
   <small></div> needs validating.. however, I can’t find this code..
 * These are in my sidebar where I have looked in but I can’t find the above code.
 * I have looked at my functions.php file and this does not contain the code am 
   looking for.
 * am sorry if am misunderstanding you.. am still learning how wordpress sets everything
   up
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/validation-wordpress-cant-find-code/#post-1209001)
 * Drop a copy of your theme’s functions.php file and sidebar.php file into the 
   WordPress pastebin
 *  Thread Starter [rhythmofthecosmos](https://wordpress.org/support/users/rhythmofthecosmos/)
 * (@rhythmofthecosmos)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/validation-wordpress-cant-find-code/#post-1209009)
 * Hi,
 * Am I right in thinking I just post the pastebin link that it gives me here to
   save space? av never heard of pastebin before you see..
 * [http://wordpress.pastebin.ca/1562233](http://wordpress.pastebin.ca/1562233)
 * [http://wordpress.pastebin.ca/1562236](http://wordpress.pastebin.ca/1562236)
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/validation-wordpress-cant-find-code/#post-1209011)
 * > Am I right in thinking I just post the pastebin link that it gives me here 
   > to save space?
 * Got it in one! Saves filling up threads with large blocks of code and actually
   makes the code easier to read in some cases.
 * I can see that the register_sidebar function in your functions.php is fine. No
   problems coming from that.
 * Checked your sidebar and that’s also OK. Just to stop this being a useless exercise,
   I’ve dropped a very slightly amended copy of your sidebar.php into [http://wordpress.pastebin.ca/1562248](http://wordpress.pastebin.ca/1562248).
   Tweaked an image alt & title text and your Donate link to give you slightly better
   SEO.
 * In the meantime, I’ve gone back to your Home page and narrowed the error down
   to the flash-flickr-badge-widget. It’s this widget that is generating the faulty
   markup. The options are:
 * 1. Stick with it and wrote the error off as “not fixable”
    2. Find another similar
   plugin/widget that doesn’t produce validation errors 3. Edit the plugin yourself.
   4. Report the error to the plugin author. It’s documented as producing valid 
   XHTML, so he may well be interested in sorting any any problems.
 * [http://www.erik-rasmussen.com/blog/2006/09/14/flash-flickr-badge-widget-for-wordpress](http://www.erik-rasmussen.com/blog/2006/09/14/flash-flickr-badge-widget-for-wordpress)
 *  Thread Starter [rhythmofthecosmos](https://wordpress.org/support/users/rhythmofthecosmos/)
 * (@rhythmofthecosmos)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/validation-wordpress-cant-find-code/#post-1209015)
 * Ahhhh.. wicked..
 * many thanks for your help…
 * I shall have to find another flickr sidebar widget then to clean this up.. Do
   you suggest any?
 * Thanks again 🙂
 *  Thread Starter [rhythmofthecosmos](https://wordpress.org/support/users/rhythmofthecosmos/)
 * (@rhythmofthecosmos)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/validation-wordpress-cant-find-code/#post-1209023)
 * changes made.. two less errors 😉
 * Thanks mate 🙂

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

The topic ‘Validation wordpress, can’t find code’ is closed to new replies.

## Tags

 * [code](https://wordpress.org/support/topic-tag/code/)
 * [edit](https://wordpress.org/support/topic-tag/edit/)
 * [validation](https://wordpress.org/support/topic-tag/validation/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 9 replies
 * 2 participants
 * Last reply from: [rhythmofthecosmos](https://wordpress.org/support/users/rhythmofthecosmos/)
 * Last activity: [16 years, 9 months ago](https://wordpress.org/support/topic/validation-wordpress-cant-find-code/#post-1209023)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
