[resolved] "Single" page doesn't validate (3 posts)

  1. caestelle
    Posted 7 years ago #

    Ok, so I am fairly new to wordpress, but not web development. Anyway, I created a custom theme and all is well, except my "single" page(individual article view) doesn't validate. I get the following message when I try to validate with W3C:
    "Sorry, I am unable to validate this document because on line 100 it contained one or more bytes that I cannot interpret as utf-8 (in other words, the bytes found are not valid values in the specified Character Encoding). Please check both the content of the file and the character encoding indication.

    The error was: utf8 "\x94" does not map to Unicode"

    The error goes away when I remove this function call:
    <?php comments_template(); ?>

    Which would be fine except I need that to receive comments.

    Here is an example post:

    Any ideas??

    Any help is appreciated!! THANKS!! caestelle

  2. moshu
    Posted 7 years ago #

    You are using something wrong to edit your template files and have "fancy" quotes around your div name in line 100.

  3. caestelle
    Posted 7 years ago #

    Resolved: I'm not sure how that happened, but retyping that section seems to have fixed it. I use Notepad ++ to edit and the is the first time I have had a problem.

    Oh well...Thanks for your help!!

Topic Closed

This topic has been closed to new replies.

About this Topic