The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [characters]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4
votes
5answers
21k views

Strange characters - despite everything being UTF-8

Not sure why this thread was closed, but this is the same issue inflicting many people. All my WP config settings are in order: //define('DB_CHARSET', 'utf8'); //define('DB_CHARSET', '...
2
votes
1answer
445 views

How can I stop wp_update_post messing up HTML example code?

I'm showing little pieces of example HTML/PHP code on the frontend (with syntax highlighting). The entries are displayed as FAQ custom posts, and have a plugin (CMS Tree page) to alter the menu order, ...
0
votes
1answer
467 views

Greek characters only showing in certain circumstances

I would like a Greek word (Ἀπὸ) to render on a page like it rendered right here. If I copy Ἀπὸ directly to a page via the Wordpress interface, it shows just fine in both the interface and on the ...
0
votes
1answer
663 views

character encoding problem in custom template

I am working on a website where I am using a custom template. My site having German character. When I use the visual editor(without template) it displays perfectly. Link But when I am using a custom ...
0
votes
0answers
13 views

Character encoding issues on some text

I transitioned a website over to another host. I am having issues with the database. It is encoded in latin1 I believe. Here is the table: However, on the post excerpt, the text looks like this: ...
0
votes
0answers
17 views

Limit The Character's Length In Pirate Form's Message Field In WordPress

In my WordPress Website, I am using Pirate Forms Plugin for showing a contact form on my Website. It works fine and everything is ok. However, I want to allow my users to be able to put a limited ...
2
votes
5answers
1k views

How to stop WordPress from changing ellipsis into a pre-composed triple-dot glyph?

When I type an ellipsis composed of three separate dots ..., WordPress displays the pre-composed triple-dot glyph … instead. Is there any way to prevent WordPress from substitution the three dots?
0
votes
1answer
22 views

Author name length character limit?

In comments, I want to limit author names. For example, the author's name should be no more than 10 characters. I'm looking for a way to do this. Thank you very much in advance.
0
votes
0answers
42 views

What charset/collate should we set for our custom database table?

I've seen this nice topic, but my question might be slightly different. Is it good practice to set your custom DB table (i.e. for plugin, which saves utf8 text) charset explicitly , like: CREATE ...
19
votes
2answers
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 ...
1
vote
1answer
35 views

CPT Post Title Permalink: Replace “@” (or all special characters) with dash “-” instead of just removing

I have Custom Post Type "Email", where the Post Title is always going to be an email address, ie: example@domain.com The problem I am having is the "@" is being removed in the permalink: ../...
1
vote
1answer
2k views

WordPress turns HTML code to HTML entities

I created a new wordpress page and added this into the Text tab (NOT the visual tab. The visual tab is disabled): <div></div> When I click Publish, the code turns into this: &lt;...
1
vote
1answer
33 views

WordPress update messed special characters

I updated WordPress core to the latest version and the result was less than perfect. All special font characters got messed up (site language is Polish) and it happened inside the admin panel too. I, ...
0
votes
1answer
1k views

Icons (non-Latin symbols) displaying incorrectly

This is regarding a Wordpress site, v4.4.2. The issue has been occurring for some months. It use to only occur on Firefox (no idea why). As of very recently it occurs on all browsers (I've checked ...
0
votes
1answer
1k views

Limit the content entered by editor or admin in the WP admin editor window

I would like to get some help in Limiting the content entered by editor or admin in the WP admin editor window by words and based on the categories as well for example when posting in political ...
2
votes
2answers
8k views

Remove empty lines (&nbsp;) when author updates their post

Whenever adding an empty line between paragraphs using TinyMCE, the &nbsp; character entity is added. How can I strip the content of all instances of this character whenever an author updates ...
0
votes
0answers
838 views

Character encoding issue - black diamond question marks on imported post excerpts

I am having some issues with character encoding on imported posts from an old Wordpress install. I am getting black diamonds with question marks on some of the posts I have imported to a new install. ...
1
vote
1answer
1k 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: ...
1
vote
4answers
8k views

why some permalinks adding characters/ruining links

I am using a gallery to link to some sub categories. Some of the links within the category work exactly how they should. However there are a few that are adding strange characters on the end, I've re-...
4
votes
4answers
4k 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); ...
0
votes
0answers
63 views

How to write in MySQL more characters in user_nicename

I install the plugin on the site for registration in Russian(Allow Cyrillic Usernames) and now I need to change in the sql database, in the table wp_users, in the column user_nicename permission to ...
-2
votes
1answer
71 views

How to make sure the letters 'pez' do not convert to a fish symbol? [closed]

I have one field in a profile that converts the letters 'pez' into a fish symbol. It doesn't happen anywhere else throughout the site. Any suggestions on why this is happening and how to fix this?
6
votes
1answer
438 views

Problem with Hebrew characters in username

I wrote a plugin to enable hebrew characters in usernames. This is the full code: add_filter ('sanitize_user', 'hu_sanitize_user', 10, 3); //Overrides the Wordpress sanitize_user filter to allow ...
0
votes
1answer
317 views

How can I allow Arabic usernames in WordPress

I want to let users put there username in Arabic when they register a new account, I tried a lot of methods put problem still unsolved
1
vote
4answers
5k views

How do I remove weird characters in text?

Help, my site is suddenly populated with weird characters, like this: “Do what you love and do it often,†“If you don’t like your job, quit,†and “Travel often; Getting lost will help you ...
1
vote
1answer
67 views

Hebrew Characters Have gone bad

I have read this question: I have tried the following: ALTER database mydbname CHARACTER SET utf8 COLLATE utf8_general_ci; ALTER table ext_hebrewText CHARACTER SET utf8 COLLATE utf8_general_ci; ...
1
vote
0answers
292 views

Is there any way to use google input tool or any other language keyboard with WordPress [closed]

I want to type word in English and it should be appear in other language like Google Input Tool do (actually want to type English and need to convert word in to Sinhala). Is there any plugin or any ...
-3
votes
2answers
2k views

Limit username to specific characters (A-Z and 0-9)

How do I limit the username field upon registration to A-Z and 0-9 for single site? So no spaces, hyphens, underscores, dots etc.
0
votes
1answer
3k 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 ...
4
votes
1answer
5k views

How to Add Customizer Setting in Child Theme

I would like to add an option to the Customizer of my Child Theme, but I am having some trouble implementing it. I am pretty sure my problem is connected to the name of the arguments I am calling, but ...
1
vote
1answer
1k views

Adding special characters to slug?

Is it possible to prevent WP from stripping out certain characters when customizing a URL? For example, affiliate ids usually have something like ?id=something. Customizing a content's slug with ...
1
vote
1answer
443 views

RewriteRule accepts numbers but not letters in tag

RewriteRule only works with numbers I currently try to get the link example.com/subdir/StackExchange/ to act as a link with e.g. an additional website tag: example.com/subdir?website=...
0
votes
1answer
207 views

Wordpress character set issue

I'm currently migrating a wordpress site to a live server. When trying to import my database via phpMyAdmin I run across the following error below: Error CREATE TABLE `wp_commentmeta` ( `...
-1
votes
1answer
450 views

Turkish Character Problem on mailing

I am using Woocommerce plugin for my e-commerce site. For mailing I've installed Postman SMTP. I could not handle with Turkish characters on ongoing e-mails. Such characters "Şşğ..." on mail body I ...
1
vote
0answers
1k views

Change/Replace keyboard character on keypress while writing new post

Before opening this thread in here, I was searching all the day today a way to change/replace 2 keyboard keys when writing a new post on wordpress. What I need is, when an editor/admin press [ on the ...
1
vote
0answers
220 views

Adding character count and limit in comments, modifying labels and fields - jetpack

I am trying to configure Jetpack comments as following: I want to change the labels on the comment fields, but I have no idea where to find the code and edit the tags (they are also translated so I ...
0
votes
1answer
160 views

Ampersand breaking Widget title

When adding an ampersand (&) to the Text Widget title, the title breaks at the ampersand position (frontend). So: 'me, myself & I' becomes: 'me, myself ' The ampersand is being stored (...
4
votes
1answer
290 views

(un)wptexturize() — is it possible?

I have some text stored in a string $text that's filtered through the_content and therefore, wptexturize(). wptexturize() is a function that replaces various characters into more prettier ones. Is ...
0
votes
1answer
92 views

Restrict characters in comment section

I am using Travelify theme and I am having some trouble restricting the characters in the comment section (textarea) or where the name or mail goes into the input tags. I read some articles about ...
0
votes
1answer
356 views

Weird characters displayed when importing WordPress MySQL db

I was thinking that it may be the collation, but I have no way of know what the production db collation is. The local one has been changed between UTF8_bin and UTF8_general_ci, to no avail. I'm seeing ...
2
votes
1answer
469 views

Character Encoding for wp_options

I've been looking for a solution to my problem for a while now. Under my wp_options page I have the following serialized entry saved: a:17:{s:11:"date_format";s:5:"d/m/Y";s:15:"currency_symbol";s:1:"...
0
votes
1answer
6k views

What's the Max character limit for a post in WordPress?

Very software out there has a limit for character but I haven't seen any such limit for a post in WordPress. So I need to know if there is actually a Max character limit for a post in WordPress or not?...
0
votes
1answer
621 views

Preg_Match(): compilation failed unknown property name

I'm having a problem with a wordpress theme I bought but their support is terrible. On every post page, I receive this error: Warning: preg_match(): Compilation failed: unknown property name after \...
0
votes
1answer
324 views

How to Disable UNICODE slug?

I am inserting the post titles in UNICODE, but i dont want to save in unicode UTF8 characters. Instead, i want to use my title convert function before slug auto-creation: like this: function ...
0
votes
1answer
185 views

Function to replace comment's accented characters before posting

I have some weird problems with encoding my Wordpress website and I can't add comments with accent words. when i try to do it, i received error by WP. What i need is just a function that read the ...
0
votes
1answer
115 views

“page not found” due to hat character (“^”) in a upload file name

I have several uploaded files whose links I have later discovered yield a "page not found" message error, because their name contain the hat character ("^"). Have I to delete and re-upload them after ...
0
votes
1answer
2k views

Why is converting my database to UTF-8 truncating entries?

I'm running WordPress 4.1.1. My site is hosted at NearlyFreeSpeech. I've been using my WordPress blog since the days when it encoded information in the latin1 charset. This week, I realized that ...
0
votes
1answer
852 views

How to prevent funny characters on Home Page

This is a challenge for the sharpest and most experienced WordPress specialists I am building a site in the WP Twenty Fifteen theme. I created a bare-bones minimum home page at http://bit.ly/1zlmpKS ...
0
votes
1answer
56 views

how to avoid the character conversion of WordPress pages?

I am trying to use the WordPress pages but WordPress is overwriting certain characters. the '>' character is turned into '& gt;' why is WordPress changing these characters? is it possible to ...
1
vote
2answers
511 views

apply_filters/do_action tag characters limit

Does apply_filters/do_action $tag name have a characters limit? Can be any problems if the tag name is way too long? I ask this because I know that WP transients have a limit of 45 characters. FYI, ...