The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
25 views

Migrated Wordpress site renders Chinese

So, I have no idea what happened, but I tried to migrate a WP site and for some odd reason, it just renders in all Chinese/Japanese. I've been working on this site locally, and it renders fine ...
0
votes
0answers
33 views

What is zinging my HTML commands? I don't think I can blame TinyMCE this time…

I'm creating some pretty involved websites where I insert the contents of a wordpress 'page' directly into a page display element. (example would be a custom entry in the footer...) Its absolutely ...
0
votes
1answer
26 views

List first letter of categories - issue upon spcecial characters (danish letters)

I have a alphabetic list of custom taxonomies (Topics), all taxonomies are grouped by a index letter - A, B, C etc. The list uses the first letter of "Topic", to show as a index letter for each ...
1
vote
1answer
50 views

Remove empty lines ( ) when author updates their post

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

Ampersands do not display

I've got a WooCommerce install, running on the latest WordPress version. I'm using the discover theme by antthemes.com. There are four boxes at the bottom of the homepage which allows you to change ...
0
votes
2answers
104 views

Search and replace special characters (å,ä,ö) for image attachments only in database

I need to replace the special characters å,ä,ö (with a or o) in my WP database for all image attachments. How can I apply this search and replace only to affect these links? Edit: Solved
0
votes
1answer
23 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 ...
-3
votes
2answers
89 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
0answers
38 views

Post removes any text from post that's following special characters

I have a weird problem with losing content in posts with special characters in it. Let's say I inserted the following content into a post: Hello, 👿 This is my post Wordpress would ...
0
votes
0answers
108 views

WooCommerce character encoding issues on variable products [on hold]

I've been having issues with character encoding on variable products using WooCommerce. I've tried to look for a solution on the Internet but haven't been able to find one of yet. The variables for ...
1
vote
0answers
87 views

Symbols such as £ end up being  in the database

Any posts with symbols such as £ or & or ♥ end up being  or worse. It doesn't show in the admin panel on the edit post page, but it is saved in the database as  and shows on the actual live blog ...
0
votes
1answer
49 views

Toggle Shortcode Sanitize Title

Wondering if anyone can help me out... here is my custom theme shortcode: add_shortcode('toggle', 'shortcode_toggle'); function shortcode_toggle( $atts, $content = null ) { ...
0
votes
1answer
205 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 ...
1
vote
3answers
397 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 ...
0
votes
1answer
302 views

Wordspress add <p> into my javascripts

I use a slider called revoslider and use it via shortcode. When i use the shortcode and do not use visual editor for insert and save, the slider does not work because WordPress adds <p> into ...
0
votes
1answer
163 views

Remove limit in characters of blog posts?

Im changing my blog, so its not possible to click on the post, but only see them in the preview. How and where do i remove the limit of characters on the preview page? I'm using the Mystile ...
1
vote
1answer
289 views

register_post_type name character limit

I need to create a new custom post type, but the issue i am having is that the name i want to give is longer than 20 characters. Is it possible to override this with a hook or filter? I tried to ...
12
votes
1answer
2k 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 ...
0
votes
1answer
205 views

Show ellipsis (…) only if the number of characters exceeds limit defined in substr

I'm limiting the number of characters in the title with substr. But even if the title is less than 50 characters, being shown the ellipsis (...). I would not display the ellipsis if the title does not ...
0
votes
1answer
322 views

Truncating characters in Advanced Custom Fields works some places but not others?

I'm using the Advanced Custom Field plugin - although I'm not positive that is relevant. Nonetheless, I can't get substr() to work at all using this method: $givchars = 5; $postgiv = ...
2
votes
3answers
599 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
1answer
39 views

I submit a non-latin string value and it returns like %23%24%%%

I am sorry I am anaware of the exact terms. I submit in non-latin a string and in the next page the value "%23%24..." returns. How can I retrieve the correct value? Thanks.
1
vote
1answer
210 views

Adding “&nbsp;” before the last word in multiple defined areas with a plugin

How would this be done with javascript or a plugin? This would prevent widows from happening in my WordPress posts. Shaun Inman has created a similar plugin for post titles, but not for actual posts. ...
1
vote
2answers
683 views

How to limit the max number of characteres in the title that are displayed

I am following this tutorial — "Display Your Popular Posts In WordPress Without A Plugin" and want to limit the max number of characters in the title that are displayed. Also, why is the thumbnail, at ...
-1
votes
1answer
360 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 ...
0
votes
2answers
4k 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 (&#8480;) into the HTML view of the editor. As soon as I switch to the "visual" tab, my entity code is turned into ...
0
votes
2answers
331 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 ...
2
votes
2answers
533 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
226 views

Fixed height of the_content()

I have page with news. I'm displaying them as a shortened text (300 chars limit), I'm removing any images using preg_replace() and everything looks fine, until someone uses line breaks in his post. ...
3
votes
2answers
1k 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. ...
0
votes
1answer
219 views

Invalid characters in user name when registered

I can´t register a user with ñ (español) beacause is invalid character, (i know it) the questions are: are there any functions that allow that? is a server problem or a wordpress problem?
0
votes
1answer
494 views

Check & remove special characters in a field?

I would like to check whether a field has special characters, remove those characters and output (save) the value to another field. I am creating a user search function that search various fields, ...
0
votes
1answer
611 views

Plugin To Insert Chinese Characters in Posts or Pages

My daughter is blogging from China. She wants to insert Chinese characters occasionally into her post so that she can explain what these mean. She has a Mac, which lets her type these quickly. When ...
1
vote
1answer
220 views

Truncating varying lengths of information

I was helped not long ago with a form of custom truncating by Toscho on this post it works very well but I'm finding that I need to create multiple length variations for different bits of content. For ...