• Resolved rhythmofthecosmos

    (@rhythmofthecosmos)


    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)
  • Try looking at the register_sidebar function within your theme’s functions.php file.

    Thread Starter rhythmofthecosmos

    (@rhythmofthecosmos)

    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

    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 in case the issue is in there.

    Thread Starter rhythmofthecosmos

    (@rhythmofthecosmos)

    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

    Drop a copy of your theme’s functions.php file and sidebar.php file into the WordPress pastebin

    Thread Starter rhythmofthecosmos

    (@rhythmofthecosmos)

    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/1562236

    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. 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

    Thread Starter rhythmofthecosmos

    (@rhythmofthecosmos)

    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

    (@rhythmofthecosmos)

    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.