Questions tagged [characters]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
6 votes
4 answers
6k views

excerpt in characters

I have code in functions.php: function string_limit_words($string, $word_limit) { $words = explode(' ', $string, ($word_limit + 1)); if(count($words) > $word_limit) array_pop($words); ...
Marcin's user avatar
  • 69
4 votes
2 answers
13k views

How can I stop TinyMCE from converting my HTML entities to characters?

Here's the problem: I paste the HTML entity code for, let's say, a service mark (℠) into the HTML view of the editor. As soon as I switch to the "visual" tab, my entity code is turned into ...
MathSmath's user avatar
  • 5,578
3 votes
3 answers
18k views

strange characters in wordpress website displayed for visitors [closed]

Apparently a lot of people complain that they only see random letters and characters: My biggest problem is that I can't reproduce the problem on ANY of my devices! Not on my Windows XP laptop, not ...
japanworm's user avatar
  • 567
19 votes
2 answers
6k views

If a hacker changed the blog_charset to UTF-7 does that make WordPress vulnerable to further attacks?

I had a client who got hacked recently and I noticed that there were weird characters appearing on her site, like  and Æ. It turns out that the hackers changed the blog_charset to UTF-7 in the ...
Jennette's user avatar
  • 201
2 votes
3 answers
4k views

Divide Post content into separate divs for every 500 characters (or any other character counts)

What is the best method for intercepting the_content of a post (for a single post page) and dividing the_content into sections of 500 characters (or any other number of characters), and then ...
user2655393's user avatar
5 votes
2 answers
18k views

Special characters in WordPress UTF-8 [closed]

I have a problem regarding special characters that are appearing messed up on the front-end . mainly the get converted to question marks, or something like �?) Example - Frédèric becomes Fr�d�ric. ...
user avatar
1 vote
1 answer
2k views

Arabic Characters in URL returns 404 Error

I have Arabic Characters in my URLs of my site. After setup my new VPS with LAMP and importing my local site into it, my Arabic URLs return 404 error and show me none-scene characters like below: ...
Adnan's user avatar
  • 111
0 votes
1 answer
5k views

Set minimum number of characters in the search

I would like to establish a minimum number of characters in the search. On sites that have many entries, spammers tend to type very short terms as "a" or "of", and the server collapses while trying to ...
BobGCA2's user avatar
  • 317