Do you want to move a site from a WordPress multisite to a single install?
If you run a WordPress multisite network, sometimes, you may need to move one of the websites to its own separate WordPress install.
In this article, we’ll show you how to easily move a site from WordPress multisite to its own single install while preserving SEO rankings and all your content.
Step 1: Getting Started
To move a website from a WordPress multisite network, you’ll need a domain name.
If you already have a domain name where you want to install the single site, then you are good to go.
If you don’t have a separate domain name, you’ll need to register and add a new domain name to your hosting account.
We recommend using Domain.com. They are one of the best domain name registrars in the world and offer beginner-friendly domain management experience.
Important: Since you are going to make some serious changes to your WordPress multisite, it is necessary to create a complete WordPress backup before you do anything else.
Now that everything is set up, let’s move a site from WordPress multisite network to its single install.
Step 2: Exporting a Single Site in WordPress Multisite Network
The built-in WordPress import/export functionality works the same way in multisite as it does on a single site install. We will use the default tools to export the data from a site on a WordPress multisite network.
First, you need to log in to the dashboard of the single site you want to move, and then click on Tools » Export.
Next, you want to ensure all content is checked and click on the Download Export File button.
WordPress will now create an XML file containing all your data and send it to your browser for download.
Be sure to save the file on your computer because you will need it later.
Step 3: Importing Child Site to New Domain
Login to the WordPress admin area on the new location where you want to move your child site and then go to Tools » Import. On the import screen, WordPress will show you a number of import options.
You need to click on the ‘Install Now’ link below ‘WordPress.’
Wait for the importer to be installed and then click on the ‘Run Importer’ link.
On the next screen, you will be asked to upload the WordPress export file you downloaded earlier from the WordPress multisite.
Click on the Choose file button to select the file from your computer and then click on the ‘Upload file and import’ button.
On the next screen, WordPress will ask if you would also like to import users. If you do nothing, then WordPress will import all users. This is recommended if you do not want to change authors.
You will also see the Import Attachments option, and you want to make sure it is checked so that WordPress can download images from your posts and pages.
Don’t worry if it misses out on some or most of your images. You can import them separately afterward.
Click on the ‘Submit’ button to continue.
WordPress will now start importing your content. This will take a few minutes depending on how much content you have. Once it is done, you will see a notification that says ‘All done. Have fun!’
That’s all. You have successfully imported data from a multisite network child site to an individual WordPress install. There are still a few things left to do.
However, if you were using subdomains or directory structures in your WordPress multisite, you need to set up redirection so that users coming to your old URLs are redirected to your new site.
There are two ways to do this. You can set up a redirect using a WordPress plugin (recommended), or you can add some code to your WordPress .htaccess file.
We’ll show you both methods, and you can choose the one that best suits you.
Note: Make sure that your old site on the multisite network and the site on the new domain are both using the same permalink structure.
Method 1. Setting Redirects Using All in One SEO for WordPress
This method is easier and recommended for all users. We’ll be using All in One SEO for WordPress, which is the best WordPress SEO plugin on the market.
It allows you to easily optimize your WordPress site for search engines and comes with powerful features like SEO analysis, custom XML sitemaps, Schema.org support, and a redirects manager.
Note: You’ll need at least the Pro plan to access the Redirection Manager feature.
Next, you need to install and network activate the Redirection Manager addon. You can find it under ‘Downloads’ from your account page on the All in One SEO website.
Once you have network-activated both plugins, you need to switch to the dashboard of the child site.
From here, go to the All in One SEO » Redirects page and switch to the ‘Full Site Redirect’ tab.
First, turn on the Relocate Site option by toggling the switch next to it.
Then, enter your new site’s domain name next to ‘Relocate to domain’ option.
Now click on the Save Changes button to store your settings.
All in One SEO for WordPress will now redirect users to your new domain name.
Method 2. Setting up Redirects using the Redirection Plugin
First, you need to install the Redirection plugin on your WordPress Multisite.
You can Network Activate a plugin, or you can log in as Super Admin on your child site and activate the Redirection plugin for that particular site alone.
After that, you need to visit the admin dashboard of the child site for which you want to set up the redirect.
Redirecting from Subdomain to New Domain
The Redirection plugin makes it super easy to point a domain name to a different one.
Simply go to the Tools » Redirection page and switch to the ‘Site’ tab.
Simply enter your new domain name and then click on the ‘Update’ button to save your settings.
The plugin will redirect all your site users to your new domain name with the correct permalink structure.
The advantage of this method is that you can still log in to the admin area of your old subdomain.
Redirecting from Directory to New Domain
If your multisite uses a directory-based URL structure, then the Redirection plugin makes it easy to redirect it properly to your new domain.
Simply go to the Tools » Redirection page on your sub-site, and then click on the Add New button at the top.
This will take you to Redirection’s setup form. Here is how you need to fill in that form:
This code redirects visitors coming to any page on subdomain.example.com to http://www.example.net. The $1 sign at the end of the destination URL ensures that your users land on the same page they requested.
Redirecting From Directory to New Domain
For directory-based multisite installs, you’ll need to paste the following code in the .htaccess file of your WordPress multisite.
Options +FollowSymLinks
RewriteEngine On
RewriteRule ^childsite/(.*)$ http://example.net/$1 [R=301,L]
This code simply redirects any users coming on http://www.example.com/childsite/ to http://example.net. The $1 makes sure that your users land on exactly the same page or post they requested.
Don’t forget to replace childsite and example.net with the name of your subsite and its new location.
Step 5: Troubleshooting the Migration
Moving a site is not a routine task, so it is likely that you may come across some issues.
1. Export File Too Large – If your WordPress export file is too large, you may fail to import it properly. To fix this, you may need to split large XML file into smaller pieces.
2. Images Not Imported – Another common issue is that images may not import correctly to your new site. To fix this, you can try importing them as external images.
3. Redirects Not Working – If users are not being redirected correctly to your new site, then you need to carefully review your redirect settings. Make sure that your single install and the child site are both using the same Permalinks structure.
We hope this article helped you move a site from a WordPress multisite to a single install. You may also want to review our WordPress SEO checklist for your new install or try these essential WordPress plugins on your fresh site.
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.
How did WPMU DEV compare against other WordPress leaders in the areas of Managed Hosting, Web Hosting, and WordPress Site Management for the Summer 2023 quarter?
Managed Hosting user satisfaction rankings (Summer 2023)
Summary
WPMU DEV, along with Kinsta, tops 3 of the 5 G2 user satisfaction categories shown above, including an amazing 99% for Quality of Support, which we’re pretty chuffed about.
Web Hosting user satisfaction rankings (Summer 2023)
Summary
WPMU DEV and Kinsta ranked highest for the various G2 user satisfaction categories shown above. Notably, WPMU DEV topped Quality of Support here with another 99%Â score.
WordPress Site Management overall grid rankings (Summer 2023)
User satisfaction rankings (Summer 2023)
WordPress Site Management user satisfaction rankings (Summer 2023)
Summary
WPMU DEV is the clear winner in all of G2’s WordPress Site Management categories shown above. Not much more to say, other than to brush the non-existent dust off our shoulders.
We take our members’ feedback and suggestions seriously and we provide 24×7 expert support to deal with any issues you may experience.
If you are unhappy with any aspect of our services or have suggestions for improvement, please tell us. And if you are delighted, please leave a review.
To see how our performance stacks up against other WordPress leaders, go here: How We Compare
To see what new and exciting WPMU DEV developments are coming up next, check out our roadmap.
Not a WPMU DEV member yet? Then experience our award-winning services and become a member today…it’s 100% risk-free!
Want to learn how to write a blog post outline for WordPress?
Wring a blog post outline takes the stress out of having to start your draft from scratch. With an outline, you can overcome writer’s block and order your blog post in a logical, easy-to-read structure.
In this article, we’ll share our step-by-step guide on how to write a blog post outline for your WordPress website.
Why Do You Need a Blog Post Outline?
If you’re a content writer, blogger, or content manager, you may be wondering whether it’s really worth the trouble to write an outline for a blog post.
The truth is, if you really want to write a great blog post, you’ll need to write an outline first. Here’s why:
Outlines Beat Blank Page Syndrome
Every writer knows the feeling of opening their Google Doc or the WordPress editor and staring at the blank page. You may feel overwhelmed, maybe start to sweat, and then overthink the entire post and even procrastinate the writing entirely.
With outlines, you’ll never feel intimidated before writing a new blog post. You’ll break down your posts into topics, subheadings, and talking points so you know what to write about.
Outlines Help You Write Faster
Creating an outline upfront is another way to front-load your research. You can analyze competitors in search results to plan your content. This prevents you from being stuck with research during the writing process.
Separating research from writing ensures you have all the necessary resources in hand when it’s time to write. That way, writing blog posts becomes a breeze.
Outlines Get You and Your Editor On the Same Page
If you work closely with a content manager or editor, you may want to run your outline with them before writing. It gives both people an idea of what sections to focus on, what elements to include or omit, and a general angle to write the article.
The last thing you want to do is have to rewrite an entire piece because you misunderstood what the article should’ve been about.
Outlines Help You Answer the Most Important Questions
One of the best ways to rank your content is to answer questions that people are most commonly asking.
You can use the Keyword Generator Tool from WPBeginner. It’s a free way to generate hundreds of keyword ideas and popular questions on Google. This ensures your blog content will be optimized to match user search intent.
That said, here are the 8 steps to writing the best blog post outline to help you write high-quality content that search engines love.
You can use the links below to jump to any step you want, in case you’re already in the process of outlining a blog post.
Creating a blog post outline starts with knowing what you want to write about. That means you’ll need to decide on a topic.
Start by brainstorming a few blog topics you’d like to cover. If you’re already familiar with the niche, there may be a few burning issues you want to address.
Otherwise, a good way to find topics is to use All in One SEO’s Search Statistics feature. All in One SEO is the best content optimization tool for WordPress sites, giving you insights on improving your SEO to boost rankings.
Essentially, the Search Statistics function provides a central location to see how your content is doing on Google.
This lets you keep tabs on your blog’s content performance through the content ranking report. As a result, you can identify opportunities for complementary keywords to the blog posts you already rank for.
Start by installing and activating the AIOSEO plugin. If you need instructions, follow our tutorial on how to install a WordPress plugin.
Once activated, go to the All in One SEO ≫ Search Statistics in the WordPress dashboard.
Once you’re in the Search Statistics dashboard, you’ll see SEO Statistics, Keyword Positions, and Content Performance.
Scroll down, and under the Content Performance tab, you’ll find the Top Pages, Top Losing, and Top Winning keywords. This report gives you crucial data like Clicks, Impressions, Position, and the Difference in ranking position.
You should review your Top Pages and note all the keywords performing well for you.
Use Similar Tools
Additionally, you can use a tool like Semrush to find blog post topics. You’ll navigate to their Content Marketing ≫ Topic Research.
Choose a topic and hit ‘Get content ideas.’ In this case, we’ll use one of our top-performing keywords, ‘how to garden,’ to find new keywords.
If you want to find trending topics, just toggle the switch beside ‘Trending subtopics first.’ You notice a list of cards, and each of them includes a topic followed by subtopic headlines.
Browse through the headlines to find any topics that resonate with your audience. Once you find one, click ‘Show more.’
You’ll see an expanded list of headlines, related questions, and related searches around the topic.
This should give you enough blog post ideas to create an entire content calendar.
Pick one topic you want to write about first and then move on to the next step.
Step 2. Figure Out Your Content Format
There’s no magic formula that works for every type of content. Sometimes, the format is obvious. If you’re covering a topic on ‘how to start a garden,’ it will probably be a step-by-step guide. If you’re writing about gardening tips, it may be a listicle.
But it’s not always so straightforward. Is the topic ‘best gardening tool’ a list of gardening tools, a review of a particular equipment, or an opinion article about the best tool?
The best way to decide is to simply check what’s ranking for that topic on Google. After a quick Google search, you’ll see that people searching for the ‘best gardening tools’ are actually looking for a list of tools for that topic.
Now you know it’s better to choose a listicle as the content format for this topic.
That said, here are some of the most popular content formats and when to use them.
How-to posts: When you need to teach readers how to do something step by step.
List posts: Share a curated list of great ideas in one place.
Beginner’s guide posts: When you want to simplify a technical topic to a new audience.
‘What is’ posts: When you need to define a term or answer a question.
X vs. Y posts: When comparing what makes your product better than a competitor.
Statistics post: When you want to provide a comprehensive list of stats about a particular industry.
News posts: When you want to announce a new product or feature you plan to release.
Case study posts: For deep dives into a subject backed by heavy research.
Each of these post types may have an outline that looks different, but the same steps go into creating each one.
Step 3. Decide on Your Article’s Angle
With any topic, you can choose which direction you want to take. For example, if your topic is ‘how to plant a garden,’ then you may have to decide if you mean a flower garden or a vegetable garden.
The angle makes your article interesting and unique to readers. One of the easiest ways to come up with an angle you should cover is to look at top-ranking pages on Google.
At WPBeginner, we always angle our blog posts to help small businesses like yours. Take our blog post covering the ‘best email marketing services.’
Rather than have a huge list of everything, our experts have chosen services that cater the best to small businesses because that’s what our audience really wants.
As you can see in the image above, we rank number 1 for the topic, and the number 2 result from Brevo is also looking at business email services.
If you find that the top search results are approaching the topic from a particular perspective, you should adjust your own outline to match so that you can outrank them.
Step 4. Analyze the Top-Ranking Pages and Figure Out What You Need to Cover
Once you have the angle, you’re ready to start building the actual structure and layout of your outline.
While you can use ChatGPT prompts to write an outline, we recommend manually analyzing top posts in search to see what actually ranks.
First, you can open up a new post on WordPress. To do this, go to Posts ≫ Add New in your WordPress admin area.
You’ll be directed to a blank page where you write your blog post.
We recommend writing the outline in the block editor of WordPress so that you can use AIOSEO‘s features to optimize your blog post along the way.
For example, you can scroll down to ‘AIOSEO Settings.’ Next to ‘Post Title,’ you can type in your blog post title and see if you meet the character count requirements.
Next, you want to analyze the top-ranking content on Google to determine what headings and information to cover.
Type in your search query into the search engine and click on all the top-ranking posts.
Also, be sure to look at the People Also Ask section in Google search results.
It compiles the most commonly asked questions on a topic.
You may want to cover these questions as a heading or FAQ section to ensure you’re thoroughly answering all the queries searchers are looking for.
Remember, it is important to group the headings and organize them in a logical manner.
For example, before the reader can dive into the solution, you need to explain the problem.
That’s why you should include headings such as ‘What are garden pests’ and ‘Types of garden pests to look out for.’ Then, you would dive into the methods for keeping pests out of your garden. In the end, you would maybe add the question, ‘What is the best treatment for garden pests?’ so users know the most effective solution.
And if you want to improve the user experience, you can also add a table of contents to your blog post outline.
If you’re using AIOSEO, you can easily add a Table of Contents using the block editor by simply typing in ‘/toc’ and selecting the ‘AIOSEO – Table of Contents’ block.
A table of contents will appear within your blog post that links to each of the headings below the block.
Having one of these helps readers easily navigate to any section of the blog post so they can quickly find the information they need without wasting time reading background information they may already know.
Step 5. Add Bullets Under Each Heading
Once you have your main headings, you can flesh out each section so you know what you’ll be writing in each section and what information to include.
Simply write the main points for each section on the information you’re going to cover, examples you’re going to highlight, and stats you’re going to cite.
Make sure to gather all your research articles as well. That way, you can cite these sources or know when to refer to them when writing your piece. You can source your research anywhere, including other top-ranking content, social media, YouTube, or scientific papers.
After adding bullet points under each section, you should also add internal links to include in each section. Internal linking is an important aspect of SEO, and every piece of content should include them.
With All in One SEO’s Link Assistant feature, you can easily find linking opportunities for your blog posts. First, head over to All in One SEO ≫ Link Assistant in WordPress.
Next, simply go to the ‘Links Reports’ tab. This is where you’ll find all of your posts and their internal and external links for each of them.
On this page, you can filter by Linking Opportunities or Orphaned Posts.
Linking Opportunities is where you’ll find suggestions on where to add internal links in each post, while the Orphaned Posts show you all the articles that don’t have any internal links to them.
The Links Report also shows a table with columns for the number of links in each post, if they’re internal or external, and the number of suggestions AIOSEO has for new links you can include.
Under the Linking Opportunities section at the top, just choose a post in which you want to add internal links. In this case, pick the blog post outline you’ve started.
You’ll see suggestions to add internal links. Simply review the phrases and click ‘Add Link’ to include them in your blog outline.
You can also click ‘Dismiss Suggestion’ if you don’t find a link suggestion suitable.
Before you move on to the next steps, you want to check whether your outline structure makes sense. Ask yourself questions like:
Does the post cover the most important questions the audience wants to know?
Does the article answer the main question quickly?
Is this post structured in a way that makes sense?
Is all of the information on this page necessary?
If you make the reader’s experience a top priority, you’ll stay on the right track. Make sure that your headings accurately reflect the key takeaways of your post to improve readability.
Step 6. Create a Compelling Post Title
Your post title can have a huge impact on your SEO rankings and traffic. Its primary job is to tell search engines and visitors what they can expect from a blog post.
First impressions matter, and your blog post’s title is the first thing visitors will see when performing a search. This is your chance to make a great first impression.
To better optimize your on-page SEO, we recommend using the Headline Analyzer from All in One SEO.
Head over to All in One SEO ≫ SEO Analysis in your WordPress dashboard. Then click on the ‘Headline Analyzer’ tab.
Type in your title into the search bar and click ‘Analyze.
From there, it’ll give you suggestions and tell you your title is optimized for search.
You may get feedback telling you that your character or word count is too short or doesn’t have enough emotional appeal to it to grab attention.
Here are the main factors that All in One SEO Headline Analyzer uses to grade your title:
Word Balance: This helps you find the perfect balance between common, uncommon, emotional, and power words. Emotional words drive more clicks and power to make your title stand out.
Sentiment: The Headline Analyzer checks whether your title has a neutral, positive, or negative sentiment. Positive emotions result in the most click-throughs. For example, our blog post ‘Best Blogging Niche – 7 That Will Make Money (Easily)‘ has a positive sentiment.
Character and word count: Your title will be judged by how many characters and words it contains. Headlines about 55 characters long will display fully in search results, and titles should be over 5 words.
When writing blog posts, it’s a good idea to include related keywords to help search engines better understand your article.
Specifically, you want to find LSI keywords (latent semantic indexing). These are words and phrases that closely tie to the target keyword but aren’t quite synonyms.
For example, if you write about ‘pest control for gardens,’ LSI keywords may include ‘natural pest control’ and ‘organic pest prevention methods.’
LSI keywords are important because they help search engines understand the overall topic of the blog post.
Search engines scan your content for contextually related words to determine your article topic and relevance to the query. LSI keywords also help you rank in the right queries and put your content in front of the right audience.
You’ll want to jot down a small list of important LSI keywords and try to add them in sections of your post where they may fit.
To find LSI keywords, you can use the WPBeginner Keyword Research Tool. It’s completely free to use, and you’ll receive hundreds of keyword ideas.
You can organize keywords by different types of questions as well, which is a great way to find more subtopics for your blog post.
When you’ve found the keywords you want to focus on, you can check to see their volume and difficulty by using keyword research tools like Ahrefs or Semrush.
Visitors who come to your website via long-tail keywords are often further along in their buying journey or looking for specific information. This makes them more likely to convert into customers.
Start by entering a single seed keyword into the Semrush Keyword Magic Tool and hit ‘Search.’
Next, review the suggested keywords of related topics to find niche long-tail phrases.
Going back to our gardening example, the results in the screenshot below have plenty of related keywords:
Also, you can sort by Questions to sort out question-based keywords. There are even options to choose how you want the results to match your initial search.
Match modifiers include Broad Match, Phrase Match, Exact Match, or Related. Use these to broaden or narrow down the keyword selection to your liking.
Underneath that, you have the option to filter by Search Volume, Keyword Density (how hard it is to rank for a specific keyword), Intent, CPC, and others.
You can also use the Google Autocomplete to find LSI keywords.
Just type in your phrase and review the suggestions.
Another method is to look at related searches at the bottom of the search results.
Like the autocomplete suggestions, they provide clues about related words and phrases worth mentioning in your blog post.
Step 8: Complete Your Outline
At this point, you should have a fully fleshed-out draft with all of your headings, subheadings, and any important bullet points. You’ve included any research articles and keywords in front of you, giving you all the information needed to write a great blog post.
Here’s what a complete blog outline in WordPress may look like. Keep in mind that this process is highly flexible, and you may need to adjust the outline based on your needs.
Before you begin writing, it’s a good idea to send your outline to an editor, colleague, or content manager. They can point out things you’ve missed or inaccuracies.
Once everything looks good to go, you’re ready to begin your draft.
We hope this article has helped you learn how to write an in-depth outline for blog posts that actually drive traffic. If you want to learn more about blogging, you can check out our post on how to start a WordPress blog or our post on how to increase your blog traffic.
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.
Sometimes you want to change something in WordPress. This could be a design element such as social link placement on mobile, a core function like comments, or a monetization feature like ad placement. Often the solution is to use a plugin, but if all you need is to make one edit why go through all […]
Recently, one of our readers asked us how to prevent newsletter signup spam in WordPress.
Sometimes spam bots fill in your newsletter signup forms and add dummy email addresses to your email list. This costs you money, and email service providers can mark your emails as spam.
In this article, we will explain how to prevent newsletter signup spam in WordPress and keep your email list healthy and spam-free.
What Is Newsletter Signup Spam, and Why Prevent It?
Newsletter signup spam is when a bot fills in a form and joins your email list.
It happens because some spambots simply fill in all the forms they come across. They are hoping to get a message to you.
While newsletter signup spam may be less noticeable than comment spam and contact form spam, it can still cause problems.
Almost all email marketing services charge you based on the number of subscribers you have in your list. This means that you can end up paying for subscribers who are just bots, which is a waste of your money.
Plus, if you are sending out emails to bot email addresses that don’t exist, then this can potentially damage your sender’s reputation.
There are several ways to prevent newsletter signup spam, and in this article, we will cover all the best methods:
Use Double Optin to Prevent Newsletter Signup Spam
Double optin, sometimes called confirmed optin, is useful in several ways. It means people have to confirm they want to receive your emails.
When users first sign up, they get a special email with a button or link to click. If they don’t click this, then they will not receive any further emails.
This method stops many spambots from becoming full members of your email list. They will not be counted in your total subscribers when your email marketing service bills you.
Double optin has many other benefits, too:
You will only email people who truly want to be on your list.
You will not be emailing addresses that don’t exist. This can happen if someone mistypes their email address when signing up.
Your emails will be more likely to get through. Some mail providers require double optin in order to deliver emails.
All reputable email marketing services offer double optin. This setting often comes enabled by default.
First, you need to log in to your Constant Contact email marketing account. Then, click on your name in the top right-hand corner and click the ‘My Account’ link.
Once you are on the My Account page, simply switch to the ‘Advanced settings’ tab.
Next, click the ‘Manage’ link under the Manage contact emails section. This will take you to the Contact Emails page.
On the Contact Emails page, scroll down to the ‘Confirm Opt-in (Double Opt-in)’ section.
Here, you just need to click the ‘Activate’ button to turn on double optin.
You will then see a popup asking you whether you want to continue.
Simply click the ‘Yes, Continue’ button.
Constant Contact will now take you straight to the optin confirmation email.
You can edit the text of this email if you want. The email provider also provides several customization options. You can add images, buttons, videos, social follow links, and more.
When you are done, simply click the ‘Continue’ button at the top.
On the next screen, you will see a preview of your email and other campaign details. Go ahead and click the ‘Activate’ button at the top.
New subscribers to your email list will now receive a confirmation email. They need to click the ‘Confirm Subscription’ button to become full members of your list.
Unfortunately, some spambots are clever enough that they can click on email links and confirm their membership in your list. In that case, you can try some of these other methods to prevent them from signing up for your email list.
Using reCAPTCHA on Your Newsletter Signup Form
Using reCAPTCHA is a great way to block spambots from completing your form and getting on your list in the first place.
We are going to show you how to use reCAPTCHA with 2 popular tools: OptinMonster, and WPForms.
Using reCAPTCHA with OptinMonster to Prevent Email Signup Spam
OptinMonster is a popular lead-generation tool that you can use on your WordPress site. It lets you create a wide range of email signup forms, including popups, slide-in forms, inline forms, sticky bars, and more.
You can easily add a reCAPTCHA to your OptinMonster forms (optins).
To do so, you must first sign up for Google’s reCAPTCHA and register your site there. Just follow our step-by-step instructions on using reCAPTCHA for help with this.
It’s easy to integrate OptinMonster with Google reCAPTCHA. Simply log in to your OptinMonster account and click on your profile name. From here, you can click on the ‘Sites’ link in the dropdown menu.
Here, you just need to find your website in the list.
Next, click on the ‘Edit’ link next to it.
Now, go ahead and scroll down to the Google reCAPTCHA fields.
Copy your Site Key and Secret Key from your Google reCAPTCHA account here and enter them in the respective fields in OptinMonster.
That’s all you need to do. All the email optin forms you create for that website will now be automatically protected against spam.
Using reCAPTCHA with WPForms to Prevent Email Signup Spam
If you are using WPForms for your newsletter signup form, then it’s easy to use reCAPTCHA to prevent bots from joining your list.
First, you need to enable reCAPTCHA by going to WPForms » Settings and clicking on the ‘reCAPTCHA’ tab.
To do this, you will need a Site Key and Secret Key from Google. Just follow our step-by-step instructions on using reCAPTCHA for help with this.
Once you have enabled reCAPTCHA, go ahead and edit your newsletter signup form.
You just need to click on the reCAPTCHA field on the left-hand side.
Then, you will see a message letting you know that reCAPTCHA has been enabled for your form.
Don’t forget to save your changes to your form.
Your form will now have the reCAPTCHA logo on it, showing that reCAPTCHA is active.
Most users will not even notice the reCAPTCHA if you use the invisible version like us. They will only be prompted to complete a reCAPTCHA test if Google thinks they might be a bot.
Using Smart Lead Verification From Emailable
Emailable offers an email verification service that checks email addresses on your list. You can use this service to remove duplicates, filter out temporary and disposable email addresses, and verify whether email addresses are active.
To get started, you can sign up by creating a new account or using your Google account.
After that, Emailable will ask you to select a source for your email list. You can drag and drop the contact list from your computer or select an email marketing platform.
For this tutorial, we will select the Constant Contact option.
Next, you can select the email list you want to validate. For example, we will choose the ‘General Interest’ group from our Constant Contact account.
After that, go ahead and click the ‘Import’ button.
On the next screen, you can simply click the ‘Verify’ button to continue.
You will get a free quality report for all the lists you upload or import into the app. It shows which emails are deliverable and which are risky, duplicate, unknown, or undeliverable.
You can switch to the ‘Emails’ tab from the menu on the left to filter these emails.
This lets you easily and quickly remove any spambots from your list.
Checking Your List for Suspicious Email Addresses or Activity
If you don’t want to use a smart lead verification service, then you can manually remove suspicious email addresses from your email newsletter list.
There’s no perfect way to identify spambots, but one of the following indicators could be a bot:
They have an unusual-looking email address, maybe with lots of numbers or multiple dots in it.
They open 100% of your emails and click on every link. While this could be a very engaged subscriber, it’s likely to be a bot.
They have never opened an email from you but have been a subscriber for a long time.
Once you have found suspicious email addresses on your list, you can simply delete these subscribers.
But what if you are not sure whether certain subscribers are real people or bots? You could tag them, then email them. Ask them to reply if they want to stay on your list. Then, go ahead and delete anyone who doesn’t reply.
To add a tag to a subscriber in Constant Contact, click the ‘Contacts’ tab, then click on your chosen list. Next, find your subscriber. The easiest way to do this is to search by their email address.
Next, click on the three dots to the right of the subscriber’s details.
From here, you can click the ‘Edit’ link.
Tip: If you want to delete a subscriber, you can do that here by clicking the ‘Delete’ link.
Now, it’s time to add tags in the ‘Tags’ section on the right-hand side.
Go ahead and click the ‘Create tag’ button.
A new window will pop up. Simply enter the name of your tag and click the ‘Save’ button.
Once you have tagged all the subscribers who might be spambots, go ahead and create a new campaign.
Before sending out the campaign, you can select recipients with the tags you just set up to filter spam emails.
Email newsletter spambot subscribers can be expensive and irritating. Make sure you use at least one of the above methods to keep your email list healthy and bots-free.
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.
A chatbot is software that can start talking with your website visitors. Adding a chatbot to your website can help you provide instant customer support, generate leads, and improve the user experience.
In this article, we will show you how to easily add a chatbot in WordPress, step by step.
What Is a Chatbot?
A chatbot is a computer program that uses a chat interface to talk with your website visitors. It acts just like your customer support team does when they use a live chat plugin.
However, while live chat is a real-time conversation between a customer and your support staff, chatbots are automated.
This means that they can only provide answers that you have programmed them for.
For example, a customer service chatbot can answer questions about products or services, troubleshoot problems, and make recommendations.
Similarly, a healthcare chatbot might answer questions about health conditions, provide reminders for appointments, and connect patients with doctors.
Why Should You Use a Chatbot in WordPress?
Adding a chatbot to your WordPress website will allow you to provide 24/7 customer support to your visitors, even when your support team isn’t available.
This will reduce the number of support tickets on your website and improve user experience.
Chatbots can also be used to automate other customer support tasks like answering frequently asked questions, providing product support, and fixing smaller issues.
This will save a lot of time and let your team focus on more complex issues.
If you have an online store, then you can also use a chatbot to find out about a customer’s interests and ask them about their needs. The chatbot can then answer the customer’s queries and close the deal.
Having said that, let’s see how to easily add a chatbot in WordPress, step by step. We will cover two different methods, and you can use the quick links below to jump to the one you want to use:
Add a Chatbot in WordPress Using HubSpot (Free & Easy)
If you are looking for a free and easy way to build a chatbot, then you can use this method.
HubSpot is an amazing customer relationship management (CRM) system that comes with a suite of tools for sales, customer service, marketing, and content management.
It even lets you create automated conversations with your website visitors with its free chatbot builder.
First, you will need to install and activate the HubSpot plugin on your website. For detailed instructions, you may want to see our beginner’s guide on how to install a WordPress plugin.
Upon activation, you need to visit the HubSpot menu tab from the WordPress admin sidebar and enter your email address to create a HubSpot account.
If you already have one, then just click the ‘Sign In’ link at the bottom.
Once you’ve provided your details and set a password for your new account, HubSpot will ask you about the industry that you work in.
Simply select an industry of your choice from the dropdown menu and click the ‘Next’ button.
After that, HubSpot will create a new account for you and then ask you to connect it with your WordPress site.
From here, simply click the ‘Connect Website’ button.
Now, it’s time for you to start creating your chatbot.
To do this, visit the HubSpot » Live Chat page from the WordPress dashboard and click the ‘Create chatflow’ button.
This will take you to the next page, where you can select any of the premade chatbot templates.
By default, HubSpot allows you to create a concierge bot, qualify leads bot, meetings bot, ticket bot, offline bot, or even a chatbot from scratch.
For this tutorial, we will be creating a ‘Tickets bot’.
Just select the chatflow you want to use and then click the ‘Continue in HubSpot’ button to move forward.
You will then be directed to your HubSpot account, where you will be creating the rest of your chatbot.
From here, click the ‘Next’ button to move ahead.
In the next step, you need to select the language for your chatbot from the dropdown menu.
You can leave the other settings as they are and click the ‘Create’ button.
Your template will now open in the chatbot builder, where you can edit the chatflow.
Simply click on the ‘Options’ tab in the bot response and select the ‘Edit’ link.
This will open the action settings in the left column, where you can change the action name and text.
In HubSpot, an action is a step in the chatbot conversation that performs a specific task, like asking questions or sending responses. The first action for your chatbot will be the first question that is sent to the website visitor.
After that, scroll down to the ‘Your visitors’ responses’ section and type all the quick replies that a visitor may potentially give to this question.
For example, a visitor may ask you how to purchase your product, or they might want to report an error that they are facing on your website.
After that, scroll back to the top and switch to the ‘If/then branches’ tab.
From here, you have to select the action the chatbot will take if the customer replies with one of the quick responses that you just added.
For example, if you want the chatbot to open support tickets every time a user is unable to receive a confirmation email with credentials, then select the ‘Create Ticket’ option from the dropdown menu.
After that, just click the ‘Save’ button to store the action settings.
After that, you can leave the rest of the chatflow settings as they are or keep editing the different actions for your chatbot.
Chatbot will now create a support ticket for all the quick responses that you’ve added to the action prompt.
Next, switch to the ‘Target’ tab from the top. Here, you have to choose where the chatbot widget will appear on your website.
You can leave these settings as they are if you want the chatbot to appear on every page of your website.
However, if you want to hide the chatbot on specific pages, then you will have to click the ‘Add exclusion rule’ link. This will open another rule where you can simply add the URL of the page where you want to hide the chatbot in the field on the right.
Once you are done, scroll down to the ‘Visitor information and behavior’ section. Here, you can choose the visitors that you want the chatbot to be shown to.
For example, if you only want visitors who are part of your contact list to be able to see the chatbot, then you can choose the ‘Visitor’ option from the left dropdown menu and the ‘Is a contact’ option in the right field.
After that, click the ‘Save’ button and switch to the ‘Display’ tab.
From here, you can upload an avatar image for your chatbot and change its name.
Next, expand the ‘Chat display behavior’ section and choose the chatbot’s default state when the triggers are met.
For example, if you want the bot’s welcome message to appear immediately once someone visits your website, then you can choose the ‘Pop open the welcome message as a prompt’ option.
If you pick ‘Only show the chat launcher’, then visitors will have to click on your chatbot to see its prompts.
However, if you want the chatbot to appear only when a trigger is met, then you can select the third option.
After that, scroll down and choose the trigger for the chatbot appearance.
For instance, if you want the chatbot to be displayed once the visitor is leaving your site, then select the ‘On exit intent’ option.
However, you can also choose the percentage of pages scrolled or minutes spent on your website as triggers.
Next, you can also switch to the ‘Mobile’ tab to configure chat display settings for mobile phones.
Once you have done that, simply click the ‘Save’ button to store your changes.
Now, switch to the ‘Options’ tab from the top to configure general settings like delay message text, session timeout, generic error message, bot language, availability, and more.
After that, click the ‘Save’ button to store your settings. Finally, toggle the switch at the top to activate your chatbot on your website.
Now, you can visit your WordPress site to see your chatbot in action.
This is what it looked like on our demo website.
Add a Chatbot in WordPress Using ChatBot (Best for Customization & Multilingual Websites)
If you are looking for more chatbot customization options or you have a multilingual website, then this method is for you.
You can easily add a chatbot to your WordPress site using ChatBot. It is the best AI chatbot software that allows you to make chatbots using a drag-and-drop builder.
Upon activation, visit the ChatBot menu tab from the WordPress admin sidebar and click the ‘Connect Account’ button.
This will open the ChatBot website in a new window, where you have to enter your login credentials and click the ‘Login’ button.
However, if you don’t have an account on ChatBot yet, then just click the ‘Sign up free’ link at the top.
This will take you to a new page where you will need to provide your email address and enter an account name and password.
Once you are done, just click the ‘Create account’ button.
Upon account creation, you will be redirected to your WordPress dashboard. You have now successfully connected your WordPress site with ChatBot.com.
Now, to start creating a chatbot, just click the ‘Go to dashboard’ button.
You will then be directed to your ChatBot account dashboard.
From here, click the ‘Create bot’ button at the top to start the process.
This will take you to the ‘Create new story’ page, where you need to choose the type of chatbot that you want to make.
By default, ChatBot allows you to create a customer service bot, job application bot, lead generation bot, FAQ bot, sales bot, and more.
However, you can also pick the ‘Build from Scratch’ option to make a bot yourself. For this tutorial, we will be creating a customer service bot.
This will open the premade customer service bot template on your screen.
From here, you can easily create a conversation flow for your chatbot by clicking on the ‘Bot Response’ tabs in the chatflow.
This will open a prompt on the screen, where you can add chat responses and quick replies like text, images, and buttons by dragging and dropping the blocks into the prompt.
Once you have done that, just add the bot response and click the ‘Save and Close’ button at the top.
If you want, you can also add custom filters with the chatbot response by clicking on the ‘Add Filter’ button in the prompt.
This will open a dropdown menu where you can pick a filter that will be added to your chatbot’s response, including:
Message: Personalize the conversation by tailoring the responses to the user’s message.
Score: Prevent irrelevant conversations by filtering out messages that have a low score.
Failures: Improve chatbot accuracy by filtering out messages that are likely to result in failure. This can prevent the chatbot from giving incorrect or misleading information.
Email: Rule out invalid email addresses or address users by their emails.
Name: Create a personalized experience for the user or block messages that contain certain names.
Username: Filter out messages that contain certain usernames.
Integration: Create specific messages for users who use a particular tool.
Language: Write messages in specific languages for multilingual websites.
Timezone: Filter messages according to the relevant time zone.
Additionally, you can create specific messages for users in different regions and countries. This can be helpful if you have a large international audience.
After that, you can also select conditional logic for the now-filtered response. The response that you are creating will only be used by the chatbot if the customer that it is interacting with fits the filter.
For example, if you have a multilingual website and want to create a chatbot for different languages, then you can use the ‘Language’ filter.
Once you do that, select the ‘= equals’ option as the condition and then type in the language name.
After that, you can add the response in the language that you chose. In our example, when a user types a query in the chatbot in Italian, the chatbot will show them the Italian response that we created with this filter.
When you have finished adding your filter, just click on ‘Apply filter’.
After that, you can also use the ‘+’ button to add different blocks to your chat flow. This will open a prompt where you can select any block of your choice, including:
User Input: Add user messages that will trigger the bot’s response.
FAQ: Add frequently asked questions and their answers in this block.
Attachment Input: Let users attach files in an ongoing conversation with the chatbot.
Bot Response: Add a chatbot’s response to a question.
Backtracking: Prevent users from viewing previously matched interactions with the bot.
Fallback: Display a general message or trigger an action anytime your chatbot can’t match the user query with any chatbot response.
Flow: Visually organize complex chatbot response scenarios.
Add to segment: Segment all the users into different groups based on user data.
Delete from segment: Delete users from a specific segment.
Set attribute: Save information about users.
Mark Goal: Mark a conversation as having reached its goal.
You also have the option to send a transcript of a conversation to an email address or tag different chatbot conversations with keywords and phrases.
For example, if you choose the FAQ block, it will open on your screen, where you can now add common customer support questions and their answers.
Your chatbot will then use these responses to answer customer queries on your website.
Next, click on the ‘Main Menu’ bot response tab to open the block prompt. Here, you can add buttons for all the services that your chatbot can offer using the Button block.
After that, click on each Button block to open its settings and configure where you want the button to direct the users.
For example, you can allow users to be directed to the FAQs chatbot response that you created by selecting the button type as ‘Go to block’.
Next, select the ‘FAQ’ block from the ‘Go to’ dropdown menu and click the ‘Save Settings’ button.
Other than FAQs, you can also create buttons for directing users to your newsletter signup, contact us page, discount offers, and more.
Once you are done, don’t forget to click the ‘Publish’ button at the top to store your settings.
A prompt will now open on your screen, asking you to provide a name for your chatbot.
After entering the details, simply click the ‘Confirm’ button to publish your chatbot.
Next, visit your WordPress dashboard and head over to the ChatBot tab, where you will now notice that the ‘Choose your bot’ section will be visible on the screen.
Note: Keep in mind that it might take 3-4 hours between creating your chatbot and it being visible in your WordPress dashboard.
Now, simply choose the bot that you just created from the dropdown menu.
After that, toggle the ‘Hide chat on mobile’ switch to ‘On’ if you don’t want people visiting your website from their phones to be able to see the chatbot.
You can also toggle the ‘Hide chat for Guest visitors’ to ‘On’ if you want the chatbot to be exclusive for your members only.
Finally, click the ‘Add to Site’ button. Now, you can visit your website to view the chatbot in action.
Bonus: Add Live Chat to Your WordPress Site
Live chat is a communication tool that allows visitors to chat with a member of your customer support team through a chat window on your website.
It is a super popular way to connect with customers and has a satisfaction level of 73%, which is much higher than email, phone, and SMS support.
It comes with pre-made live chat templates, real-time chat, multiple support channels, canned responses, chat transcripts, chat analytics, and so much more.
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.
Are you looking for a way to integrate Zoom meetings and webinars in WordPress?
Integrating WordPress with Zoom allows you to automatically enroll customers, visitors, and new members into Zoom video calls and webinars. This can improve user engagement and help build a community around your brand.
In this article, we will show you how to easily integrate Zoom meetings and webinars in WordPress, step by step.
Why Integrate Zoom Meetings and Webinars With WordPress?
Integrating Zoom with WordPress lets you easily automate your meeting and webinar registration process. This can save you a lot of time that you can spend on other business tasks.
Zoom is one of the most popular meeting, webinar, and video conference call software in the world, used by over 300 million people every day.
It’s a must-have tool for businesses with remote teams or WordPress website owners who need to get in touch with customers and clients virtually.
For instance, if you have an online store, then you can use Zoom for live product demos, customer support, online training, and even host webinars with your customers to promote upcoming products on your site.
That being said, let’s take a look at how you can easily integrate Zoom meetings and webinars in WordPress. Here’s a quick overview of the topics we will cover in this guide:
Install and Activate the Uncanny Automator Plugin for WordPress
The easiest way to connect Zoom with WordPress is by using Uncanny Automator.
It’s the best WordPress automation plugin that helps you create automated workflows in WordPress without writing any code. The tool lets you easily connect your WordPress site with external apps like Zoom, Slack, and Asana.
It’s like Zapier for WordPress websites but without the high costs.
To connect Zoom with WordPress, you will first have to visit the Uncanny Automator website.
From here, click the ‘Get Uncanny Automator Now’ button to continue.
This will take you to the ‘Pricing’ page, where you can select a plan of your choice.
Keep in mind that Uncanny Automator also has a free version, but it has limited features. That is why we are using the premium plan for this tutorial.
Upon purchase, you must install and activate the Uncanny Automator plugin on your WordPress website. For detailed instructions, you may want to see our beginner’s guide on how to install a WordPress plugin.
Once you have done that, visit the Automator » Settings page from the WordPress admin sidebar to enter the license key for your pro plan. You will find this information in your account on the Uncanny Automator website.
After that, don’t forget to click the ‘Activate license’ button.
Now that Uncanny Automator is installed and activated, let’s set up your Zoom account.
There is a free version of Zoom, but you will need a paid account to set up the integration. First, head to the Zoom website and sign up for the plan that best suits your needs.
If you want to integrate webinars on your website, then you will also have to buy the Zoom Webinars addon.
Once you have a premium account, you need to go to the Zoom App Marketplace and sign in to your account. Here, you will create an app that sends data between Zoom and WordPress.
To do this, click the ‘Develop’ menu item and select the ‘Build App’ option from the dropdown menu in the top right corner of the screen.
This will bring you to the ‘Choose your app type’ page, where you must select the type of app you want to build.
From here, you have to find the ‘Server-to-Server OAuth’ app type and click the ‘Create’ button under it.
Next, you can name your app in the popup. The name is to help you remember the purpose of the app and won’t be visible to your visitors.
Simply enter your app name and click the ‘Create’ button to start the process.
This will take you to the ‘Connect Zoom with WordPress’ screen, where you will see the app credentials listed.
From here, you must copy the ‘Account ID’, ‘Client ID’, and the ‘Client Secret’ credentials and paste them into a text editor for now.
These credentials will be used to connect Zoom with your WordPress website. Next, click the ‘Continue’ button.
You’ll now be taken to the next step, where you have to provide basic information for your app, including the app name, company name, short description, developer name, and email address.
Once you are done, just click the ‘Continue’ button to move to the next step.
After that, you’ll be taken to the ‘Feature’ screen, where you don’t have to configure any settings, so you can click ‘Continue’ on this screen too.
This will direct you to the ‘Scopes’ screen, where you have to select at least one scope for your app to be able to activate it.
These scopes provide a way to limit the amount of access granted to an app. To set a scope, click the ‘+ Add Scopes’ button.
This will open a prompt on the screen where you can select scopes for Zoom meetings and webinars that will be hosted on your website using this app.
For example, if you want the app to be able to view live streaming token information or all user meetings information, then simply check the boxes next to these options.
You can also configure the scopes for Zoom webinars here by simply switching to the ‘Webinar’ option from the left column. After that, click the ‘Done’ button to move forward.
Next, click the ‘Continue’ button to move to the next step.
On the ‘Activation’ page, you will now see a message informing you that your app is ready.
From here, simply click the ‘Activate your app’ button.
Create a New Zoom Meeting
Now, you can create a new Zoom meeting that you will connect to your WordPress site.
To do this, visit your Zoom account to click the ‘Schedule’ link, and then fill in your meeting details.
You can even set a recurring Zoom meeting for your users by checking the ‘Recurring meeting’ box in the ‘Timezone’ section.
Once you are done, don’t forget to click the ‘Save’ button to store your settings.
Create a New Zoom Webinar
To create a new Zoom webinar, click the ‘Webinars’ menu option in the ‘Personal’ tab inside your Zoom account.
After that, just click the ‘Schedule a Webinar’ button.
On the next page, you can enter all of your webinar information.
After that, you need to make sure the ‘Required’ box is checked in the Registration section.
After that, simply click the ‘Save’ button at the bottom of the page.
Connect Zoom Meetings and Webinars With WordPress
Once Uncanny Automator is activated and Zoom is set up, you need to connect both of these apps to each other.
For this, head over to the Automator » App Integrations page from the WordPress dashboard.
Next, click the ‘Zoom Meetings’ tab in the left column and then add the ‘Account ID’, ‘Client ID’, and the ‘Client Secret’ credentials that you copied earlier into the fields.
Finally, click the ‘Connect Zoom Meetings Account’ button.
If you want to integrate Zoom Webinars, too, then just click the ‘Zoom Webinars’ menu option.
Then, paste the same ‘Account ID’, ‘Client ID’, and ‘Client Secret’ credentials that you used above.
Once you are done, go ahead and click the ‘Connect Zoom Webinars Account’ button.
Now that we have set up Zoom and integrated it with WordPress, let’s look at some of the cool things that you can do with this Uncanny Automator integration.
Register Users for a Zoom Meeting After Form Completion in WordPress
This integration will automatically register users for a Zoom meeting when they fill out a form on your website. This can be used to onboard new clients, schedule coaching calls, and more.
If you don’t have an active WordPress form on your website, then you need to create one now.
Uncanny Automator works with all major forms solutions, including WPForms, Formidable Forms, and more.
For this tutorial, we will be using WPForms because it’s the best contact form plugin for WordPress, used by over 6 million websites. There’s also a webinar form template in the form templates pack addon that makes form creation easy.
Now, you are ready to connect your WordPress form with Zoom.
To do this, you will be creating what’s called a ‘recipe’. In Uncanny Automator, recipes are the automations that link different plugins and apps together.
To get started, navigate to the Automator » Add new page from the WordPress admin sidebar and click the ‘Everyone’ option as the recipe type.
The Everyone recipes can be triggered by any user, while logged-in recipes can only be activated by users logged in to your website.
After that, click the ‘Confirm’ button.
Next, you have to provide a name for your recipe. This will help you remember the recipes you create without the name being visible to your users.
Keep in mind that each recipe has two different parts: the trigger and the action. The trigger is the event that will start the recipe, and the action is the task that runs after the trigger takes place.
For your first trigger, you need to select ‘WPForms’ in the ‘Trigger’ meta box.
After that, you have to choose a specific trigger related to WPForms.
For example, if you want your users to be added to a Zoom meeting once they submit a contact form, then you can select the ‘A form is submitted’ option.
If you have multiple forms on your WordPress blog, then you will also have to select the form where the submission will trigger the action.
To do this, simply select a form of your choice from the ‘Form’ dropdown menu.
Once you are done, don’t forget to click the ‘Save’ button to store your settings.
Next, you will need to add an action for your automation.
To do that, scroll down to the ‘Actions’ sections and click the ‘Add action’ button under the meta box.
This will open a list of all the integrations available in the Uncanny Automator. From here, you need to pick the ‘Zoom Meetings’ option.
This will open the ‘Zoom Meetings’ action settings on the screen.
From here, you must choose the action that Zoom will perform upon form submission.
If you want to add a user to a Zoom meeting after they fill out a specific form on your website, then you need to select the ‘Add the user to a meeting’ option.
Then, you can choose the Zoom meeting you want users to register for in the ‘Meeting’ box.
Once you are done, don’t forget to click the ‘Save’ button to store your settings.
Now, it’s time for you to finally publish your Uncanny Automator recipe. To do this, all you need to do is toggle the switch in the ‘Recipe’ box to ‘Live’.
Now, when your users fill out the form, they will automatically be registered for your Zoom meeting.
Register Users for a Zoom Webinar After Form Completion in WordPress
Another popular integration is registering users for a webinar when they fill out a form on your website.
To do this, you will follow the same steps as above. However, you will select ‘Zoom Webinars’ instead of ‘Zoom Meetings’ in the actions section.
First, follow the same initial ‘Triggers’ section as above. This means that you will have to choose WPForms as the integration for the trigger.
After that, you can select the ‘A form is submitted’ option as the trigger.
Next, scroll down to the ‘Actions’ section and click the ‘Add action’ button to expand the menu.
Then, simply select the ‘Zoom Webinars’ option as the integration.
This will open up the actions settings for the Zoom webinar.
From here, you can select the ‘Add the user to a webinar’ option from the dropdown menu. This will automatically add a user to your Zoom webinar after they fill out a specific form on your website.
Next, you will also have to choose a Zoom webinar from the dropdown list.
Once you are done, don’t forget to click the ‘Save’ button to store your settings.
After that, you must make your recipe live so that new users will automatically be enrolled in your webinar.
To do this, simply click the toggle in the ‘Recipe’ box so it says ‘Live’.
Register Customers for a Zoom Webinar After They Make a Purchase in WordPress
Another way to connect WordPress with Zoom is to enroll new customers in a product webinar after they make a purchase in your WooCommerce store.
Keep in mind that the WooCommerce plugin and store must be set up before you start creating a recipe with Uncanny Automator.
First, you need to visit the Automator » Add new screen from the WordPress dashboard and click the ‘Everyone’ option.
After that, click the ‘Confirm’ button to move forward.
Next, you have to provide a name for your recipe. This name won’t be displayed to your customers on the front and is only for your identification.
Once you have done that, choose WooCommerce as the integration in the ‘Trigger’ meta box.
This will open the list of WooCommerce triggers in the dropdown menu. From here, you can select any trigger that suits your needs.
For example, if you want customers to be added to your webinar after they buy a product, then you can select the first option.
After that, select the ‘completes’ option in the ‘Trigger condition’ box to start the automation when a customer completes a purchase.
Then, just click the ‘Save’ button to store your settings.
Now, you can choose a specific product in your store or have the automation run when a customer purchases any product.
Simply select the ‘Any product’ option if you want all of your products to be included in the automation, and then click the ‘Save’ button.
Next, scroll down to the ‘Actions’ section and click the ‘Add action’ button to expand the menu.
Then, choose the ‘Zoom Webinars’ integration from the list.
This will open the Zoom webinar action settings on the screen, where you can select the ‘Add the user to a webinar’ option.
This will automatically register new customers for your webinar once they make a purchase.
After that, select the webinar of your choice from the dropdown list in the ‘Webinar’ box.
If you have multiple webinars running, then make sure to choose the webinar that’s associated with your WooCommerce products.
The last thing you need to do is make your recipe live.
To do this, simply click the toggle in the ‘Recipe’ box so it says ‘Live’.
Now, when your customers purchase a product, they will automatically be registered for your product webinar.
Register Members for a Zoom Meeting After Sign Up in WordPress
When running a membership site, registering new members for a Zoom call can be a great way to welcome them into your community.
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.
Are you looking to add emojis to your SEO title in WordPress?
Boosting the click-through rates (CTR) on your blog posts can make a huge impact on your traffic and your bottom line. Emojis are visually appealing and help your page stand out.
In this post, we will show you how to add emojis to your SEO title in WordPress so you can stand out in search results and bring more traffic to your website.
Why Add Emojis to Your SEO Titles?
Emojis are small digital icons used to communicate emotions, objects, activities, and other concepts. They can either replace text or enhance the message, giving it more meaning.
On a page filled with words, colorful and bright emojis help your page stand out.
By using emojis, you draw attention to your page and make your brand seem more human, attracting your target audience and boosting click-through rates.
While increasing your CTR isn’t guaranteed to help you rank better on Google, getting more traffic to your website is always a good thing.
That’s not the only reason. Search engines also support search queries with emojis. Try typing ‘🍕recipe’ into the search bar of Google.
You’ll find a few search results with the ‘🍕’ emoji as Google likes to either find the best pizza recipe pages or pages with the exact ‘🍕’ emoji.
How to Use Emojis in Your SEO Titles
Emojis can negatively impact your click-through rates and SEO if they are seen as misleading or spammy.
Before you start embedding emojis all over your titles, there are some ground rules to follow:
Consider your audience: Without a doubt, emojis work better for some niches than others. For example, including emojis on a recipe page for the best cocktails to make in the summer might be appropriate. But adding a heart or syringe to a page related to health care may hurt your brand’s reputation.
Don’t use emojis to replace words: It doesn’t matter how clear or descriptive your emojis are. They should never replace words because users are forced to interpret the meaning of the emoji instead of being told.
Use clear emojis: Avoid ambiguous emojis that people can misinterpret. Instead, stick to simple ones that are widely known to all audiences.
Use emojis that work on both light and dark backgrounds: Don’t use light emojis on a light background. For example, a yellow hand emoji works better on light backgrounds than a white hand emoji. This is especially important for SEO titles since Google’s default results background is plain white.
Now that you know how to use emojis responsibly, you are ready to begin using them on your web pages.
Let’s take a look at how you can add emojis to your SEO titles.
How to Add Emojis to Your SEO Titles
Adding emojis to your titles is incredibly easy once you have a good plugin. Without it, you’d have to scour the internet to find the right emoji code, which overcomplicates the process.
AIOSEO offers on-page analysis so you can optimize your blogs to rank higher in search results. You can also use the built-in emoji picker to add emojis to your SEO titles.
AIOSEO also comes with an SEO checklist tool, a link assistant, and many other features you can use to optimize your website to boost your rankings.
Now, you are ready to add your emoji to your metadata. To do that, scroll down a little further below the AIOSEO Settings.
Under Post Title, click on the emoji icon next to the tags in each field.
It’ll open up a window with a selection of emojis for you to choose from.
Browse through and pick the emoji of your choice, or just use the search bar to find what you are looking for.
Lastly, make sure to hit ‘Update/Publish’.
After that, the emoji will appear in the SEO title and display in search results.
Now, select your emoji of choice, and that’s it! Congratulations, you’ve just added emojis to your SEO title!
Frequently Asked Questions
Now that you know how to add emojis to your SEO titles, you may have a few more questions about how to effectively use emoticons to enhance your WordPress website.
How Do You Add Emojis to HTML Titles?
To add emojis to HTML titles, you can use the Unicode character codes for emojis directly within the title tag. You can find these codes on various websites that provide emoji Unicode references. Look for the emoji you want to use and then copy its Unicode code.
Inside the <title> tag, you can include the Unicode character code for the emoji. You must use the code &#x followed by the emoji code. For example, to add a smiley face emoji (😊) with the Unicode code U+1F60A, you would use 😊.
Do Emojis Affect SEO?
Google says you can use emojis in your SEO pages, including titles, but it won’t help or harm your search rankings in any way. However, emojis indirectly help your SEO efforts by improving click-through rates.
Emojis can humanize your brand, and if users spend more time on your site or interact with your content, these signals could boost your search ranking position.
Do Emojis Go Before or After Your Title?
Most emojis should generally come after text and never before. You want people to get the message first. Using emojis before the title can give a bad user experience, especially for anyone using a screen reader.
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 Instagram Shopping feature lets you show the catalog and pricing of your products within the photos on your Instagram account.
This means that users browsing on your Instagram account will be able to see a ‘View Products’ icon on your posts.
Once they click on it, they will be able to see the names, descriptions, and prices of the products tagged in the post, and on further clicking, they will be directed to your Instagram store to view all your products.
Upon tapping again, the users will then be taken to your WooCommerce store that is linked to your Instagram account.
This allows you to create a shop front for your online store on the Instagram platform and directly promote your products on social media to increase sales.
Plus, Instagram is used by over 1 billion active users, which helps you to reach a wider audience.
The Downsides of Using Instagram Shopping
Even though Instagram Shopping can help increase your sales, it’s not easy to set up. This is because to set up an Instagram Shopping store, you must first meet Instagram’s requirements.
Here is a list of all the requirements that you must fulfill to set up an Instagram Shopping store:
You must have the latest version of the Instagram app.
Your site must be connected to an eCommerce platform for selling products.
You must convert your Instagram account into a Business account and add your public business information.
Be a Facebook page admin or set up a Facebook Business Manager account.
Your Instagram account has to be connected to your Facebook page.
Have an eligible product catalog connected with a Facebook shop to sell products on Instagram.
Go through the domain verification process.
Follow all of Instagram’s commerce policies.
Another downside of Instagram Shopping is that you can only sell physical products on the platform. This is because you can only tag physical products in a post.
Moreover, Instagram still hasn’t introduced the Instagram Shopping feature in some countries. This means that even if you meet the requirements, you may not be able to sell products on Instagram simply because the feature isn’t available in your region.
Having said that, let’s see how to set up Instagram Shopping in WordPress.
How to Sell Products on Instagram With Instagram Shopping
You can sell WooCommerce products on Instagram by turning on the Instagram Shopping feature.
However, keep in mind that you will need a business account on Instagram to do this. You will also need to meet the platform’s requirements and wait for their approval first.
You will also need to set up your WooCommerce store first. If you haven’t already done this, then please see our complete WooCommerce tutorial.
Step 1: Submit Your WooCommerce Store for Instagram Review
To send your WooCommerce store for the platform’s approval, you will need to visit the Commerce Manager page on the Meta website.
Here, click on the ‘Get Started’ button to be directed to the next screen.
From here, you will have to select the ‘Create a shop’ option to sell your products on Instagram.
After that, just click the ‘Get Started’ button to continue.
Next, simply add products to your catalog and then submit the store for review to Instagram.
Once you’ve done that, Instagram will review your online store and then send you their answer over email in the next few days.
Step 2: Turn On the Instagram Shopping Feature on Your Account
Once you have set up a business Instagram account and your online store has been approved by Instagram, you need to open your Instagram app and select the three-line menu in the top right corner of the screen.
This will open a prompt where you have to choose the Settings » Business option.
If your account has been approved for Instagram Shopping by the platform, then you will see a ‘Shopping’ menu on the screen that you have to click or tap on.
Next, you need to select the ‘Continue’ button on the screen and then pick one of your product catalogs to set up Instagram Shopping.
Once you are done, don’t forget to click the ‘Done’ button to store your settings.
You have now successfully set up an Instagram Shopping store.
Step 3: Add Products to Your Instagram Shop Using Product Tags
Now that you have set up your Instagram shop, you can easily add a post for your products by clicking on the ‘Share Photos’ button.
You need to add a product description and call to action (CTA) for the product in the caption and then click on the ‘Tag Products’ option.
After that, tap the section of the post where you want to add the product tag.
This will open a search box where you need to type the product’s name and select it on the screen.
Finally, click the ‘Done’ button and then the ‘Share’ button at the top to make your product post live on your Instagram account.
Now, users will be able to view the product details in the post, and clicking on the tag will open your Instagram Shopping store.
How to Set Up Instagram Shopping on Your WordPress Website
Even though Instagram Shopping can increase your revenue, it is super hard to set up and get your store approved.
Another easier way to sell products on Instagram is to display your shoppable Instagram feed on your WordPress website.
This way, visitors will easily be able to view your Instagram product reels, posts, and videos without needing to visit your Instagram account. They can also buy products directly from your online store.
It is the best Instagram plugin for WordPress that lets you easily create, customize, and embed your shoppable Instagram feed on any page or post on your WordPress site.
Note: You can also use the free version of the Instagram Feed Pro plugin. However, we will be using the premium plan for this tutorial.
Upon activation, you need to head over to the Instagram Feed » Settings page from the WordPress admin sidebar.
Once you are there, enter the Smash Balloon license key for the plugin into the field and click the ‘Activate’ button.
You can find this information in your account on the Smash Balloon website.
Next, visit the Instagram Feed » All Feeds page from the WordPress dashboard and click the ‘+ Add New’ button.
You can now start creating your own shoppable Instagram feed for WordPress.
This will direct you to the ‘Create an Instagram Feed’ page, where you have to select the ‘User Timeline’ option as the feed type and click the ‘Next’ button.
This means that Smash Balloon will directly fetch posts for the feed from your Instagram account and even update the feed automatically once you post new photos on your Instagram account.
You will now be taken to the ‘Select one or more sources’ page, where you will have to connect your Instagram account.
To do this, click the ‘+ Add Source’ button.
This will direct you to the Smash Balloon website, where you will be asked to select your Instagram account type.
Here, click the ‘Business’ option to move to the next step. You will then be asked if you have connected your Facebook account using Smash Balloon before.
Here, simply select your answer and then move to the next step.
Keep in mind that to connect your Instagram account with WordPress, you will first have to connect your Instagram account with your Facebook page.
To do this, click the ‘Connect with Facebook’ button.
This will direct you to your Facebook account, where you have to select your business Instagram account from the prompt.
After that, click the ‘Next’ button to continue.
Next, you have to select the Facebook page that you want to link to your WordPress site.
Once you’ve done that, just click the ‘Next’ button to move forward.
Facebook will now ask you to manage the plugin’s access rules for your Facebook page.
Simply click the ‘Done’ button to allow Smash Balloon access to your Facebook page.
Once you do that, you will redirected to your WordPress dashboard, where you have now successfully connected your Instagram and Facebook account to your website.
To start creating a feed, you need to click on the popup of the Instagram account that you just linked to your website.
After that, click the ‘Next’ button to continue.
How to Create an Instagram Feed for Your WordPress Site
Upon selecting your account, Smash Balloon will open the Instagram feed in the live feed editor.
Here, you will notice a live preview for the feed on the right with all the customization options in the left column of the screen.
From here, simply click the Settings » Shoppable Feed tab to open more settings.
On the new screen, turn on the toggle to activate the Shoppable Feed feature.
Smash Balloon will now show an ‘Add’ button next to all of the product posts on your Instagram Feed.
Next, click on the ‘Add’ button above an Instagram post from your feed to open its settings in the left column.
Once you do that, just type the product’s URL from your WooCommerce store into the ‘Product Link’ field and click the ‘Add’ button.
Now, when a user clicks on this product while browsing through your Instagram feed, they will be directly taken to the product’s page on your WooCommerce store.
You can now repeat these steps for all of the posts in your feed to make your products shoppable.
You can even change the URL of a product by clicking the ‘Update’ button on the posts.
Finally, click the ‘Save’ button at the top to store your settings. You have now successfully connected your Instagram Shopping account with your WooCommerce store.
How to Customize the Instagram Shopping Feed
You can easily customize the Instagram shopping feed that you’ve just created by using the live feed editor.
First, you can click on the ‘Feed Layout’ tab in the left column to change the layout of your Instagram feed.
From here, you can use the Grid, Carousel, Masonry, or Highlight option. The live feed preview will automatically be updated according to your chosen option.
Depending on the layout, you will get some extra settings that you can use to fine-tune your feed.
For example, upon choosing the ‘highlight’ option, you can pick the element that will be used to highlight different posts, including a pattern, post ID, or hashtag.
You can also select the padding and height of the feed by filling in those fields.
Once you have made your changes, don’t forget to click the ‘Save’ button to store your settings.
With Smash Balloon’s live feed editor, you can also customize the color scheme and header, add a load more button, and further customize your Instagram feed.
How to Add the Instagram Shopping Feed to Your Website
To add the Instagram Shopping feed to your website, you need to visit the Instagram Feed » All Feeds page from the WordPress dashboard.
From here, copy the shortcode next to the Instagram feed that you created.
Next, open a page or post in the block editor.
Once you are there, click the ‘+’ button on the screen to open the block menu. Next, find and add the Instagram Feed block to the page.
By default, the Smash Balloon will display a random feed.
To embed your Instagram feed on the page, simply paste the shortcode into the ‘Shortcode Settings’ section in the block panel and click on the ‘Apply Changes’ button.
Finally, click the ‘Update’ or ‘Publish’ button to store your settings.
You have now successfully added your Instagram Shopping feed to your WooCommerce store.
Bonus: Promote Your Products With Affiliate Marketing
Apart from selling your products on Instagram, you can also make money in your online store by starting your own affiliate program.
Other small businesses or influencers can join your referral program and promote your products or services on their websites in exchange for a commission.
This can be a cost-effective way to advertise your products or services. It can even help you build a community of affiliates who are passionate about your products and are willing to help you spread the word.
The easiest way to build an affiliate program for your website is by using AffiliateWP, which is the best self-hosted affiliate program plugin for WordPress.
It makes it easy for beginners to launch a referral program and grow their online sales by integrating with WordPress plugins like WooCommerce, Easy Digital Downloads, and WPForms.
Plus, AffiliateWP lets you monitor affiliate clicks, sales, and payments and comes with amazing features like a built-in affiliate dashboard, affiliate coupon tracking, a referral link generator, and more.
We hope this article helped you learn how to sell your WooCommerce products on Instagram. You may also want to see the best WooCommerce hosting and our expert picks for the best WooCommerce plugins for your online store.
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.
Are you wondering what you can do with the WordPress functions file?
All WordPress themes come with a functions.php file. This file acts as a plugin, allowing theme developers and general users to add custom code in WordPress easily.
In this article, we will show you some useful tricks for the WordPress functions file.
It acts as a plugin and allows theme developers to define theme features. Users can also use it to add their custom code snippets in WordPress.
However, keeping custom code in your theme’s functions file is not the best way to save your customizations. If you update your theme, then the functions.php file will be overwritten, and you will lose your custom code snippets.
Instead, we recommend everyone use WPCode, a free plugin that lets you insert code snippets into your WordPress website without editing any theme, plugin, or core WordPress files.
The best part is that all your custom code is saved separately, so any WordPress updates won’t remove them.
As a bonus, the WPCode plugin has an extensive library of pre-configured code snippets (including many on this list). You can deploy these code snippets with a few clicks.
Having said that, here is a list of items we will cover in this article. You can jump to one that interests you or simply follow along:
Upon activation, go to Code Snippets » + Add Snippet page. You’ll see WPCode’s code library with many helpful custom code snippets already added.
If your code snippet does the same thing as of the snippets in the library, then you can try out the one already added there.
Alternatively, click the ‘blank snippet’ link to continue adding your custom code snippet.
On the next screen, provide a title for your custom code. This could be anything that helps you identify what this code snippet does.
Next, you need to choose the ‘Code Type’. If you are adding a code that works in the functions.php file, then you must select ‘PHP Snippet’.
Below that, you need to copy and paste your custom code into the ‘Code Preview’ box.
Finally, you need to set your snippet as ‘Active’ and click the ‘Save Snippet’ button.
Your saved snippet will now run like it would if you had added it to the functions.php file.
You can repeat the process to add more snippets when needed. You can also deactivate a snippet without deleting it.
2. Add Custom Code Directly to the Functions File
The WPCode method is always better than adding code to the theme’s functions file.
However, some users may be writing code for a client’s custom WordPress theme or simply prefer to add code to the functions.php file.
In that case, here is how you can add code to your WordPress theme’s functions.php file.
First, connect to your WordPress website using an FTP client. Once connected, navigate to the /wp-content/themes/your-wordpress-theme/ folder.
There you will find the functions.php file. Simply right-click and select to edit or download the file to your computer for editing.
You can edit it using any plain text editor like Notepad or TextEdit.
Then, scroll down to the bottom of the functions.php file and paste your code snippet there. You can save your changes and upload the updated functions.php file to your theme folder.
You can now visit your WordPress website to see your custom code in action.
Now, let’s take a look at 42 different useful tricks for the WordPress functions file.
Want to white-label your WordPress admin area? Adding a custom dashboard logo is the first step in the process.
First, you’ll need to upload your custom logo to your theme’s images folder as custom-logo.png. Your custom logo should be in a 1:1 ratio (a square image) in 16×16 pixels.
After that, you can add this code to your theme’s functions file or as a new WPCode snippet:
The footer in the WordPress admin area shows the message ‘Thank you for creating with WordPress.’ You can change it to anything you want by adding this code:
function remove_footer_admin () {
echo 'Fueled by <a href="http://www.wordpress.org" target="_blank">WordPress</a> | WordPress Tutorials: <a href="https://www.wpbeginner.com" target="_blank">WPBeginner</a></p>';
}
add_filter('admin_footer_text', 'remove_footer_admin');
Feel free to change the text and links that you want to add. Here is how it looks on our test site.
4. Add Custom Dashboard Widgets in WordPress
You probably have seen the widgets that many plugins and themes add to the WordPress dashboard. You can add one yourself by pasting the following code:
add_action('wp_dashboard_setup', 'my_custom_dashboard_widgets');
function my_custom_dashboard_widgets() {
global $wp_meta_boxes;
wp_add_dashboard_widget('custom_help_widget', 'Theme Support', 'custom_dashboard_help');
}
function custom_dashboard_help() {
echo '<p>Welcome to Custom Blog Theme! Need help? Contact the developer <a href="mailto:yourusername@gmail.com">here</a>. For WordPress Tutorials visit: <a href="https://www.wpbeginner.com" target="_blank">WPBeginner</a></p>';
}
You can simply add a copyright date by editing the footer template in your theme. However, it will not show when your site started, and it will not automatically change the following year.
This code can add a dynamic copyright date in the WordPress footer:
After adding this function, you’ll need to open your footer.php file and add the following code where you would like to display the dynamic copyright date:
<?php echo wpb_copyright(); ?>
This function looks for the date of your first post and the date of your last post. It then returns the years wherever you call the function.
Tip: If you are using the WPCode plugin, then you can combine the two code snippets. After that, choose the ‘Site Wide Footer’ location in the ‘Insertion’ section of the snippet settings. This will automatically display the copyright date in the footer without editing your theme’s footer.php file.
One way to do this is by using the wp-config.php file. However, if you do that, then you cannot set the correct address on the settings page. The WordPress URL and Site URL fields will be locked and uneditable.
Instead, just add this code to your functions file to fix this:
Don’t forget to replace example.com with your domain name.
Once logged in, you can go to the Settings page in the WordPress admin area and set the URLs.
After that, you should remove the code you added to the functions file or WPCode. Otherwise, it will keep updating those URLs whenever your site is accessed.
9. Add Additional Image Sizes in WordPress
WordPress automatically generates several image sizes when you upload an image. You can also create additional image sizes to use in your theme.
Simply add this code to your theme’s functions file or as a WPCode snippet:
Do you want to add extra fields to your author profiles in WordPress? You can easily do that by adding this code to your functions file or as a new WPCode snippet:
12. Adding Widget-Ready Areas or Sidebars in WordPress Themes
This is one of the most used code snippets, and many developers already know about adding widget-ready areas or sidebars to WordPress themes. But it deserves to be on this list for those people who don’t know.
You can paste the following code in your functions.php file or as a new WPCode snippet:
Have you seen blogs that add their advertisements in their RSS feeds below each post? You can accomplish this easily with a simple function. Just paste the following code:
function wpbeginner_postrss($content) {
if(is_feed()){
$content = 'This post was written by Syed Balkhi '.$content.'Check out WPBeginner';
}
return $content;
}
add_filter('the_excerpt_rss', 'wpbeginner_postrss');
add_filter('the_content', 'wpbeginner_postrss');
The post thumbnail or featured images are usually only displayed within your site design. You can easily extend that functionality to your RSS feed with the following code:
Hackers can use login errors to guess whether they entered the wrong username or password. By hiding login errors in WordPress, you can make your login area and WordPress website more secure.
Simply add the following code to your theme’s functions file or as a new WPCode snippet:
function no_wordpress_errors(){
return 'Something is wrong!';
}
add_filter( 'login_errors', 'no_wordpress_errors' );
Now, users will see a generic message when they enter an incorrect username or password.
WordPress allows users to log in with their username or email address. You can easily disable login by email in WordPress by adding this code to your functions file or as a new WPCode snippet:
Pro Tip: Instead of giving up on WordPress search, we recommend trying out SearchWP. It is the best WordPress search plugin on the market that allows you to add a powerful and customizable search feature to your website.
18. Delay Posts in RSS Feed
Sometimes you may publish an article with a grammatical error or spelling mistake.
The mistake goes live and is distributed to your RSS feed subscribers. If you have email subscriptions on your WordPress blog, then those subscribers will also get a notification.
Simply add this code to your theme’s functions file or as a new WPCode snippet to delay posts in your RSS feed:
function publish_later_on_feed($where) {
global $wpdb;
if ( is_feed() ) {
// timestamp in WP-format
$now = gmdate('Y-m-d H:i:s');
// value for wait; + device
$wait = '10'; // integer
// http://dev.mysql.com/doc/refman/5.0/en/date-and-time-functions.html#function_timestampdiff
$device = 'MINUTE'; //MINUTE, HOUR, DAY, WEEK, MONTH, YEAR
// add SQL-sytax to default $where
$where .= " AND TIMESTAMPDIFF($device, $wpdb->posts.post_date_gmt, '$now') > $wait ";
}
return $where;
}
add_filter('posts_where', 'publish_later_on_feed');
In this code, we used 10 minutes as $wait or delay time. Feel free to change this to any number of minutes you want.
19. Change Read More Text for Excerpts in WordPress
Do you want to change the text that appears after the excerpt in your posts? Simply add this code to your theme’s functions file or as a new WPCode snippet:
function modify_read_more_link() {
return '<a class="more-link" href="' . get_permalink() . '">Your Read More Link Text</a>';
}
add_filter( 'the_content_more_link', 'modify_read_more_link' );
20. Disable RSS Feeds in WordPress
Not all websites need RSS feeds. If you want to disable RSS feeds on your WordPress site, then add this code to your theme’s functions file or as a new WPCode snippet:
function new_excerpt_more($more) {
global $post;
return '<a class="moretag"
href="'. get_permalink($post->ID) . '">Your Read More Link Text</a>';
}
add_filter('excerpt_more', 'new_excerpt_more');
If you have forgotten your WordPress password and email, then you can add an admin user by adding this code to your theme’s functions file using an FTP client:
If you run a multilingual website, then WordPress displays a language selector on the login page. You can easily disable it by adding the following code to your functions.php file or as a new WPCode snippet:
24. Show the Total Number of Registered Users in WordPress
Do you want to show the total number of registered users on your WordPress site? Simply add this code to your theme’s functions file or as a new WPCode snippet:
function wpb_user_count() {
$usercount = count_users();
$result = $usercount['total_users'];
return $result;
}
// Creating a shortcode to display user count
add_shortcode('user_count', 'wpb_user_count');
This code creates a shortcode that allows you to display the total number of registered users on your site.
Now you just need to add the shortcode [user_count] to your post or page where you want to show the total number of users.
Do you want to exclude specific categories from your WordPress RSS feed? You can add this code to your theme’s functions file or as a new WPCode snippet:
function exclude_category($query) {
if ( $query->is_feed ) {
$query->set('cat', '-5, -2, -3');
}
return $query;
}
add_filter('pre_get_posts', 'exclude_category');
26. Disable URL Links in WordPress Comments
By default, WordPress converts a URL into a clickable link in comments.
You can stop this by adding the following code to your functions file or as a new WPCode snippet:
27. Add Odd and Even CSS Classes to WordPress Posts
You may have seen WordPress themes using an odd or even class for WordPress comments. It helps users visualize where one comment ends and the next one begins.
You can use the same technique for your WordPress posts. It looks aesthetically pleasing and helps users quickly scan pages with lots of content.
Simply add this code to your theme’s functions file:
28. Add Additional File Types to Be Uploaded in WordPress
By default, WordPress allows you to upload a limited number of the most commonly used file types. However, you can extend it to allow other file types.
Just add this code to your theme’s functions file:
On the other hand, if you want to quickly change this to a real email address, then you can add the following code in your functions file or as a new WPCode snippet:
// Function to change email address
function wpb_sender_email( $original_email_address ) {
return 'tim.smith@example.com';
}
// Function to change sender name
function wpb_sender_name( $original_email_from ) {
return 'Tim Smith';
}
// Hooking up our functions to WordPress filters
add_filter( 'wp_mail_from', 'wpb_sender_email' );
add_filter( 'wp_mail_from_name', 'wpb_sender_name' );
Don’t forget to replace the email address and name with your own information.
The problem with this method is that WordPress is still using the mail() function to send emails, and such emails are most likely to end up in spam.
If you run a multi-author site and want to showcase author bios at the end of your posts, then you can try this method.
Start by adding this code to your functions file or as a new WPCode snippet:
function wpb_author_info_box( $content ) {
global $post;
// Detect if it is a single post with a post author
if ( is_single() && isset( $post->post_author ) ) {
// Get author's display name
$display_name = get_the_author_meta( 'display_name', $post->post_author );
// If display name is not available then use nickname as display name
if ( empty( $display_name ) )
$display_name = get_the_author_meta( 'nickname', $post->post_author );
// Get author's biographical information or description
$user_description = get_the_author_meta( 'user_description', $post->post_author );
// Get author's website URL
$user_website = get_the_author_meta('url', $post->post_author);
// Get link to the author archive page
$user_posts = get_author_posts_url( get_the_author_meta( 'ID' , $post->post_author));
// Get User Gravatar
$user_gravatar = get_avatar( get_the_author_meta( 'ID' , $post->post_author) , 90 );
if ( ! empty( $display_name ) )
$author_details = '<p class="author_name">About ' . $display_name . '</p>';
if ( ! empty( $user_description ) )
// Author avatar and bio will be displayed if author has filled in description.
$author_details .= '<p class="author_details">' . $user_gravatar . nl2br( $user_description ). '</p>';
$author_details .= '<p class="author_links"><a href="'. $user_posts .'">View all posts by ' . $display_name . '</a>';
// Check if author has a website in their profile
if ( ! empty( $user_website ) ) {
// Display author website link
$author_details .= ' | <a href="' . $user_website .'" target="_blank" rel="nofollow noopener">Website</a></p>';
} else {
// if there is no author website then just close the paragraph
$author_details .= '</p>';
}
// Pass all this info to post content
$content = $content . '<footer class="author_bio_section" >' . $author_details . '</footer>';
}
return $content;
}
// Add our function to the post content filter
add_action( 'the_content', 'wpb_author_info_box' );
// Allow HTML in author bio section
remove_filter('pre_user_description', 'wp_filter_kses');
Next, you will need to add some custom CSS to make it look better.
XML-RPC is a method that allows third-party apps to communicate with your WordPress site remotely. This could cause security issues and can be exploited by hackers.
To turn off XML-RPC in WordPress, add the following code to your functions file or as a new WPCode snippet:
WordPress uses a modern and intuitive editor for writing content and editing your website. This editor uses blocks for commonly-used content and layout elements, which is why it’s called the Block Editor.
However, you may need to use the older Classic Editor in some use cases.
The easiest way to disable the block editor is by using the Classic Editor plugin. However, if you don’t want to use a separate plugin, then just add the following code to your functions file or as a new WPCode snippet:
WordPress switched from classic widgets to block widgets in WordPress 5.8. The new block widgets are easier to use and give you more design control than classic widgets.
However, some users may still want to use classic widgets. In that case, you can use the following code in your theme’s functions file or as a new WPCode snippet:
When visitors view a post or page on your WordPress blog, your WordPress theme will show the date the post was published. This is fine for most blogs and static websites.
However, WordPress is also used by websites where old articles are regularly updated. In these publications, displaying the date and time the post was last modified is essential.
You can show the last updated date using the following code in your theme’s functions file or as a new WPCode snippet:
$u_time = get_the_time( 'U' );
$u_modified_time = get_the_modified_time( 'U' );
// Only display modified date if 24hrs have passed since the post was published.
if ( $u_modified_time >= $u_time + 86400 ) {
$updated_date = get_the_modified_time( 'F jS, Y' );
$updated_time = get_the_modified_time( 'h:i a' );
$updated = '<p class="last-updated">';
$updated .= sprintf(
// Translators: Placeholders get replaced with the date and time when the post was modified.
esc_html__( 'Last updated on %1$s at %2$s' ),
$updated_date,
$updated_time
);
$updated .= '</p>';
echo wp_kses_post( $updated );
}
By default, WordPress displays the admin bar at the top when a logged-in user views your website.
You can disable the admin bar for all users except site administrators. Simply add the following code to your functions file or as a new WPCode snippet:
/* Disable WordPress Admin Bar for all users */
add_filter( 'show_admin_bar', '__return_false' );
WordPress displays a ‘Howdy Admin’ greeting in the WordPress dashboard. ‘Admin’ is replaced by the logged-in user’s name.
You can change the default greeting to your own by adding the following code in your functions file or as a new WPCode snippet:
function wpcode_snippet_replace_howdy( $wp_admin_bar ) {
// Edit the line below to set what you want the admin bar to display intead of "Howdy,".
$new_howdy = 'Welcome,';
$my_account = $wp_admin_bar->get_node( 'my-account' );
$wp_admin_bar->add_node(
array(
'id' => 'my-account',
'title' => str_replace( 'Howdy,', $new_howdy, $my_account->title ),
)
);
}
add_filter( 'admin_bar_menu', 'wpcode_snippet_replace_howdy', 25 );
WordPress comes with a built-in editor where you can edit plugin files. You can see it by going to the Plugins » Plugin File Editor page.
Similarly, WordPress also includes a file editor for classic themes at Appearance » Theme File Editor.
Note: If you use a block theme, then the theme file editor is not visible.
We don’t recommend using these editors for making changes to your theme or plugin. A tiny mistake in code can make your website inaccessible to all users.
To disable the plugin/theme editor, add the following code to your functions file or as a WPCode snippet:
// Disable the Plugin and Theme Editor
if ( ! defined( 'DISALLOW_FILE_EDIT' ) ) {
define( 'DISALLOW_FILE_EDIT', true );
}
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.