WordPress.org

Support

Support » How-To and Troubleshooting » Diamond with question mark in it

Diamond with question mark in it

  • It looks like somewhere along the way, the double right/left arrows that are next to “previous”/”next” have been replaced by a diamond with a question mark in it. I assume this means something like that the system can’t find that character. Any thoughts on how to fix it?

Viewing 15 replies - 1 through 15 (of 17 total)
  • I’ll add that the diamond thing is in Firefox. IE just puts a square.

    It’s your machine. I see the double arrows, also called quotation marks: « and »

    What? Quotation marks? I’m talking about the things that look something like >> when they are correct.

    whooami

    @whooami

    Member

    I see >>

    What? Quotation marks?
    Oh, yes. You need to learn a lot about classic typography… before questioning the validity of my answers:
    http://en.wikipedia.org/wiki/Guillemets

    Hmm, I guess you’re right. So, how do I fix my machine? I could see them on wikipedia, just not on my wordpress install.

    Now it’s my turn for “hmm”…
    If you could see them on wikipedia, you should be able to see them everywhere. It must be something encoding related, just can’t figure out what 🙁
    Do you see it here: « and » ?

    Didn’t write your theme on a Mac did you?

    Yes, I can see it above. No, no Mac involved. Thanks.

    What does it say in the head of your site? Wikipedia uses
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

    Yes it says: <meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″ />

    I think this is the code in question. Seems okay to me I guess:

    <div class=”navigation”>
    <div class=”alignleft”><?php previous_post_link(‘« %link’) ?></div>
    <div class=”alignright”><?php next_post_link(‘%link »’) ?></div>
    </div>

    Okay, it’s because you’re trying to use the actual (displayed) quotation marks, rather than the HTML entities. Substitute the relevant bits of navigation with:

    <?php previous_post_link('&laquo; %link') ?>
    <?php next_post_link('%link &raquo;') ?>

    No, I don’t think so. He’s just not able to post code here and in that case it renders.
    See my posts above: in one I used the backticks ` – while in the second one I didn’t, when I tested if can see them rendered.
    &raquo; <– code posted correctly
    » <— code posted incorrectly (no backticks)

    No, it’s definitely not a computer issue, it’s a coding and/or theme issue.

    First thing I would do is go in and take out the &laquo; and &raquo; code. Save the file and refresh the page. Then try to put in &rarr; and &larr; instead. See if those HTML codes work.

    If they do then go back and put in laquo; again. I’ve run into this problem before and in my experience there’s not a simple solution. It’s just kinda one of those WTF problems.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Diamond with question mark in it’ is closed to new replies.
Skip to toolbar