How to Add WhatsApp Chatbox and Share Buttons in WordPress

Do you want to add WhatsApp chatbox and share buttons in WordPress?

WhatsApp is one of the most popular messaging platforms and has about 2.2 billion users worldwide. Adding a Whatsapp share button will allow you to connect with the customers and build user engagement, and adding a chatbox button will let users message you directly through your website.

In this article, we’ll show you how to easily add a WhatsApp share button in WordPress.

How to add WhatsApp share button in WordPress

Why Add a WhatsApp Button in WordPress?

WhatsApp is an instant messaging app that allows people worldwide to easily contact each other.

Adding a WhatsApp share button to your WordPress website will allow visitors to easily share your content with their contacts.

Moreover, you can also add a WhatsApp chatbox enabling users to have a direct conversation with you.

For instance, if you have an online store, then a WhatsApp chat button can be used by customers to make product queries without having to fill out any forms or go through customer support.

It can result in increased user engagement and lower cart abandonment rates.

Having said that, let’s see how you can easily add a WhatsApp share button in WordPress.

Method 1: Add a WhatsApp Share button in WordPress

If you want to add a WhatsApp share button to your website, then this method is for you.

First, you need to install and activate the Sassy Social Share plugin. For more instructions, please see our beginner’s guide on how to install a WordPress plugin.

Upon activation, you need to visit the Sassy Social Share menu from the admin sidebar.

From here, you need to switch to the ‘Standard Interface’ tab at the top.

Then, you need to scroll down to the ‘Select Sharing Services’ section and simply check the box next to the WhatsApp option.

Check WhatsApp share option

You can also add the Share button for other social media platforms including Facebook, Instagram, Pinterest, Twitter, and more.

Once, you’re done, don’t forget to click on the ‘Save Changes’ button to store your settings, and then you can head to the ‘Theme Selection’ tab.

From here, you can customize the share buttons by changing their size, shape, logo or background color, and more. It’s a good idea to go with the WhatsApp brand colors for the share button so that users will recognize it more easily.

Customize the WhatsApp share button

Once you are finished, don’t forget to click on the ‘Save Changes’ button to store your settings.

You can now visit your website to see your WhatsApp share button in action.

Here is how it looked on our demo website.

WhatsApp Share button

Don’t want to add WhatsApp button to every page? Don’t worry, the plugin also allows you to easily add it to single posts and pages as well.

Adding WhatsApp Share Button in Block Editor

If you only want to show the WhatsApp share button on specific posts and pages, then first you need to turn off the global display of sharing buttons.

To do that, simply go to the Sassy Social Share page in the WordPress admin sidebar and switch to the ‘Standard Interface’ tab.

Next, you need to uncheck the box for the ‘Enable Standard sharing interface’ option.

Disable standard buttons

Next, switch to the ‘Floating Interface’ tab.

From here, uncheck the box next to the ‘Enable Floating sharing interface’ option.

Disable floating buttons

Now that you have disabled the standard and floating social sharing buttons, you go ahead and WhatsApp share button to any page or post on your website using a shortcode.

Simply open the post or page where you want to display the WhatsApp share button in the content editor, or you can just create a new one.

From here, simply click on the Add Block (+) button at the top left corner and search for the ‘Shortcode’ block. After that, simply add the block to the page.

Add shortcode in the block editor

Next, you need to copy the following shortcode and paste it into the ‘Shortcode’ block.

[Sassy_Social_Share]

Once you’re done, simply click on the ‘Publish’ or ‘Update’ button to store your changes. Your WhatsApp Share button will look like this.

WhatsApp share button on a page

Adding WhatsApp Share Button as a Widget

To add the WhatsApp share button to the sidebar of your website, you need to visit the Appearance » Widgets page from the admin sidebar.

From here, simply click on the Add Block (+) button at the top left corner and locate the ‘Shortcode’ block.

Next, you need to add the ‘Shortcode’ block to the sidebar.

WhatsApp share button as a widget

After that, simply copy and paste the following shortcode into the block.

[Sassy_Social_Share]

Next, click on the ‘Update’ button to store your settings.

This is how your WhatsApp share button will look once it’s added to the website sidebar.

WhatsApp share button in the sidebar

Adding the WhatsApp Share Button in the Full Site Editor

If you’re using a block theme, then you’ll be using the full site editor and won’t have access to the ‘Widgets’ page.

First, you need to visit the Appearance » Editor option from the admin sidebar to launch the full site editor.

Next, you need to click on the ‘Add Block’ (+) button at the top of the screen and add the ‘Shortcode’ block to any suitable place on your website.

After that, add the following shortcode to the block.

[Sassy_Social_Share]
Add WhatsApp share button in Full site editor

Once, you’re done, click on the ‘Save’ button at the top.

This is how the WhatsApp share button looked on our demo website.

WhatsApp share button preview in FSE

Method 2: Add a WhatsApp Chatbox Button in WordPress

This method allows you to add a WhatsApp chatbox button in WordPress.

This means that when a user clicks on the WhatsApp chat button, they’ll be able to send you a direct message on your WhatsApp phone number.

Note: You won’t be getting any messages directly inside your WordPress dashboard, but you will be able to chat like normal in the WhatsApp mobile app, web interface, and desktop software.

First, you need to install and activate the Click to Chat plugin. For more instructions, see our step-by-step guide on how to install a WordPress plugin.

Upon activation, you need to head over to the Click to Chat menu item that has been added to your WordPress admin dashboard’s sidebar.

From here, you need to start by typing your business phone number in the ‘WhatsApp Number’ field.

This will be the phone number where you’ll receive messages from users.

After that, you need to type a simple message in the ‘Pre-Filled Message’ field. This will be the default message that will be displayed in your WhatsApp chat window.

Provide your WhatsApp phone number

Next, you need to scroll down to the ‘Style, Position’ section.

You can start by choosing a style for your WhatsApp chatbox from the dropdown menu. By default, this plugin offers about 8 different styles. Simply choose the one that you prefer.

Select a style for the WhatsApp chat box

After that, you need to scroll down to the ‘Position to Place’ section.

From here, you can choose the position and size of your chatbox from the dropdown menus.

Select the position of your chatbox

Next, you need to go to the ‘Display Settings’ section.

Here, you just need to check the ‘Global’ box next to the options where you want to display your WhatsApp chatbox.

For instance, if you want to display the chatbox on your posts, pages, and categories pages, you need to check the ‘Global’ option.

You can also choose the ‘Hide’ option if you don’t want to display the WhatsApp chatbox on a certain page.

Check the Global box

Finally, don’t forget to click the ‘Save Changes’ button to store your settings.

Now, you need to head over to the Click to Chat » Greetings page to select a Greeting dialog from a dropdown menu.

This greeting dialog will be shown along with the WhatsApp button on your page.

Choose a Greeting dialog from the dropdown menu

Once you’ve made your choice, you will need to type the content for the header, main content, and call to action of your greeting dialog.

After that, scroll down to the ‘Customizable Design’ section.

Type content for the greeting dialog

Once here, you can choose the background colors of your main content, header, and message box.

After that, simply click the ‘Save Changes’ button to store your settings

Choose background color for the greeting dialog

Next, you need to visit your website.

By default, this is how your WhatsApp chatbox will look like.

WhatsApp chatbox on a website

Now, we will show you how you can easily add the WhatsApp chat button in the block editor, as a widget, and in the full site editor.

Add the WhatsApp Chat Button in the Block Editor

You can easily add the WhatsApp button to a specific page or post on your WordPress website using the block editor.

For this tutorial, we will be adding the WhatsApp button to a page.

First, you need to go to the Pages » Add New page from the admin sidebar.

This will launch the block editor.

Now, you need to click the ‘Add Block’ (+) button at the top left corner of the screen and click on the ‘Shortcode’ block.

Add shortcode in the block editor

Once the ‘Shortcode’ block is added, you need to copy and paste the following shortcode into the block.

[ht-ctc-chat]

After that, simply click the ‘Publish’ button at the top.

This is how the WhatsApp button looked on our demo website.

WhatsApp button on a page

Adding the WhatsApp Chat Button as a Widget

In this method, we will show you how to easily add the WhatsApp button as a widget in the sidebar of your website.

First, you need to head over to the Appearance » Widgets page from the WordPress sidebar.

Once there, simply click on the ‘Sidebar’ tab to expand it and then click the ‘Add Block’ (+) button at the top.

Next, simply locate and add the ‘Shortcode’ block to the sidebar.

Add the shortcode block in the sidebar

Now, simply copy and paste the following shortcode into the block.

[ht-ctc-chat]

Finally, don’t forget to click the ‘Update’ button to store your settings.

This is how the WhatsApp button looked after being added to the sidebar on our demo website.

WhatsApp button in sidebar

Adding the WhatsApp Chat Button in Full Site Editor

If you’re using a block-based theme with a full site editor, then this method is for you.

First, head over to the Appearance » Editor page to launch the full site editor.

Once there, simply click the ‘Add Block’ (+) button at the top left corner of the screen.

Now, simply locate and add the ‘Shortcode’ block to your preferred place on the site.

Add the shortcode block in the FSE

Once the block is added, simply copy and paste the following shortcode into the block.

[ht-ctc-chat]

In the end, don’t forget to click the ‘Update’ button at the top to save your changes.

This is how the WhatsApp button looked on our site.

WhatsApp button in FSE

We hope this article helped you learn how to add a WhatsApp share button in WordPress. You may also want to see our top picks of the best social media monitoring tools for WordPress users, and our beginner’s guide on how to build an email list.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post How to Add WhatsApp Chatbox and Share Buttons in WordPress first appeared on WPBeginner.

Introduction To OpenSSH

OpenSSH is a free and open-source suite of secure networking utilities that has become a critical tool for system administrators and developers who need to securely manage and access remote systems over unsecured networks. In this article, we will take a closer look at what OpenSSH is, how it works, and its importance in modern computing.

OpenSSH History

OpenSSH was developed in 1999 as an open-source implementation of the Secure Shell (SSH) protocol. The SSH protocol was developed as a replacement for the older Telnet protocol, which transmitted login credentials and other sensitive data in clear text over the network, making them vulnerable to interception and unauthorized access.

Error Handling Inside Kumologica Subflow

What Is a Subflow?

A subflow in Kumologica is a defined section of a flow that is created using a Subflow In and Subflow Out node. Its purpose is to improve the reusability of code and enhance the readability of the overall flow. The Subflow node can be used to call the subflow from any point in the flow.

Once a Subflow In node is added to the canvas, its name will appear in the dropdown list of the Subflow node. Each subflow execution operates within its own context and does not modify the payload, variables, or message properties.  

Introduction to NoSQL Database

NoSQL stands for "Not Only SQL" and refers to a type of database management system that is designed to handle large volumes of unstructured and semi-structured data. Unlike traditional SQL databases that use a tabular format with predefined schemas, NoSQL databases are schema-less and allow for flexible and dynamic data structures.

NoSQL databases are required because they can handle the large volumes and complex data types associated with Big Data. They are designed to scale horizontally by distributing data across many servers, making them well-suited for handling large and growing datasets. Additionally, NoSQL databases are often faster and more efficient than SQL databases for certain types of queries, such as those involving large amounts of data and complex data structures. 

Beyond Coding: The 5 Must-Have Skills to Have If You Want to Become a Senior Programmer

In a Nutshell

  • We instinctively equate programming with writing code. Because of it, we focus primarily on code design and creation skills: mastering languages and frameworks, clean code, design patterns, TDD, and architecture.
  • But creating new code is only a fraction of what we do every day. For example, we spend much more time navigating, searching, analyzing, reviewing, and debugging code than writing.
  • Though these activities seem straightforward, they require as specialized skills and experience as coding. Mastering them is what separates true senior programmers from the crowd. And what makes you stand out and get noticed at a new job.
  • In this post, I'll look at the key traits of professional software development, how they impact what you do every day, and explore what skills you need to become a complete programmer.

The Common Misconception About Programming

People instinctively equate programming with writing code. And it doesn't apply only to lay people. But, unfortunately, many experienced programmers also do have this bias. Not in a naive way, of course. We know that coding isn't just typing and that having crazy keyboard skills doesn't make you a great programmer. But even then, we focus mainly on code creation skills.

Think for a moment about what most books, blog posts, and talks are about. What sparks the most heated discussions in your team? What are the most common coding interview questions?

What Is QA as a Service?

In a world where quality is at the forefront of every business, you want to ensure that yours is providing excellent quality results to the customers. It is the most important factor in establishing, preserving, and expanding the brand. So, what is QA, and what makes it so critical to the quality and reliability of a product or service?

Quality assurance is a method of verifying and validating a product or service that entails testing the software to identify and correct any issues before the project is released to users by applying various testing techniques. In other words, it assures that your customers will always be satisfied. Quality assurance as a service is one of the many QA practices.

The Best Handoff Is No Handoff

Many companies organize their workflows around projects and departments. Especially in large companies, work often travels from one place to another, often getting stuck between emails and Slack messages, and often “refined” on its never-ending journey between design and engineering teams.

This inevitably brings up the question about the design hand-off: that magical moment when designers are done with their work and developer can take over. Most importantly, that’s where designers must stop working, and move on to other work — unless the scope changes or late adjustments creep their way in.

The “No Handoff” Method

Last week, I stumbled upon an interesting article about the no-handoff method, in which Shamsi Brinn shows an alternative to typical design hand-offs. Shandi shows a fluid model where product and engineering teams work on the product iteratively all the time, with functional prototyping being the central method of working together.

With the process, the working prototype is the living spec of the project and a shared language for the team. No more translation is needed because everyone works on the same prototype. The problem space and the solution space are explored by designers and engineers collaboratively, and the entire workflow is organized around the product, rather than company’s internal structure.

The “Hot Potato” Process

This reminded me of the Hot Potato Process by Dan Mall and Brad Frost, where ideas are passed quickly back and forth from designer to developer and back to designer then back to developer for the entirety of a product creation cycle — similar to throwing hot potato back and forth (audio, video).

From my personal experience, I can only testify that the best collaboration doesn’t have any handoffs between teams. There, work flows seamlessly from design to engineering and back — with both teams working simultaneously, and discussing issues as they occur, during the entire product lifecycle.

There are phases of independent work for sure, but there are also plenty of overlaps for collaborative work, which are opportunities to discuss the progress, explore what is and what isn’t viable and hence avoid lurking issues down the line.

Create As Many Overlaps As Possible

Of course, the process works well for small product teams. But what if a part of the product is outsourced to an external agency? Many companies choose the route of extensive documentation — almost to the last pixel, along with a brief explaining the strategy and the thinking behind the design.

This isn’t enough though. Design decisions have to be informed by technical implementations and its limitations. There is no universal language around design patterns and their interaction design either. And not every design detail can be implemented in an accessible and performant way. This is why beautiful mock-ups turn into painfully slow and inaccessible monsters.

We can reduce the risks of hand-offs with dedicated overlaps between designers and engineering teams. With regular check-ins. Weekly reviews. Shared channels for communications. Visibility into the work done. Usability testing of functional prototypes and small but regular design revisions.

Design is a team work. It involves everybody who contributes to the website — from customer service and marketing to developers and designers. Any overlaps you can create will benefit the teams, their productivity, and ultimately your users.

Wrapping Up

So we want to move away from handoffs. But how to convince teams to change their workflow entirely? With a small experiment on a small project. Pick a project where you could test the waters and suggest a collaborative process. Ask what designers could do while developers are busy. Ask what developers could do while designers iterate. And enable both teams to work together, at the same time.

Ultimately, the success depends on one simple thing: just how well the teams work together. And if they can’t collaborate particularly well, chances are high that a design hand-off won’t make it any better, and a major change in the team culture will need to happen first.

You can find more details on design patterns and UX in the video library on Smart Interface Design Patterns 🍣 — with a live UX training that’s coming up in September this year.

Using Swagger for Creating a PingFederate Admin API Java Wrapper

In my previous articles listed below, I have shown how to use Swagger, especially the Springdoc implementation. for doing the code first/bottom-up approach.

This time I am writing about the design first/top-down approach. I am not writing about the usual generated Java server, and say, associated Angular TypeScript client code; but first, some background context.

Scaling Your Testing Efforts With Cloud-Based Testing Tools

As software applications grow more complex, the importance of testing increases. Testing helps ensure that software meets the required standards and functions as expected. However, testing can be a time-consuming and resource-intensive process, particularly when it comes to scaling efforts to accommodate growing applications. In recent years, cloud-based testing tools have emerged as a solution to this challenge. These tools can help organizations scale their testing efforts while saving time and resources.

In this article, we will discuss the benefits of cloud-based testing tools and how they can help organizations scale their testing efforts. 

The Power of Docker Images: A Comprehensive Guide to Building From Scratch

Docker has revolutionized the way we build and deploy applications. It provides a platform-independent environment that allows developers to package their applications and dependencies into a single container. This container can then be easily deployed across different environments, making it an ideal solution for building and deploying applications at scale.

Building Docker images from scratch is a must skill that any DevOps engineer needs to acquire for working with Docker. It allows you to create custom images tailored to your application's specific needs, making your deployments more efficient and reliable.

Here, in this blog, we'll explore Docker images, its benefits, the process of building Docker images from scratch, and the best practices for building a Docker image. 

Assessment of Scalability Constraints (and Solutions)

This is an article from DZone's 2023 Software Integration Trend Report.

For more:


Read the Report

Our approach to scalability has gone through a tectonic shift over the past decade. Technologies that were staples in every enterprise back end (e.g., IIOP) have vanished completely with a shift to approaches such as eventual consistency. This shift introduced some complexities with the benefit of greater scalability. The rise of Kubernetes and serverless further cemented this approach: spinning a new container is cheap, turning scalability into a relatively simple problem. Orchestration changed our approach to scalability and facilitated the growth of microservices and observability, two key tools in modern scaling. 

How to Easily Import Google Docs to WordPress (4 Ways)

Are you looking for a way to easily import Google Docs to WordPress?

You may prefer to write your posts in Google Drive, but importing that content into WordPress isn’t straightforward. If you try to copy and paste a Google Doc into WordPress, then you might get lots of unwanted HTML tags, and sometimes you may even lose all the original formatting.

In this article, we will show you how you can easily add Google Drive documents to your WordPress website.

How to easily import Google Docs to WordPress

Why Import Google Docs to WordPress?

You may prefer to write blogs in Google Docs, rather than in the WordPress post editor.

If you accept guest posts in WordPress, then you might even ask authors to send their work as a Google Doc, rather than giving them access to the dashboard by allowing user registration in WordPress.

However, when it’s time to import the document from Google Drive to WordPress, you may run into some problems. If you copy/paste the Google Doc’s text directly into the WordPress editor, then it can add extra tags, particularly <span> and <font tags> tags.

You may also get unwanted line breaks and lose some of the original Google Doc formatting. This means you’ll need to manually go through each post and fix these problems, which can take a lot of time and effort.

Unwanted HTML tags and WordPress in the code editor

With that being said, let’s see how you can easily import Google Docs to WordPress without any formatting problems or extra code.

Simply follow the quick links below to jump straight to the method you want to use.

Method 1. Using the Copy/Paste Method (Quick and Easy)

If you regularly import Google Docs to WordPress, then we recommend taking the time to set up a WordPress plugin mentioned in our other methods.

However, if you simply want to import a single document, then you can always use another web tool to help make sure the document is clean and ready to go.

This typically involves copying the text from your Google Doc into a third-party app or online service. Often, this removes the unwanted tags and formatting errors.

You can then go ahead and copy the text from the middleman app or online service, and paste it into the WordPress block editor.

This is a workaround rather than a fix, and the results can sometimes be unpredictable. There’s always a chance your chosen middleman might remove some errors, and not others. It may also add its own code, which can cause common WordPress errors.

However, you won’t need to set up a new plugin or service. With that in mind, this is a good option if you simply want to import a small number of Google Docs into WordPress.

There are lots of different services you can use, but we recommend using Grammarly.

Grammarly does a great job of preserving the formatting from Google Docs, while removing unwanted HTML tags. It’s also an online service, so you can access it from any place that has an internet connection.

As an added bonus, Grammarly will highlight any spelling mistakes, typos, and punctuation errors. It can also suggest ways to improve your writing by changing the tone, clarifying confusing text, and much more.

In this way, you can improve the quality of your writing before importing it into your WordPress website. Just be aware that Grammarly doesn’t support images, so you’ll need to upload any image files separately using the WordPress media library.

If you don’t already have a Grammarly account, then you can head over to the website and click on the ‘Get Grammarly It’s Free’ button.

Registering for a Grammarly account

You can then sign up for Grammarly using an existing Google, Facebook, or Apple account. Another option is to type in your email address, and then create a password and username.

After creating an account, you’ll be taken to the the Grammarly dashboard. To import a Google Doc, go ahead and click on ‘New.’

Creating a new document in Grammarly

This opens the Grammarly editor.

In a new tab, open the Google Doc that you want to import into WordPress and copy all of its text. You can then paste this content into the Grammarly editor.

Pasting a Google Doc into the Grammarly writing assistant

Grammarly will highlight any problems with your text and show its recommendations in the right-hand menu. It’s a good idea to read through this feedback and optimize your post before moving onto the next step.

When you’re ready to import the Google Doc into WordPress, go ahead and copy the text in the Grammarly editor.

How to copy Google Drive content into an online middleman

Now, switch over to the WordPress dashboard and open the post or page in where you want to import the Google Doc.

After that, simply go ahead and paste the content into the content editor.

Importing a Google Doc into WordPress using copy and paste

Grammarly does a good job of removing unwanted HTML tags while preserving the Google Drive formatting. However, we still recommend looking through the page’s code, to make sure there aren’t any problems.

This is very easy to do using the WordPress code editor, that’s built right into Gutenberg.

To access it, just click on the three-dotted icon in the upper-right corner of the screen, and then select ‘Code editor.’

Opening the WordPress code editor

You can now delete any unwanted HTML tags or errors from the post.

When you’re happy with how the page looks, go ahead and click on the ‘Update’ or ‘Publish’ button to make the content live.

Removing HTML tags from an imported Google Doc

There are other tools that you can use for this such as StripHTML, but this tool and many others you can find on line will remove all code and return plain text.

That’s why we recommend using Grammarly for the best results at preserving rich formatting.

Method 2. Download the Google Doc as a Web Page (Imports Text and Images)

Copying and pasting Google Drive documents into a middleman service like Grammarly is quick, but it can give unpredictable results. Another option is to download the Google Doc as a web page, and then import the file into WordPress.

This tends to be more predictable, and once again you don’t have to configure a separate plugin or service.

This method also pastes any images from the original Google Doc into the page or post, along with the text.

However, we recommend ignoring this feature and instead adding any image files separately using the WordPress media library. This allows you to set the image caption and image alt text for each file, which makes it easier to re-use the images across your website.

To download a Google Doc as a web page, open the document in your Google Drive account. Then, click on ‘File’ in the toolbar, followed by ‘Download’ and ‘Web Page.’

Downloading a Google Doc as a web page

This will save the Google Doc as a zip archive. The document itself will be an HTML file, and each image will be included as its own file.

If you’re a Mac user, then simply find the file on your computer, and then either right-click or Control-click it. In the menu that appears, select ‘Open With’ and then ‘Google Chrome.’

An example of a Google Drive document, downloaded as a zip file

If you don’t see ‘Google Chrome’ as an option, then click on ‘Other…’ and then choose Google Chrome in the popup that appears.

If you’re on a Windows computer, then right-click on the folder and select ‘Extract All.’ You can then right-click on the .html file and select ‘Open,’ followed by ‘Google Chrome.’

This will open a HTML version of your Google Doc in a new tab, with all the correct formatting and images. You can now go ahead and copy this content.

Importing a Google Drive document into a WordPress website

With that done, go to the WordPress dashboard and open the page or post where you want to add the content.

You’re now ready to paste the Google Doc into WordPress.

Pasting a Google Doc into a WordPress blog or website

Most of the time, this should keep all the formatting in place, but it’s still a good idea to look through the post’s code for any errors. You can open the WordPress code editor by following the same process described above.

If you want to use any images in the page or post, then you can now add them manually using the WordPress media library. For step-by-step instructions, please see our guide on how to add images in the WordPress block editor.

When you’re ready to make the document live on your WordPress blog, simply click on the ‘Update’ or ‘Publish’ button.

Method 3. Using the Mammoth .docx Converter Plugin (Recommended)

If you need to import lots of Google Docs into WordPress, then it’s well worth installing a separate plugin.

We recommend Mammoth .docx converter as it takes all the formatting and images from a Google Doc and converts it into error-free HTML code.

If the Google Doc has any images, then Mammoth will import them into WordPress automatically, so this is also a great choice if you want to transfer images.

Just be aware that Mammoth uses the image’s original filename, so you may want to rename the images before adding them to the Google Doc and starting the import.

With that done, you’ll need to install and activate the Mammoth plugin. If you need help, then please see our guide on how to install a WordPress plugin.

To import a document using Mammoth, start by opening it in your Google Drive. In the toolbar, select ‘File.’

In the dropdown menu that appears, click on ‘Download’ and then ‘Microsoft Word (.docx).’ You won’t need to open this document, so you don’t need Microsoft Word.

Downloading a Google Doc

Google will now download the file to your computer as a .docx file.

In the WordPress dashboard, open the page or post where you want to import the Google Doc. Directly beneath the editor, you’ll see a new Mammoth .docx converter section.

You can now go ahead and click on the ‘Choose file’ button.

Importing a Google Doc into WordPress

In the popup, select your .docx file and then click on ‘Open.’

Mammoth will now import all the content from the Google Doc. By default, Mammoth will display this content in its ‘Visual’ view, which is similar to how it will look on your website.

Importing the content from a Google Doc into WordPress without errors

If you want to check the code for errors, then simply click on the ‘Raw HTML’ button.

You can now make any changes to the post’s HTML.

Importing a Google Drive document using HTML code

When you’re happy with how the content looks, you can add it to the page or post by clicking on the ‘Insert into editor’ button.

Mammoth will now go ahead and add the content to the main post editor. If you’re happy with how it looks, then click on ‘Publish’ or ‘Update’ to make the content live on your website.

Method 4. Using Wordable (Import Google Docs With a Single Click)

Do you want to import lots of Google Docs into WordPress?

You might have a team of writers who all use Google Drive, or accept posts from guest bloggers. You might even have an entire catalog of Google Docs that you want to import into a new WordPress website.

If you need to transfer dozens or even hundreds of documents, then you can use Wordable. This service lets you fine-tune how Wordable imports the Google Doc’s text, images, videos, and more.

After creating the first import, you can save your settings as a template. This allows you to transfer any future Google Docs with a single click, which will save you a ton of time.

You can import 5 documents per month using the free Wordable plan, so you can try the service before you buy. If you need to move more documents, then you can upgrade to any of the premimum Wordable plans.

Connect Wordable to Your WordPress Website

The easiest way to connect Wordable to your WordPress website is by installing and activating the Wordable plugin. If you need help, then please see our guide on how to install a WordPress plugin.

Upon activation, go to Settings » Wordable in the WordPress dashboard.

Connecting Wordable to your WordPress website

If you already have a Wordable account, then you can go ahead and select ‘Click here to connect to your Wordable account.’ This opens a popup where you can type in your Wordable email address and password.

If you don’t have a Wordable account, then click on the ‘Sign up now’ link instead. This opens a new browser tab where you can select ‘Signup with Google Drive.’

Creating a Wordable account

Wordable needs permission to see, edit, create, delete, and download your Google Drive files. To grant these permissions, simply check all the boxes on the ‘Wordable wants access to your Google Account’ page.

After that, click on the ‘Continue’ button.

Giving Wordable access to your Google Drive

After creating an account, Wordable will send an email to your Google address.

Open the email, and then click on the following link: ‘Please confirm your account email now to get started.’

Confirming your Wordable Google Doc account

After that, go to Settings » Wordable in the WordPress dashboard and select ‘Click here to connect to your Wordable account.’

Then, simply refresh your WordPress dashboard. You should now see an ‘Export Your First Document’ button, which means WordPress is connected to your Wordable account.

Connecting a Wordable account to a WordPress website

Select a Google Drive Document or Folder

To import a document, go ahead and click on the ‘Export Your First Document’ button. This opens your Wordable account in a new browser tab.

Your next task is finding the document or folder that you want to import.

If you select a folder, then you can still choose exactly which Google Docs to transfer, and which to ignore, so you won’t be forced to import the entire folder.

If you want to search for a folder, then simply open the dropdown menu next to your email address and select ‘Folders.’

Searching for a Google Doc using Wordable

After that, type the name of the file or folder into the ‘Search’ field. Another option is to paste the item’s link directly into the ‘Search’ field.

To add a document to the import queue, go ahead and click on its ‘Import’ button.

Importing a Google document into WordPress using Wordable

After a few moments, the file will appear in the ‘Documents’ section. To add more documents to the queue, just repeat the same process described above.

If you want to add a folder to the import queue, then click on its ‘+ Source’ button.

Choosing a source folder in your Google Drive account

You’ll now see all the Google Docs that are inside that folder.

After that, it’s time to choose exactly which files you want to export from your Google Drive account. For each file, simply click on its ‘Export’ button, which adds the document to the export queue.

How to import Google Docs into WordPress

Configure the Google Doc Export

When you’re happy with the export queue, it’s time to configure your export. For example, Wordable can turn YouTube links into embedded videos, optimize images, add nofollow attributes to the Google Doc’s links, and more.

To get started, click on the ‘Export Options’ button.

Importing Google Docs into WordPress with a single click

Wordable does a good job of importing Google Docs into WordPress, but it’s still smart to manually check the imported content before publishing it.

With that being said, we recommend setting the ‘Publish Status’ to ‘Save as Draft.’

Importing a Google Doc into WordPress as a draft

The plugin uses the Classic WordPress editor by default.

However, we recommend using the modern block-based editor instead, so open the ‘Editor’ dropdown and choose ‘Gutenberg.’

Importing Google Docs into the WordPress block-based editor

Note: If you leave this set to ‘Classic’ then Wordable will import the document into a new Classic block within the block editor, unless you completely disable it. For more information on this topic, please see our guide on how to keep the classic editor.

By default, Wordable does some basic cleanup, which typically removes most of the HTML tags and errors. However, there are lots more options you can customize.

In this guide, we’ll cover some of the major settings, but you can learn more about any setting by hovering your mouse over it, and then reading the tooltip that appears.

If you write longer documents with lots of headings, then you may want to start by enabling the ‘Table of Contents’ slider. This creates a table of contents using the headings in the Google Doc.

After enabling this slider, you can choose which headings Wordable will add to its table of contents, using the ‘Depth’ dropdown menu. You can also choose between the numbered and bullet list styles using the ‘List Style’ dropdown.

Turning a Google Drive document into a table of contents automatically

If you’re running an affiliate marketing website or regularly link to external websites, then it’s usually a good idea to mark these links as no-follow. A nofollow link tells search engines not to pass any link authority to the website you’re linking to.

To mark all the Google Doc links as nofollow, enable the following slider: ‘Apply nofollow Attribute to All Links.’ You may also want to enable the ‘Open Links in New Tab’ slider, as this will help keep visitors on your website.

Automatically marking links as nofollow

If your document has links to Instagram or YouTube content, then Wordable can try to convert this content into embedded media.

To use this feature, enable the ‘Replace Embeddable Links’ slider.

If your Google Doc contains any images, then we recommend scrolling to the ‘Images’ section. Here, you can change how Wordable shows those images.

For example, you can open the ‘Default Image Alignment’ dropdown and change how Wordable aligns images in the WordPress block editor.

Setting image attributes automatically

Wordable can also use the post’s first image as the featured image, which is the post’s primary graphic. Featured images often appear next to the heading on your home page, and may also appear on social media.

Most popular WordPress themes come with built-in support for featured images, so it’s a good idea to enable the ‘Use Featured Image’ and ‘Default to the First Image’ slider.

Automatically setting the featured image for an imported Google Doc

If you prefer to set the featured image manually, then you can disable the ‘Use Featured Image’ slider instead.

Large images can slow your website, which will have a negative effect on the visitor experience and can even damage your search engine rankings. With that in mind, it’s a bad idea to import images from Google Drive without optimizing them.

For the best results, we recommend optimizing your images before adding them to your Google Docs. This gives you complete control over the process, so you can reduce the size of your images without losing quality.

For more information, please see our guide on how to optimize images for web performance.

If you prefer, then Wordable can optimize your images during the import process. If you want to try this automatic optimization, then click to enable the ‘Compress Images’ slider.

You can then choose whether Wordable should perform lossless or lossy compression. Lossless is a better choice if you want to preserve image quality, while lossy will save you more space but may lose some quality.

Optimizing images automatically using Wordable

There are more settings you can look at, but this should be enough to configure the import.

When you’re happy with the changes you’ve made, go ahead and click on ‘Export Now.’

Exporting text and images from your Google account

At this point, you can save the settings as a template that you can apply to future imports.

In the following image, we simply need to click ‘One Click Export’ to apply the template and import the document.

Importing Google documents into WordPress using a single click

This can save you a ton of time, especially if you use the same settings over and over.

To create a template, type a title into the ‘Template name’ field and then click on the ‘Enable One-Click Exports’ button.

Creating a template for your imported WordPress pages and posts

If you don’t want to use templates, then click on the following link instead: ‘I prefer seeing this screen every time.’

No matter what you click, Wordable will start exporting the Google Document.

After a few moments, go to Posts » All Posts in the WordPress dashboard and you’ll see the Google Doc as a new draft.

An example of an imported Google Drive document in WordPress

To import more Google Drive documents into WordPress, simply follow the same process described above.

We hope this article helped you learn how to easily import Google Docs to WordPress. You may also want to check out how to create a file upload form in WordPress and our list of 24 expert tips to speed up WordPress performance.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post How to Easily Import Google Docs to WordPress (4 Ways) first appeared on WPBeginner.