WordPress.org

Ready to get started?Download WordPress

Forums

Diamond with question mark in it (18 posts)

  1. mastiff
    Member
    Posted 6 years ago #

    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?

  2. mastiff
    Member
    Posted 6 years ago #

    I'll add that the diamond thing is in Firefox. IE just puts a square.

  3. moshu
    Member
    Posted 6 years ago #

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

  4. mastiff
    Member
    Posted 6 years ago #

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

  5. whooami
    Member
    Posted 6 years ago #

    I see >>

  6. moshu
    Member
    Posted 6 years ago #

    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

  7. mastiff
    Member
    Posted 6 years ago #

    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.

  8. moshu
    Member
    Posted 6 years ago #

    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 » ?

  9. Len
    Member
    Posted 6 years ago #

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

  10. mastiff
    Member
    Posted 6 years ago #

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

  11. jvchamary
    Member
    Posted 6 years ago #

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

  12. mastiff
    Member
    Posted 6 years ago #

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

  13. mastiff
    Member
    Posted 6 years ago #

    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>

  14. jvchamary
    Member
    Posted 6 years ago #

    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;') ?>
  15. moshu
    Member
    Posted 6 years ago #

    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)

  16. frotzed
    Member
    Posted 6 years ago #

    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.

  17. Edward Beckett
    Member
    Posted 6 years ago #

    Uhhh ... this really isn't a coding issue per se ... but a character encoding problem with your browser ... If in fact you using HTML characters for your right angle quotes ... then the problem is with your browser ... not your computer ... or the "code"

    I'll add that the diamond thing is in Firefox

    If that's still the case and you are on windows ... In Firefox go to Menu >> View >> Character Encoding and set your character encoding correctly ... most likely western ISO 8859-1 OR UTF-8 should do the trick ...

  18. aukyoteam
    Member
    Posted 5 years ago #

    You know, I've never come across a forum post here on WordPress.org that made me a tad bit angry, but this one did. First off, let me say that Edward is correct and anyone who spent five minutes searching on google.com for the solution would have known this. Secondly, I can't believe a moderator would be so pompous and full of themselves as to say "Oh, yes. You need to learn a lot about classic typography... before questioning the validity of my answers:". Classic Typography? Do you think because you're a moderator that you can throw around absolutely idiotic statements when the question at hand was delivered in a nice, clean, intelligent type way? You should be a bit more thankful for having such users who are as swift at getting an exact question out and just trying to dig out a solution.

    By the way, thank you Edward.

Topic Closed

This topic has been closed to new replies.

About this Topic