Easy way to import a post from Word?

There are 3 ways you can import content from Word: Paste from Word There’s a button in the editor that allows you to paste content directly from Word. This removes the special formatting Word uses to lay content out on the page and will make things work well on your site. (The button is in … Read more

How do I configure WordPress to talk to a Microsoft SQL Server database?

I think there is a new approach to it: https://blogs.msdn.microsoft.com/brian_swan/2010/05/12/running-wordpress-on-sql-server/ You can also use a 3rd party version of WordPress (not my cup of tea, by the way): https://code.google.com/archive/p/wordpress-mssql/ https://github.com/ProjectNami/projectnami Or follow this guide, but it might be a bit old: https://blog.building-blocks.com/installing-wordpress-on-windows-using-sql-server-2008-r2-part-1/ In the end I think the first link would be the best approach. … Read more

Remove hidden formatting when user paste text from MS Word into TinyMCE

I am interpreting the question to mean that you already have Word markup in your post and so you need to clean that up via PHP. If so… You can see the code that cleans up Word content here: http://core.trac.wordpress.org/browser/trunk/src/wp-includes/js/tinymce/plugins/paste/editor_plugin_src.js#L375 That is Javascript. With some work, you could convert that to PHP. PHP Tidy, if … Read more