This is supposed to output the symbol for the html character code:
…
which looks like ‘…’ (without the quotes).
This is probably a typo somewhere in your theme or a Plugin that does something extra with comments.
Thank you dgwyer. I am not skilled in WP. Is there anyway to fix this? Do I need to deactivate each plugin one at a time to find the solution, or delete each one – one at a time to see if this fixes it?
Temporarily deactivate your Plugins, see if the problem persists. If so, the it is an issue with your theme code.
Hi dgwyer, first, thank you for your support here, much appreciated. I deactivated all the plugins, but still had the issue. Is there another solution?
I just experimented with another theme, and the problem did not exist. Do you know if I can fix this in my theme?
Try taking a look in your comments.php theme file.
Here is what I found in the comments.php
I found those characters there.
<?php if ($comment->comment_type == “comment”) comment_author_link();
else {
strlen($comment->comment_author)?$author=substr($comment->comment_author,0,25).”&hellip“:$author=substr($comment->comment_author,0,25);
echo ‘comment_author_url.'”>’.$author.’‘;
}
I have been searching all over the net for a solution for this, but nothing. Can anyone help…..please!
I would just take it out and if it worked fine. If not I would put it back in again. Thats how I do half my css – trial and error.
Just make sure you save either the original file or the code you are taking out and know where it goes.
Thank you kmessinger. My problem, I am not knowledgeable in WP. I am not even sure what to take out. Can you elaborate on this. Thank you.
Take out &hellip
or add a semi-colon so it becomes …
. Whatever works best for you.
Thank you dgwyer. I tried both ways, but both times, it made the web page turn blue and unreadable. Unless I did it wrong. I did keep the quotations around the word hellip. Should I take them out?
Try replacing the whole following line:
strlen($comment->comment_author)?$author=substr($comment->comment_author,0,25)."&hellip":$author=substr($comment->comment_author,0,25);
with
strlen($comment->comment_author)?$author=substr($comment->comment_author,0,25)."…":$author=substr($comment->comment_author,0,25);
or
strlen($comment->comment_author)?$author=substr($comment->comment_author,0,25):$author=substr($comment->comment_author,0,25);
dgwyer, thank you so much for sharing your expertise, I am quite impressed. I tried the first suggestion, and it worked like a charm. Your support was much appreciated. Although my design is older, I still like it a lot, and it meets my needs. So…thanks.