An Improved SUBSTITUTE Function for Replacing Multiple Values in Google Sheets

Google Sheets offers a built-in SUBSTITUTE function that can can find and replace a specific text in a cell with another value. For instance, you can use =SUBSTITUTE("My favorite color is red", "red", "blue") to replace the text red in the string with blue. The SUBSTITUTE function is case-sensitive and will replace all occurrences of the search text.

Replace Multiple Values with SUBSTITUTE

Now consider a scenario where you have to replace multiple values in a string with different values. For instance, if you have a template string like My name is {{name}} and I work at {{company}} and you want to replace {{name}} with the actual name and {{company}} with the company name.

The SUBSTITUTE function is not helpful here because it can only replace one value at a time but you can use nested SUBSTITUTE functions to replace multiple values in a single cell. There would be one SUBSTITUTE function for each value that you want to replace.

Nested Substitute Function

Nested SUBSTITUTE Functions

=SUBSTITUTE(
  SUBSTITUTE(A1,"{{name}}","Amit"),
   "{{company}}","Digital Inspiration")

Multiple Substitute Function for Google Sheets

The nested approach works, but the formula can get long and complex when you have to replace multiple values in a single cell. Here’s a simpler approach that uses Google Apps Script to create a custom function that can replace multiple values in a single call.

=MULTI_SUBSTITUTE(A1, "replace_1", "value_1", "replace_2", "value_2", ... "replace_n", "value_n")

The function takes the input string as the first argument and then pairs of search and replace values. Each pair has two values - the first value is the search text and the second value is the replacement text. The function will replace all occurrences of the search text in the input string with the corresponding replacement text.

Multiple Substitute in a Single Cell

Open your Google Sheet, go to Extensions > Apps Script and paste the following code in the script editor. Save the script and you can now use the MULTI_SUBSTITUTE function in your Google Sheet to replace multiple values in a single cell.

/**
 * Replaces multiple occurrences of search text in a string with new values.
 * @returns {string} The modified string with replacements made.
 *
 * @customfunction
 */
function MULTI_SUBSTITUTE(text, ...opts) {
  for (let i = 0; i < opts.length; i += 2) {
    const searchValue = opts[i];
    const replaceValue = opts[i + 1];

    // Regex for case-insensitive search (flags 'gi')
    const regex = new RegExp(searchValue, 'gi');

    // Replace all occurrences of the search value
    text = text.replace(regex, replaceValue || '');
  }
  return text;
}

This custom function uses regular expressions to replace all occurrences of the search value in the input string. The i flag in the regular expression makes the search case-insensitive unlike the built-in SUBSTITUTE function.

You can also use the multiple substitute function to generate pre-filled links for Google Forms.

How to Use SMTP Server to Send WordPress Emails

Are you having trouble receiving or sending emails from your WordPress site?

Email deliverability is one of the most important parts of running a website. From password reset emails to order confirmations, having a reliable email service is a must.

In this article, we will show you how to use an SMTP server to send WordPress emails.

SMTP-server-to-send-WordPress-emails-OG

The Problem With WordPress Emails

WordPress uses PHP for most of its functions, including sending emails.

Many shared hosting providers do not have the email function configured properly, or they have disabled it entirely to avoid abuse. In either case, this causes your WordPress emails to not be delivered.

The alternative solution is to use a third-party email service to send out your emails. You can use services like Mailgun, Google Workspace, or SendGrid.

You will have to pay for your account, and the cost will vary depending on how many users/accounts you add or the number of emails you send. See our tutorial on how to fix the WordPress not sending email issue.

Additionally, some web hosts limit the number of emails users can send from their servers. For more information about why WordPress emails won’t send, check out our blog post on why you should never use WordPress to send newsletter emails.

There is another option, however. You can use SMTP to send emails using the WordPress hosting that you already have.

SMTP, which stands for Simple Mail Transfer Protocol, allows you to use an external mail server to handle email delivery. This ensures higher email deliverability rates and can prevent your emails from landing in the spam folder.

Video Tutorial

For written instructions, just continue reading.

Using Email Accounts by Your Host

Most WordPress hosting providers offer email services for each domain you host with them. This means you can create email accounts with your own domain name, like yourname@yoursite.com.

Using your website’s domain will help you engage your subscribers from your email list and help you stay on-brand by sending messages with your domain name rather than a personal inbox.

First, you will need to create an email account. For the sake of this example, we will show you how to create an email account in cPanel using Hostinger. Your hosting service provider may use some other account management system, but the basic process is the same on most hosting services.

Log into your hosting account and click on ‘Emails’ so that you can create a new email under your domain. Then go ahead and click ‘Manage’ next to your domain.

email account hostinger

Then, you’ll need to click on ‘Create email account.’

That way, you can set up a business email under your domain name rather than the default version that WordPress gives you.

create email account

This will show you a simple form, where you need to fill out the information required to create your email account.

Since we will be using this account to send WordPress emails, we recommend that you create an email account like wordpress@example.com. Make sure to replace example.com with your own domain name.

Go ahead and enter your email name and password. Then click ‘Create.’

create email name and password

From here, you’ll be asked to configure third-party email services to connect to.

That said, you can choose ‘Other’ if you don’t want to use any of the given services.

configure apps and devices

Make sure to copy the SMTP Host and Port since you’ll need to add that information to the settings of your WordPress SMTP plugin to start sending emails reliably.

The SMTP Host will allow you to send emails from the email address you’ve just created, and the SMTP Port is for secure login.

Finally, go ahead and click on ‘Complete, I’ve set up my client.’

SMTP host and port

If you’re using another hosting provider, like Bluehost or SiteGround, you can check the support section on your host’s website for this information. Most likely, there will be an article providing this information. If you don’t find it, then you should contact the hosting support to request this information.

Unfortunately, WordPress doesn’t offer built-in native SMTP settings by default. If you want to configure SMTP in WordPress for emails, you must install a SMTP plugin.

Using a WordPress SMTP plugin allows all of your emails to reach the desired destination by connecting to a server made to handle all types of emails. It will replace the default method of sending emails through WordPress, which uses the unreliable PHP mail system.

Using Your Branded Email Address in WordPress

You will now need to install and activate the WP Mail SMTP plugin.

WP Mail SMTP website

Used by over 3 million websites, the WP Mail SMTP plugin is the best SMTP plugin for WordPress. It allows you to fix your emails easily by sending them through an email provider, which is a much more reliable way of sending emails than from your web server. 

For more details, see our step-by-step guide on how to install a WordPress plugin.

Upon activation, you must visit Settings » Email to configure the plugin settings.

First, you need to enter the email address you just created in the From Email field. After that, you can add a From Name that will be used as the sender name.

WP Mail SMTP Settings

Next, you need to choose the mailer. Go ahead and check the box next to Return Path that says, ‘Set the return-path to match the From Email’. After that, you need to check the box next to ‘Return Path’ option.

This option sets the return path to match the sender’s email address. If you leave it unchecked, bounced messages and non-delivery receipts will be lost.

Then, click on the ‘Other SMTP’ option to select it. If you have another mailer service, you can select that instead.

Other SMTP

Note: The free version of WP Mail SMTP supports SendLayer, SMTP.com, Brevo, Google Workspace, Mailgun, Postmark, SendGrid, SparkPost, and Other SMTP.

However, the Pro version also supports Amazon SES, Microsoft 365/Outlook, and Zoho Mail in addition to all the free options. Also, with the Pro version, you can turn on Detailed Email Logs and Instant Email Alerts. The email logs allow you to keep records of every email sent out, and the email alerts inform you whenever your site fails to send an email.

Next, you need to set up SMTP options.

First, you need to enter your SMTP host and port that you copied earlier.

You can obtain this information from your hosting provider. Typically, the SMTP host is mail.yourdomain.com (replace yourdomain.com with your own domain name). For SMTP, Port 465 is commonly used.

Depending on your hosting provider, they’ll provide an encryption method when signing up for an email account.

In this case, we are given an SSL encryption method in Hostinger, so we will select that option. However, some hosting services may provide TLS options as well.

Choosing the encryption method is important because it ensures your emails are secure and private. Without it, the content inside the emails could be intercepted and read by unauthorized parties.

smtp host and smtp port

After that, turn on the authentication toggle and provide your SMTP username and password. Normally, your email address is also your SMTP username.

Then go ahead and give your SMTP account a password.

SMTP username and password

You can always use a password manager, like 1Password, to securely manage your passwords.

Don’t forget to click on the ‘Save Settings’ button to store your changes.

save settings

Keep in mind that if you do have another mailer service, you can add that service as a backup connection. That means if an email fails to send using your primary connection, then WP Mail SMTP will automatically try to send the email again using your backup connection.

If you’d like to add another mailer service, just hit the ‘additional connection’ link shown in the screenshot above, and WP Mail SMTP will guide you on how to do it.

If you don’t have Hostinger, these steps will look a little different. In that case, you may want to check out our ultimate guide on how to set up WP Mail SMTP with any host.

Testing Your SMTP Settings

Now that you have set up WP Mail SMTP to send emails, let’s test if everything is working fine. Head over to WP Mail SMTP » Tools in the WordPress admin panel.

Under the ‘Email Test’ tab, you need to provide an email address where you would like to receive a test email. This could be any valid email address that you can access.

Go ahead and toggle the HTML button to ‘ON.’ After that, click on the Send Email button to continue.

send a test email

WP Mail SMTP will now send an email message using the SMTP settings you entered earlier.

Check your inbox, and you should see a success message appear informing you that the email was sent successfully.

WP SMTP success message

Troubleshooting WordPress Email Issues

The most common reason for errors in sending emails using SMTP is an incorrect SMTP host or port.

Make sure that you are entering the correct host and port settings provided by your hosting provider.

smtp host and smtp port

Make sure that you select the correct encryption method.

Usually, SSL works on most environments, but we recommend that you check with your web host if your emails are not getting delivered.

Resending Emails Manually

Even if there aren’t any SMTP configuration errors, you may still experience temporary issues.

For example, the recipient’s email server might be causing emails to bounce or the mailer service may place a cap on how many emails you can send per day. If you exceed the allowed number of sent emails in a given time frame, the emails may be rejected.

In that case, you can simply resend it to those specific recipients. All you have to do is head over to WP Mail SMTP » Email Log.

Simply check all of the boxes next to the emails that failed to resend, and under the Bulk Actions dropdown menu, select the ‘Resend’ option and click ‘Apply.’

resend emails

Then, a pop-up message will appear, asking you to confirm if you want to resend the selected emails.

Go ahead and hit the ‘Yes’ button.

heads up message

Finally, you’ll receive a confirmation message on the screen that the emails are in the queue and will be resent shortly. Then, click ‘OK.’

There you have it! Now you know how to successfully use an SMTP server to send WordPress emails.

ok button

Pros and Cons of Using Your Web Host’s Mail Servers for WordPress Emails

First and foremost, the most obvious advantage of using your web host’s servers for sending emails in WordPress is that you can use your own branded email address.

Another pro is that you have already paid for this service when signing up for your hosting account. You will not need to pay any extra money to send and receive emails.

However, some WordPress hosting providers enforce limitations on outgoing emails. This is why we don’t recommend using WordPress to send newsletter emails and suggest using SMTP for transaction emails alone.

Another common problem with shared hosting providers is that their mail servers can be quite unreliable at times. If you notice delays in email delivery, then you should consider using third-party email services like Google Workspace, Mailgun, or SendGrid.

We hope this article helped you learn how to use an SMTP server to send WordPress emails. You may also want to see our list of the must have WordPress plugins for businesses or our guide on how to create a free business email address.

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 Use SMTP Server to Send WordPress Emails first appeared on WPBeginner.

Using AI For Neurodiversity And Building Inclusive Tools

In 1998, Judy Singer, an Australian sociologist working on biodiversity, coined the term “neurodiversity.” It means every individual is unique, but sometimes this uniqueness is considered a deficit in the eyes of neuro-typicals because it is uncommon. However, neurodiversity is the inclusivity of these unique ways of thinking, behaving, or learning.

Humans have an innate ability to classify things and make them simple to understand, so neurodivergence is classified as something different, making it much harder to accept as normal.

“Why not propose that just as biodiversity is essential to ecosystem stability, so neurodiversity may be essential for cultural stability?”

— Judy Singer

Culture is more abstract in the context of biodiversity; it has to do with values, thoughts, expectations, roles, customs, social acceptance, and so on; things get tricky.

Discoveries and inventions are driven by personal motivation. Judy Singer started exploring the concept of neurodiversity because her daughter was diagnosed with autism. Autistic individuals are people who are socially awkward but are very passionate about particular things in their lives. Like Judy, we have a moral obligation as designers to create products everyone can use, including these unique individuals. With the advancement of technology, inclusivity has become far more important. It should be a priority for every company.

As AI becomes increasingly tangled in our technology, we should also consider how being more inclusive will help, mainly because we must recognize such a significant number. AI allows us to design affordable, adaptable, and supportive products. Normalizing the phenomenon is far easier with AI, and it would help build personalized tools, reminders, alerts, and usage of language and its form.

We need to remember that these changes should not be made only for neurodiverse individuals; it would help everyone. Even neurotypicals have different ways of grasping information; some are kinesthetic learners, and others are auditory or visual.

Diverse thinking is just a different way of approaching and solving problems. Remember, many great minds are neurodiverse. Alan Turing, who cracked the code of enigma machines, was autistic. Fun fact: he was also the one who built the first AI machine. Steve Jobs, the founder and pioneer design thinker, had dyslexia. Emma Watson, famously known for her role as Hermione Granger from the Harry Potter series, has Attention-Deficit/Hyperactivity Disorder (ADHD). There are many more innovators and disruptors out there who are different.

Neurodivergence is a non-medical umbrella term.) used to classify brain function, behavior, and processing, which is different from normal. Let’s also keep in mind that these examples and interpretations are meant to shed some light on the importance of the neglected topic. It should be a reminder for us to invest further and investigate how we can make this rapidly growing technology in favor of this group as we try to normalize neurodiversity.

Types Of Neurodiversities
  • Autism: Autism spectrum disorder (ASD) is a neurological and developmental disorder that affects how people interact with others, communicate, learn, and behave.
  • Learning Disabilities
    The common learning disabilities:
  • Attention-Deficit/Hyperactivity Disorder (ADHD): An ongoing pattern of inattention and/or hyperactivity-impulsivity that interferes with functioning or development.
Making AI Technology More Neuro-inclusive

Artificial Intelligence (AI) enables machines to think and perform tasks. However, this thinking is based on algorithmic logic, and that logic is based on multiple examples, books, and information that AI uses to generate the resulting output. The network of information that AI mimics is just like our brains; it is called a neural network, so data processing is similar to how we process information in our brains to solve a problem.

We do not need to do anything special for neurodiversity, which is the beauty of AI technology in its current state. Everything already exists; it is the usage of the technology that needs to change.

There are many ways we could improve it. Let’s look at four ways that are crucial to get us started.

Workflow Improvements

For: Autistic and ADHD
Focus: Working memory

Gartner found that 80% of executives think automation can be applied to any business decision. Businesses realized that a tactical approach is less successful than a strategic approach to using AI. For example, it can support business decisions that would otherwise require a lot of manual research.

AI has played a massive role in automating various tasks till now and will continue to do so in the future; it helps users reduce the time they spend on repetitive aspects of their jobs. It saves users a lot of time to focus their efforts on things that matter. Mundane tasks get stacked in the working memory; however, there is a limit: humans can keep up to 3–5 ideas simultaneously. If there are more than five ideas at play, humans ought to forget or miss something unless they document it. When completing these typical but necessary tasks, it becomes time-consuming and frustrating for users to focus on their work. This is especially troublesome for neurodivergent employees.

Autistic and ADHD users might have difficulty following through or focusing on aspects of their work, especially if it does not interest them. Straying thoughts is not uncommon; it makes it even harder to concentrate. Autistic individuals are hyper-focused, preventing them from grasping other relevant information. On the contrary, ADHD users lose focus quickly as their attention span is limited, so their working memory takes a toll.

AI could identify this and help users overcome it. Improving and automating the workflow will allow them to focus on the critical tasks. It means less distractions and more direction. Since they have trouble with working memory, allowing the tool to assist them in capturing moments to help recall later would benefit them greatly.

Example That Can Be Improved

Zoom recently launched its AI companion. When a user joins a meeting as a host, they can use this tool for various actions. One of those actions is to summarize the meeting. It auto-generates meeting notes at the end and shares them. AI companion is an excellent feature for automating notes in the meeting, allowing all the participants to not worry about taking notes.

Opportunity: Along with the auto-generated notes, Zoom should allow users to take notes in-app and use them in their summaries. Sometimes, users get tangent thoughts or ideas that could be useful, and they can create notes. It should also allow users to choose the type of summary they want, giving them more control over it, e.g., short, simplified, or list. AI could also personalize this content to allow participants to comprehend it in their own way. Autistic users would benefit from their hyper-focused attention in the meeting. ADHD users can still capture those stray thoughts, which the AI will summarize in the notes. Big corporations usually are more traditional with incremental improvements. Small tech companies have less to lose, so we often see innovation there.

Neurodivergent Friendly Example

Fireflies.ai is an excellent example of how neuro-inclusivity can be considered, and it covers all the bases Zoom falls short of. It auto-generates meeting notes. It also allows participants to take notes, which are then appended to the auto-generated summary: this summary can be in a bullet list or a paragraph. The tool can also transcribe from the shared slide deck within the summary. It shares audio snippets of important points alongside the transcription. The product can support neurodivergent users far better.

Natural Language Processing

For: Autistic, Learning Disabilities, and ADHD
Focus: Use simple words and give emotional assistance

Words have different meanings for all. Some might understand the figurative language, but others might get offended by the choice of it. If this is so common with a neurotypical, imagine how tricky it will be for a neurodivergent. Autistic users have difficulty understanding metaphorical language and empathizing with others. Learning disabilities will have trouble with language, especially figurative language, which perplexes them. ADHD users have a short attention span, and using complex sentences would mean they will lose interest.

Using simple language aids users far better than complex sentence constructions for neurodivergent. Metaphors, jargon, or anecdotal information might be challenging to interpret and frustrate them. The frustration could avert them from pursuing things that they feel are complex. Providing them with a form of motivation by allowing them to understand and grow will enable them to pursue complexities confidently. AI could help multifold by breaking down the complex into straightforward language.

Example That Can Be Improved

Grammarly is a great tool for correcting and recommending language changes. It has grammatical and Grammarly-defined rules based on which the app makes recommendations. It also has a feature that allows users to select the tone of voice or goals, casual or academic style, enhancing the written language to the expectation. Grammarly also lets organizations define style guides; it could help the user write based on the organization’s expectations.

Opportunity: Grammarly still needs to implement a gen AI assistive technology, but that might change in the future. Large learning models (LLM) can further convert the text into inclusive language considering cultural and regional relevance. Most presets are specific to the rules Grammarly or the organization has defined, which is limiting. Sentimental analysis is still not a part of their rules. For example, if the write-up is supposed to be negative, the app recommends changing or making it positive.

Neurodivergent Friendly Example

Writer is another beautiful product that empowers users to follow guidelines established by the organization and, obviously, the grammatical rules. It provides various means to rewrite sentences that make sense, e.g., simplify, polish, shorten, and so on. Writers also assist with sentence reconstruction and recommendation based on the type of content the user writes, for instance, an error or a tooltip. Based on those features and many more under the gen AI list, Writer can perform better for neurodivergent users.

Cognitive Assistance

For: Autistic, Learning Disabilities, and ADHD
Focus: Suggestive technology

Equality Act 2010 was established to bring workplace equality with legislation on neurodiversity. Employers need to understand the additional needs of neurodivergent employees and make amendments to existing policies to incorporate them. The essence of the Equality Act can be translated into actionable digital elements to bring equality of usage of products.

Neurodiverse or not, cognitive differences are present in both groups. The gap becomes more significant when we talk about them separately. Think about it: all AI assistive technologies are cognition supplements.

Cognoassist did a study to understand cognition within people. They found that less than 10% of them score within a typical range of assessment. It proves that the difference is superficial, even if it is observable.

Cognition is not just intelligence but a runway of multiple mental processes, irrespective of the neural inclination. It is just a different way of cognition and reproduction than normal. Nonetheless, neurodivergent users need assistive technologies more than neuro-typicals; it fills the gap quickly. This will allow them to function at the same level by making technology more inclusive.

Example That Can Be Improved

ClickUp is a project management tool that has plenty of automation baked into it. It allows users to automate or customize their daily routine, which helps everyone on the team to focus on their goals. It also lets users connect various productivity and management apps to make it a seamless experience and a one-stop shop for everything they need. The caveat is that the automation is limited to some actions.

Opportunity: Neurodivergent users sometimes need more cognitive assistance than neuro-typicals. Initiating and completing tasks is difficult, and a push could help them get started or complete them. The tool could also help them with organization, benefiting them greatly. Autistic individuals prefer to complete a task in one go, while ADHD people like to mix it up as they get the necessary break from each task and refocus. An intelligent AI system could help users by creating more personalized planned days and a to-do list to get things started.

Neurodivergent Friendly Example

Motion focuses on planning and scheduling the user’s day to help with their productivity goals. When users connect their calendars to this tool, they can schedule their meetings with AI by considering heads-down time or focused attention sessions based on each user’s requirement. The user can personalize their entire schedule according to their liking. The tool will proactively schedule incoming meetings or make recommendations on time. This AI assistive technology also aids them with planning around deadlines.

Adaptive Onboarding

For: Learning Disabilities and ADHD
Focus: Reduce Frustration

According to Epsilon, 80% of consumers want a personalized experience. All of these personalization experiences are to make the user’s workflow easier. These personalized experiences start from the introduction to the usage of the product. Onboarding helps users learn about the product, but learning continues after the initial product presentation.

We cannot expect users to know about the product once the onboarding has been completed and they need assistance in the future. Over time, if users have a hard time comprehending or completing a task, they get frustrated; this is particularly true for ADHD users. At the same time, users with learning disabilities do not remember every step either because they are too complex or have multiple steps.

Adaptive onboarding will allow everyone to re-learn when needed; it would benefit them more since help is available when needed. This type of onboarding could be AI-driven and much more generative. It could focus on different learning styles, either assistive, audio, or video presentation.

Example That Can Be Improved:

Product Fruits has a plethora of offerings, including onboarding. It offers personalization and the ability to tailor the onboarding to cover the product for new users. Allowing customization with onboarding gives the product team more control over what needs attention. It also provides the capability to track product usage based on the onboarding.

Opportunity: Offering AI interventions for different personas or segments will give the tool an additional layer of experience tailored to the needs of individuals. Imagine a user with ADHD who is trying to figure out how to use the feature; they will get frustrated if they do not identify how to use it. What if the tool intuitively nudges the user on how to complete the task? Similarly, if completing the task is complex and requires multiple steps, users with learning disabilities have difficulty following and reproducing it.

Neurodivergent Friendly Example

Onboarding does not always need to be at the start of the product introduction. Users always end up in situations where they need to find a step in the feature of completing a task but might have difficulty discovering it. In such cases, they usually seek help by asking colleagues or looking it up on the product help page.

Chameleon helps by offering features that let users use AI more effectively. Users can ask for help anytime, and the AI will generate answers to help them.

Considerations

All the issues I mentioned are present in everyone; the difference is the occurrence and intensity between neurotypical and neurodiverse individuals. Everyday things, discussions, conclusions, critical thinking, comprehension, and so on, are vastly different. It is like neurodiverse individuals’ brains are wired differently. It becomes more important to build tools that solve problems for neurodiverse users, which we inadvertently solve for everyone.

An argument that every human goes through those problems is easy to make. But, we tend to forget the intensity and criticality of those problems for neurodiverse individuals, which is far too complex than shrugging it off like neuro-typicals who can adapt to it much more quickly. Similarly, AI too has to learn and understand the problems it needs to solve. It can be confusing for the algorithm to learn unless it does not have multiple examples.

Large Language Models (LLM) are trained on vast amounts of data, such as ChatGPT, for example. It is accurate most of the time; however, sometimes, it hallucinates and gives an inaccurate answer. That might be a considerable problem when no additional guidelines exist except for the LLM. As mentioned above, there is still a possibility in most cases, but having the company guidelines and information would help give correct results.

It could also mean the users will be more dependent on AI, and there is no harm in it. If neurodiverse individuals need assistance, there cannot be a human present all the time carrying the patience required every time. Being direct is an advantage of AI, which is helpful in the case of their profession.

Conclusion

Designers should create efficient workflows for neurodivergent users who are having difficulty with working memory, comprehending complex language, learning intricate details, and so on. AI could help by providing cognitive assistance and adaptive technologies that benefit neurodivergent users greatly. Neurodiversity should be considered in product design; it needs more attention.

AI has become increasingly tied in every aspect of the user’s lives. Some are obvious, like conversational UI, chatbots, and so on, while others are hidden algorithms like recommendation engines.

Many problems specific to accessibility are being solved, but are they being solved while keeping neurodiverse issues in mind?

Jamie Diamon famously said:

“Problems don’t age well.”

— Jamie Diamon (CEO, JP Morgan)

This means we have to take critical issues into account sooner. Building an inclusive world for those 1.6 billion people is not a need for the future but a necessity of the present. We should strive to create an inclusive world for neurodiverse users; it is especially true because AI is booming, and making it inclusive now would be easy as it will scale into a behemoth set of features in every aspect of our lives in the future.

How to Sell Personal Training Services with WordPress

Do you want to sell your personal training services online?

Luckily, WordPress lets you create a simple payment form or even an entire membership site to sell your personal training services. This will allow clients to ask about your services and schedule training sessions directly through your website, helping you grow your business.

In this article, we will show you how to easily sell personal training services with WordPress, step by step.

Sell Personal Training Services with WordPress

Why Sell Personal Training Services Online?

Building a website to sell your personal training services online can act as a base to showcase your experience and promote your training sessions. This expands your reach, helping you attract more clients who may not have heard of your business offline.

If you have a gym website, then adding a training services sign-up form is a good idea. This will make it easier for potential clients to join your gym after viewing your experience and training philosophy on your website.

It will also give your customers a central place for communication and booking, making the process smooth and convenient.

Plus, you can collect important customer information like fitness goals, any injuries or limitations, and preferred training methods. This will let you create personalized training programs for individual clients.

Why Use WordPress to Sell Personal Training Services?

Before you can add a training services form and start making money online, you must first create a website where you can promote your services. We recommend choosing WordPress because it is the best website builder on the market and is used by over 43% of sites on the internet.

However, you must know that there are two types of WordPress. WordPress.com is a blog hosting platform, while WordPress.org is an open-source, self-hosted software. For more details, see our comparison between WordPress.com and WordPress.org.

To sell personal training services, we recommend WordPress.org because it is completely free, flexible, and can integrate with plugins to help you sell your services.

For more information, see our complete WordPress.org review.

Once you have chosen a website builder, you must purchase a hosting plan and domain name to sell your training services. This is where your costs will start adding up.

That is why we recommend opting for Bluehost, which is a WordPress-recommended hosting company.

Bluehost offer for WPBeginner readers

They offer a generous discount to WPBeginner readers along with a free SSL certificate and domain name. To get up to a 77% discount, just click on the button below.

Upon purchasing hosting, you can see our beginner’s guide on how to make a WordPress website for more instructions.

Now, let’s see how to sell your personal training services with WordPress easily. You can use the links below to jump to the method of your choice:

Method 1: Sell Training Services With WPForms (Easy)

You can easily sell training services in WordPress with WPForms. It is the best contact form plugin on the market that comes with a drag-and-drop builder, 1700+ premade templates, and a premade personal training signup form.

First, you need to install and activate WPForms. For details, see our beginner’s guide on how to install a WordPress plugin.

Note: WPForms has a free plan. However, you will need the pro version to unlock the personal trainer form template.

You will also need to install a payment addon to accept payments through PayPal, Stripe, Square, or Authorize.net on your online form.

You can do this by going to the WPForms » Addons page from the WordPress dashboard and clicking the ‘Install Addon’ button under the payment processor you want to use. In our example, we are installing the PayPal standard addon.

Install the PayPal Standard Addon

You will then need to go to WPForms » Settings and click on ‘Payments’ to set up the payment processor of your choice.

For more details, you can see our tutorial on how to create a WordPress form with payment options.

WPForms' payment settings

Then, you can visit the WPForms » Add New page from the WordPress dashboard and add a name for your form.

After that, find the ‘Personal Trainer Sign-Up Form’ template and click the ‘Use Template’ button under it.

Choose the personal trainer sign up form template

This will open the WPForms drag-and-drop builder, where you will see a form preview on the right with form fields on the left side of the screen.

From here, you can add, rearrange, and delete fields according to your liking.

Add, rearrange, or delete form fields in the personal trainer sign up form

Next, you can scroll down and click on the ‘Trainer Preference’ field to open its settings in the left column. You can then change the preference options.

For instance, if you want clients to select trainers based on their experience rather than gender, then you can add those options in the ‘Choices’ field.

Configure the trainer preference field

Similarly, you can change the days and times you are available for personal training.

Once you do that, you can configure the Desired Packages field to add your personal training session packages in the form.

For example, you might offer a fitness assessment, a single training session, 4 training sessions, and 12 training session packages to your customers.

Add training service packages

Next, you have to add a payment field to your form so that users can pay for your training sessions directly.

Scroll down to the ‘Payment Fields’ section in the left column. Next, add the ‘Multiple Choice’ field to the form.

Add the multiple Items payment field

After that, click on the field again to open its settings in the sidebar.

From here, you can add the names and prices for your personal training sessions.

Add prices for each training session package

Then, switch to the Settings » Notifications tab from the left column and toggle the ‘Enable Notifications’ switch to on. Now, users will receive an email notification upon submitting the form on your site.

Once you do that, scroll down to the ‘Email Message’ section, where you can type the message that will be sent to potential clients.

If you haven’t added a payment field to your form, then you can tell customers how long it will take to reach out to them for payment details using this message.

You can also edit the subject line and email address from here.

Add an email notification message for users

Once you are satisfied, simply click the ‘Save’ button at the top to store your settings.

Expert Tip: Emails sent directly from WordPress can end up in your users’ spam folders. That’s why we recommend using an SMTP service like WP Mail SMTP. For more details, you can see our guide on how to fix the WordPress not sending emails issue.

Now, open the page or post where you want to add the training services form. Here, click the add block (+) button in the top left corner and add the WPForms block.

Then, go ahead and select the form you just created from the dropdown menu within the block itself.

Add the personal training services form to a page

Finally, click the ‘Update’ or ‘Publish’ button to store your settings.

You can now visit your WordPress site to view the personal training services form in action.

Personal training services form preview

With WPForms, you can then view all your form entries right from your dashboard.

To do this, you must visit the WPForms » All Forms page and click the ‘Entries’ link under the training services form you created.

Click Entries link under the form name on the All Forms page

This will take you to a new screen, where you can view the data of all the users who have submitted the form by clicking the ‘View’ link on the right.

You can also delete and edit the entries according to your liking.

View the training services form details

Method 2: Sell Training Services With WP Simple Pay (Free)

If you are looking for a free way to add a personal training services form to your website, then this method is for you.

WP Simple Pay is the best WordPress Stripe plugin that allows you to accept online payments without setting up a shopping cart. It comes with a payment form builder, easy setup, secure payment processing, recurring payments, and premade templates.

Overall, it makes it super easy to build a personal training services form with the plugin.

First, you need to install and activate WP Simple Pay. For detailed instructions, you can see our step-by-step guide on how to install a WordPress plugin.

Note: WP Simple Pay has a free plan that you can use for this tutorial. However, we will be using the pro version to unlock more features.

Upon activation, a setup wizard will be launched on the screen, where you must click the ‘Let’s Get Started’ button.

The WP Simple Pay Setup Wizard Will Start Automatically

You will then be taken to a new page, where you must enter your license key. This option will only apply to users with a pro plan. You can find this information in your account on the WP Simple Pay website.

Once you have done that, simply click the ‘Activate and Continue’ button.

You’ll Be Asked to Enter Your WP Simple Pay License Key

Next, you will be asked to connect your plugin with Stripe, which is a popular payment gateway that easily accepts online payments.

To do this, click the ‘Connect with Stripe’ button.

Connect with Stripe

This will direct you to another screen, where you must log in to your Stripe account to connect it with WP Simple Pay. If you don’t have an account yet, then you can create one by visiting the Stripe website.

For more information, see our tutorial on how to accept Stripe payments in WordPress.

Upon successful integration, the setup wizard will ask you to configure email settings.

Now, simply enable options to receive email notifications for payment receipts, upcoming invoices, and payment notifications and enter the email address to send them to.

Once that is done, click the ‘Save and Continue’ button.

Configure Your WP Simple Pay Emails

Next, you must visit the WP Simple Pay » Add New page from the WordPress dashboard to start building a personal training services form.

This will open the ‘Select a Template’ screen, where you will see a list of premade templates.

Since WP Simple Pay does not offer a specific template for training services, you can click the ‘Use Template’ button under the ‘Payment Form’ option.

Select a template for WP Simple Pay

This will take you to the ‘Add New Payment Form’ page, where you can start by adding a name and description for your personal training services form.

After that, select ‘On-site payment form’ as your form type.

Add a title and description for the training services form

Next, switch to the ‘Payments’ tab and add a label and pricing for the training session that you offer.

If you offer more than one training service package, then you can click the ‘Add Price’ button to add multiple pricing options for different deals.

Add pricing for different training packages

Once you do that, scroll down to the ‘Payment Methods’ section and check the box next to the payment gateways that you want to add to your form.

With WP Simple Pay, you can add SEPA, Affirm, Klarna, and AfterPay as payment methods as well. However, you will need the pro plan for these options.

If you have the free plan, then you will only be able to add AliPay and debit/credit card as payment methods.

Choose the All option from the payment method dropdown menu

After that, switch to the ‘Form Fields’ page from the left column. Here, the payment form has the email address, price selector, and payment methods as the default fields.

However, if you also want users to submit their name, phone number, and address, then you can select those options from the dropdown menu.

Add the name, phone, and address form fields

Similarly, if you want to add a custom age or weight field to your form, then you must select the ‘Text’ form field from the dropdown menu.

Once you do that, expand the field settings and add ‘Age’ as a label and placeholder text.

Create custom age and weight fields

Additionally, you can select the ‘Dropdown’ form field to add custom trainer, day, or timing preference fields.

Here, simply expand the field tab and add a label. Then, you can type all the options that you want to offer your clients into the ‘Options’ field.

For instance, if you want users to be able to select specific days for their personal training, then you can type the available days into the field.

Keep in mind to separate each option with a comma.

Create custom dropdown fields for trainer, days, and timing preference

Once that is done, switch to the ‘Payment Page’ tab and check the ‘Enable a dedicated payment page’ box.

WP Simple Pay will now create a custom personal training service payment page for you.

You can simply add a URL for the form page in the ‘Permalink’ field and then choose a color scheme, image, and footer text.

Customize the payment page

Finally, click the ‘Publish’ button on the right to store your settings.

You can then visit your WordPress site to view the personal training services form.

Preview of the custom training services form page

Alternatively, if just want to add the form to an existing page, then you must click the ‘Publish’ button after adding form fields.

After that, visit the page or post where you want to add the form and click the add block (+) button.

Once the block menu opens up, just add the WP Simple Pay block and choose the form from the dropdown menu.

Add the WP Simple Pay block in the content editor

Then, click the ‘Update’ or ‘Publish’ button to store your settings.

Now, you can visit the existing page on your WordPress site to view the personal training services form in action.

Preview of the personal training services form created with WP Simple Pay

Bonus: How to Sell Training Courses and Videos as Downloads

Apart from services, you can also sell training courses and videos on your WordPress site. It is a cost-effective way to earn money online and can motivate users who buy your courses to also sign up for personal training sessions.

You can easily sell training courses with Easy Digital Downloads, which is the best WordPress plugin for selling digital products like PDFs, videos, music, courses, eBooks, and more.

Easy Digital Downloads Website

You can easily connect the plugin with multiple payment gateways and create your first digital product by visiting the Downloads » Add New page.

This will open the block editor, where you can add a name and description for the training video or course. Once you do that, scroll down to the ‘Download Files’ option and upload the training video from your computer. Then, add its pricing in the ‘Pricing Options’ field.

Sell training videos with EDD

You can also set categories, tags, and featured images for your product. Finally, click the ‘Publish’ button at the top to store your settings.

You have now successfully added a training video for sale on your gym website. For more information, you can see our tutorial on how to sell digital downloads on WordPress.

Bonus: How to Start a Coaching Business in WordPress

Other than selling personal training sessions, which are limited by location, you can also start online coaching through your website. This will allow you to work with clients globally and generate more conversions.

With online coaching, you can run sessions at any time of day through pre-recordings, live chat, or video conferencing. You can also organize workshops and group coaching to build a sense of community among different clients.

Plus, online coaching is much more cost-effective than running a physical gym, making it a great option.

You can easily start a coaching business with MemberPress, which is the best membership plugin for WordPress. It allows you to create different subscription levels for your clients and schedule your content release at specific intervals to engage users.

Other than that, you can create an automated onboarding process, add milestone tracking, and use automated reminders to motivate clients to complete their coaching programs.

MemberPress also lets you build premium coaching content that users must purchase for access, making it a great choice. For more details, see our tutorial on how to start an online coaching business.

We hope this article helped you learn how to easily sell personal training services in WordPress. You may also like to see our beginner’s guide on how to start an online store to sell your fitness products or our top picks for the best WordPress theme builders to make your fitness website visually appealing.

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 Sell Personal Training Services with WordPress first appeared on WPBeginner.