SPECIAL OFFER: Only $59 for access to everything in OSTraining for 1 year! You save $85!  1
Join today and get access to 1,000's of books and videos. Learn WordPress, Drupal, Magento, Joomla and more! Sign up today!

best way to copy & paste google-doc to WP page?

3 years 5 months ago #124661 by TammyDosSantos
best way to copy & paste google-doc to WP page? was created by TammyDosSantos
I'm working on articles on google-docs and now that an article is done and formatted, I would like to copy and paste that onto our Wordpress website. I have tried a variety of methods, nothing very satisfactory. When I copy straight from the google-doc, then paste into the Visual tab of the WP editor, some formatting is brought over, but it double-spaces everything. When I paste the same into the Text tab of the WP editor, it has the correct spacing, but all formatting is gone (H1, link, etc). I have also tried the Google-Drive app called "Publish to WP" but it seems to only work for Wordpress.com websites, not our website hosted elsewhere.
Any suggestions? thanks!

Please Log in to join the conversation.

3 years 5 months ago - 3 years 5 months ago #124663 by Valentin
Hi and welcome to OSTraining TammyDosSantos,

Unfortunately is not recommended to bring content from a document to get the exact same result in WordPress. There may be some incompatibilities and you would need to format the content after pasting in WordPress editor.

May I have a link to your post, to see how it looks?

Kind regards,
Valentín

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

3 years 4 months ago #124717 by TammyDosSantos
Replied by TammyDosSantos on topic best way to copy & paste google-doc to WP page?
Hi Valentin,
take a look here:
www.onestophealthguide.com
Look under the Fitness menu, I have put in a number of test pages. I tried a few things and it seems like the best way is to copy the google-doc then paste it into the WP editor's html tab (called the "Text" tab) instead of the "Visual" tab. It keeps the line-spacing, but unfortunately does not keep any formatting (headings, links). Good thing is that the html is clean (compare the source code of the test pages on the website, some are pretty clean, some are very messy html).
Then I guess I will add formatting back in using the WP editor (add heading styles, links).
Look at our website's test page called "Test embed code for google-doc" to see what was the original document that I copied over.
Also, I do want to use the theme's styling, so even though the original uses the Impact font for H1, I want the theme to apply it's font for H1, as it does on the first test page.
If you have another suggestion, or a WP plugin that might do the job, that would be great. I'm just wondering what is normally done.
thanks! T

Please Log in to join the conversation.

3 years 4 months ago #124721 by Valentin
Hi TammyDosSantos,
Pasting the content into the "Text" tab is a good choice but also means removing the formatting you have in the Google doc.

Then, switch to "Visual" and set your custom format again to the text such as bold, italic, etc.

In addition, since each WordPress theme has its own design, the end result would be affected by that matter.

Hopes this clarifications helps

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
The following user(s) said Thank You: TammyDosSantos

Please Log in to join the conversation.

Join today and get access to 1,000's of books and videos. Learn WordPress, Drupal, Magento, Joomla and more! Sign up today!