replace control character ascii into page

first workaround: Edit the page under wordpress classic editor and copy (ctrl-C) the whole to the clipboard. Open the vim editor Copy (ctrl-V) the clipboard to the vim window Replace all control characters with a space    :%s/[^@-^M]/ /g (ie ctrl-V ctrl- @ and ctrl-V ctrl-M) Overwrite the page content in wordpress with the new … Read more

Invalid characters in user name when registered

It’s WordPress. You could hack into wp-includes/formatting.php and comment out the contents of the sanitize_user() function. However, I don’t think that’s a good idea – it may compromize your site’s security, and special characters can always cause trouble… And it’s never a good idea to hack into the core (maybe you can do it also … Read more

Fixed height of the_content()

If you run a wp_kses() on the_excerpt() (through a filter) you can whitelist specific HTML tags and such. In your case, the code would probably look something like this: if( is_page( ‘your_page’ ) ) { add_filter( ‘the_excerpt’, ‘wpse44363_filter_the_excerpt’ ); } function wpse44363_filter_the_excerpt( $excerpt ) { // this allows no html, you can allow only links … Read more