🌟 Today I am at WordCamp Sacramento 2016 speaking on Best Practices For Creating Content or as I like to call it, Why You Shouldn’t Copy and Paste From Microsoft Word. I’m doing a 10-minute lightning talk and have a lot of content to cover, so this blog post acts as a companion to my presentation.
When I was working at my last job prior to Three29, I was the lead designer and in more of a project management role. Clients would come to me with problems or bugs in their site, and most of those issues stemmed from populating content. Several times I noticed they’d break their site somehow due to them copying and pasting content from Microsoft Word directly into the WordPress editor. When this happened, I’d usually go into their site, clean up the code, tell the client their site was fixed and to not directly copy and paste from Word to WordPress, and everyone would continue on their merry way.
I had one client in particular who was, shall we say, challenging to work with, and had difficulty adjusting to how things worked on the web. One day I got an email from her regarding a broken page and through troubleshooting came to the conclusion it was because she had directly copy and pasted from Word into the WordPress editor. But why? That was the questioned pushed back to me. Now, this was the type of client you couldn’t just tell them “this is the way it is” – you basically had to write a 10-page persuasive essay complete with 3-5 credible sources.
However, through her frustration, I saw an opportunity to learn and to educate. I took two hours researching and composing an email explaining why she shouldn’t use Word and what she could do instead. After I spent all that time researching and writing up that email, I felt more people needed to know about this since it was such a common problem and there was very little information on it.
Many of you have either fallen into the roll of the person populating the content or the person managing the person populating content, and you have most likely run into this same situation. That is why today I am covering best practices for creating content and why using a traditional word processor, such as Microsoft Word, is not the best approach.
If you have ever copy and pasted from a Word doc to the WordPress Editor you’ve noticed how it almost never looks how you expected it to. If you’ve ever switched from the Visual Editor to the Text Editor you have might notice some funky looking code that shouldn’t be there.
When you copy text to your clipboard from any Microsoft product (post Office ’97), you are copying all of the invisible Microsoft XML formatting that goes with the text. In other words, you’re essentially copying HTML. When you paste that text HTML into your web-based editor, you get the whole block of it…the text, the markup, and all the inline formatting for every. single. piece. of. text.
– Ctrl+WTF? How to paste from Word without wrecking your web page
This code that copies over is what causes your content to look funky and/or break your site.
When you directly copy and paste from a word processor you’re bringing over styles that aren’t always consistent with your site. This means styles from your word processor are competing with the styles set in your stylesheet. And it can get ugly. Here’s an example:
Can you tell which font is the correct one? My point exactly.
Because of the shenanigans that come with copying and pasting, the way you format your content isn’t guaranteed. Things like spacing, images, tables, bulleted lists, etc. have trouble coming over properly. Not to mention there’s some formatting that doesn’t get recognized by WordPress.
If you create headings in Word, they will not be recognized as headings in WordPress, which isn’t good news for SEO. If you anticipate having a lot of headings in your post, it may be best to type the post with the headings in normal text, and change them to headings once you’ve pasted into WordPress.
– How to Copy from Microsoft Word into WordPress
Now you know why you shouldn’t use a word processor to populate your content. Let’s talk about what you can use instead.
There are several methods and tools you can use to bring content over into your WordPress site.
Did you know that WordPress has an amazing editor built in where you can edit and format your content? Yup, and the best part is when you create and format your content there you won’t break anything!
Also worth noting:
I understand there might be situations where you don’t have access to your WordPress site yet but you need to create content. Or you don’t have internet access but want to write. What do you do?
You can use your preferred program for writing up content, but when it comes time to put it into WordPress, you copy it over with no formatting and format in the WordPress Editor. You can do this by:
Resources:
You can also use an app made just for blogging! Here are a handful of ones I’ve stumbled upon:
Now let’s say you’re in a project management position or you’re the developer on the site. What can you do to prevent future problems?
Luckily there are a handful of things you can do to prevent copy/paste problems with future clients.
This fabulous plugin does one simple thing: forces the WordPress editor to paste everything as plain text. No matter where you are copying/pasting from, no matter how much you’ve formatted your content, this will strip the formatting and paste as plain text. This is great for those clients that forget about the whole “copying and pasting from Word is bad” or those that choose to ignore your advice.
One thing to note: as of WordPress version 3.9 there is now built-in support for pasting from Microsoft Word. Although this is a great leap forward, it doesn’t hurt to have this plugin installed just in case. Think of it as insurance.
Another thing you can do is style the WordPress editor to match the front-end of your site as close as possible. One of the things I learned with my difficult client was that part of the reason she was creating her content in Word was because it was easier for her to visualize when formatting. When I styled the editor to match her site, it helped her out tremendously. Because of this, I always try to do this for every client. It’s the little things like this that go a long way.
Here’s an example of what mine looks like on my own website:
Styling the editor is really easy. All you have to do is add a simple function to your functions.php file to activate the editor stylesheet. From there you can use the inspector to get the necessary CSS classes.
Tip: I recommend creating a private page/post called “Style Guide” and populating it with content from WPFill.Me. This will populate all the possible content a user could add into the editor and will allow you to see everything you need to style for.
Resources:
Part of being a great WordPress theme developer is making sure you’re handing over a finished project. Delivering a great looking theme (maybe even up-selling a maintenance plan) with a back-end that the client can use to easily update their content is important.
– Custom Stylesheet for the WordPress Editor
I personally believe that a client should be able to populate content on their WordPress site without knowing any code. You can achieve this in multiple ways by using things like…
Resources:
When you get ready to hand off a site to a client, make sure they not only know how to use it but feel comfortable doing so. This might be the very first time your client is managing a site, let alone using WordPress, so it can be very overwhelming for them. Conduct a training session or two with your client.
Training is super important because you’re setting the expectations. Make sure they understand the WordPress editor, and give them advice so they know the dos and don’ts for populating content. At the very least make sure they know about the Paste as Text button in the WordPress Kitchen Sink.
Remember, clients don’t know what they don’t know. You have a duty to educate them.
Education and communication are key to solving problems. Not only did I solve the initial problem with my client, which was what was causing her site to break, but I also was able to further educate my client in a way that empowered her. I learned why my client felt the need to compose her content in a Word doc first and then copy paste, and it helped me deliver better customer service while educating me at the same time.
And if you thought my slides were just so wonderful and great, here they are on SlideShare:
Note: This article may contain affiliate links. I only link to products that I know, love, and use. For more info, please view my disclaimers.
Subscribe and stay up to date with the latest blog posts.
Want to know where I get #AllTheThings from my blog or Instagram posts? Find what you're looking for below (or just ask).
LIKETOKNOW.IT
Amazon store
I found this post was certainly a little bit of a facepalm towards clients who create all their content in documents and just copy and paste, haha. I am sure many content creators or even aspiring content creators picked up a lot from your talk. This is something that most designers and developers believe is common sense, but the less tech-savvy would need further explaining for.
At work, we have a tool to build emails, and we actually have had to write some code to strip styles from people’s copy-and-pasted content. 😉
You’d be surprised how common this is. And what’s interesting I don’t think we are always doing our due diligence to discourage them otherwise which is why I felt compelled to do this talk. I’m hoping people got a lot out of it.
This post is awesome and you killed it at WordCamp Sacramento 2016 presenting this! I appreciate your passion and I can tell that you love what you do. I know this post will be GOLD to some of my clients…and others will sadly ignore it and continue to “simply copy and paste”.
PS: great visuals!
Thank you Matthew, I am so glad you enjoyed it! And for those clients that ignore your advice, that’s what the Paste as Plain Text plugin is for. 🙂
Loved reading your posts! Good info and I definitely recognised my own battles with explaining to clients how the WordPress editor vs. Word works, haha!
At my work we’ve always made it a point to make the entire WP administration panel as “idiot proof” as possible, including customising the menus, styling the editor, removing all unused elements, and custom fields…. custom fields everywhere. 😛
Thanks, Karin! I’ve been trying to introduce more “idiot proofing” at work in our WordPress builds. In fact, I’m thinking of doing a talk next year on how to make the admin more user friendly with clients. But yes, custom fields everywhere! 😉