Why wordpress word count differs from Microsoft word and sites like wordcounter.net

WordPress removes HTML entities, convert connectors (– or em-dash) to spaces, removes unwated characters (General Punctuation, Superscripts and Subscripts, Currency Symbols, Combining Diacritical Marks for Symbols, Letterlike Symbols, Number Forms, Arrows, Mathematical Operators, Miscellaneous Technical, Control Pictures, Optical Character Recognition, Enclosed Alphanumerics, Box Drawing, Block Elements, Geometric Shapes, Miscellaneous Symbols, Dingbats, Miscellaneous Mathematical Symbols-A, Supplemental … Read more

wysiwyg is scrambled

I’d suggest using editor style for your wysiwyg. Add add_editor_style(); to your functions.php and then add a new file called editor-style.css to your main theme directory. Your editor style should reflect the basic css settings like your actual frontend content width, H1, H2, p etc tags styles, margins, image padding adn margins etc. Don’t copy … Read more

Making the Content Editor Box Bigger in 2013

I write a small plugin to give ability for user to change the edito height in a option of profile page. A sort of back in time to WP < 3.5.2 Workflow Create custom field in the profile settings On admin init check if we are in the right page, if so set an hook … Read more

Open ‘View Page’ Button in Editor in new Tab

Firstly it is best to not edit your wordpress core files inside wp-admin but rather modify them with filters/actions and hooks. Check the wordpress codex to see all the filters you could use. Here is the code for a filter that you can put into your theme functions file (/wp-content/themes/{the-theme-you-are-using}/functions.php) to make the view post … Read more