How to Add a Universal Custom Menu to Multiple Google Workspace Apps

Google Sheets - Custom Menu with Apps Script

Adding a custom menu in Google Sheets, Docs, Slides, and Forms using Google Apps Script is straightforward.

As an illustration, the following code snippet adds a custom menu to the parent Google Sheet that reveals the spreadsheet name upon clicking.

function onOpen() {
  const ui = SpreadsheetApp.getUi();
  const menu = ui.createMenu('➯ Custom menu');
  menu.addItem('Show spreadsheet name', 'showName');
  menu.addToUi();
}

function showName() {
  const fileName = SpreadsheetApp.getActiveSpreadsheet().getName();
  SpreadsheetApp.getUi().alert(fileName);
}

The above code defines two functions: onOpen which executes when the app opens, and showName which is triggered when the menu item is clicked.

This approach can be applied to create custom menus in other Google Workspace apps, including Forms, Slides, and Google Docs.

Multiple Workspace Apps, One Custom Menu

The code above is specific to Google Sheets and will not work if you use it to add custom menus in Google Forms or Slides. That’s because you need to call SpreadsheetApp.getUi() to get the sheet’s UI instance while the Google Form’s UI can be accessed through a different FormApp.getUi() method.

This can be a problem because some Google add-ons, Document Studio for example, can be launched from multiple Google Workspace apps. How do you identify the currently active Workspace application (Sheets, Docs, Slides, or Forms) and add menu items that are specific to that app?

Identify the Current Workspace App

The getContainer function is your secret weapon for identifying the currently active Google Workspace application. It works by iterating through a list of known app classes, like DocumentApp and SpreadsheetApp.

For each class, it attempts to access the UI object. If the call is successful and doesn’t throw an exception, it indicates that the corresponding app is active and returns that app class.

const getContainer = () => {
  const apps = [DocumentApp, SpreadsheetApp, FormApp, SlidesApp];
  const activeApp = apps.find((app) => {
    try {
      app.getUi();
      return true;
    } catch (f) {
      return false;
    }
  });

  return activeApp;
};

Building the Universal Custom Menu

Now that you know the current Workspace application, we can modify the onOpen function to create a dynamic universal menu. The menu title contains the name of the active application and includes a menu item to display the app-specific file name.

const onOpen = () => {
  const app = getContainer();
  const ui = app.getUi();
  const appName = String(app).replace('App', '');
  const menu = ui.createMenu(`Custom menu in ${appName}`);
  menu.addItem(`Show ${appName} name`, 'showAppName');
  menu.addToUi();
};

The showAppName function uses a switch statement to determine the appropriate method for retrieving the file name based on the active app.

const showAppName = () => {
  const app = getContainer();
  let fileName;
  if (app === DocumentApp) {
    fileName = DocumentApp.getActiveDocument().getName();
  } else if (app === SpreadsheetApp) {
    fileName = SpreadsheetApp.getActiveSpreadsheet().getName();
  } else if (app === SlidesApp) {
    fileName = SlidesApp.getActivePresentation().getName();
  } else if (app === FormApp) {
    fileName = FormApp.getActiveForm().getTitle();
  }
  app.getUi().alert(`You are looking at ${fileName}`);
};

Chris’ Corner: Stand Alones

It continues to be a big year for Web Components. I’m noticing it more this week as it’s effecting some of my friends. My long-time ShopTalk co-host Dave Rupert just got a job at Microsoft working on Fluent UI Web Components. Probably didn’t hurt that he wrote the book on them. I’m stoked that big, well-funded, public, freely-usable design systems offer Web Components. They are starting to feel more like first-class citizens. For example Google’s material-web is ready to rock, even on CodePen. And classic examples like Lightning. Also, excellent indie Web Component libraries like Shoelace are getting big funding and will surely become well-trusted building blocks for years to come. Maybe the same will happen to Lion. My friend Scott is also working on a new course Web Components Demystified that will bring another cohort of developers to the scene.

Let’s check out some interesting Web Components out in the wild I’ve seen recently and bookmarked:

Dave calls these kind of things “Standalone” Web Components and that name is corroborated with this Standalone Elements showcase. I like that name. I guess they are more about functionality than design. It’s not that these things have no design, it’s just what little they have you can easily imagine customizing to your own site, or just leaving as default.

As long as these components are published somewhere public and linkable, they are easily usable on CodePen. NPM is probably a good classic choice, as it helps the appealing “lives forever” aspect of Web Components. And the “distribution” angle is pretty relevant too! People use things that are easy to use.

I really feel like there really should be a public index of Web Components in this “just grab it and use it” category. Should we just call Serhii Kulykov’s site the canonical place? I’ll do a PR if I can wrastle up some time. Dave’s site is fine too and honestly easier since it’s just some Markdown. What would be extra cool though is some better metadata on either/both, like the author, where it’s hosted, an ideally a live demo.

This all reminds me of the peak jQuery days where you could find all sorts of stuff designed as “jQuery Plugins”. That was credit to jQuery for making a nice API for that, and at that time it was likely the jQuery API was quite useful to use for DOM-related-anything. But, of course, it required jQuery, and when jQuery went out of favor, we lost all those plugins. The same sort of thing happened with React. All sorts of componentry built only to work with React. That, of course, is limited to sites that use React, and guess where they will go when React falls out of favor? The graveyard, yo.

But with Web Components… this story is likely to end differently. Web Components don’t depend on any library or framework, that however popular, will have a rise and fall. A Web Component, which it itself a native part of the platform, with no dependencies other than the platform, is likely to last as long as the web does.

How to Add an Admin User in WordPress Using FTP (Easy Tutorial)

Do you need to add an admin user in WordPress but don’t have access to the dashboard?

At WPBeginner, we often help users who get locked out of their WordPress admin area and need to find a way back in. One easy fix is to add an admin user using FTP (File Transfer Protocol).

In this article, we will show you how to add an admin user in WordPress using FTP.

How to Add an Admin User in WordPress Using FTP

When You May Need to Add an Admin User in WordPress Using FTP

Adding a WordPress admin user using FTP instead of the WordPress admin area might be necessary in a few situations:

  • Lost admin access – If you can’t get into your WordPress admin dashboard because you forgot your password, a security plugin locked you out, or there’s a problem with a plugin or theme, then you can create a new admin user through FTP to regain access.
  • Corrupted WordPress – Sometimes, you may experience some common WordPress errors where you can’t reach the admin dashboard. Creating a new admin user via FTP can help you get control back.
  • Security issues – If your site gets hacked and the hacker gains admin access, then making a new admin user can help you kick them out and secure your site.
  • Migration problems – When moving your site to a new server, if there are issues with the admin user not working or you need to reset the info, then making a new admin user with FTP can be a quick fix.

With that in mind, we will walk you through a step-by-step guide on how to easily add an admin user to your WordPress website using FTP.

How to Add a New Admin Account in WordPress With FTP

First things first, you will need an FTP client. This software allows you to access files from your website without logging in to your WordPress dashboard. We will be using FileZilla in this tutorial, as it’s pretty easy to use.

Next, you will need to connect your website with the FTP client. To do this, you will need your FTP access details (usually accessible in cPanel or other hosting control panels).

For step-by-step guidance, you can see our guide on how to use FTP to upload files in WordPress.

Once your FTP client is connected to your website files, you will need to find your current WordPress theme’s functions.php file. You should be able to locate the file on the right side of the FTP window, inside your current theme’s folder, which is found in a path like this:

/public_html/wp-content/themes/your-current-theme/

Here’s what our screen looks like. Our demo site is using the default Twenty Twenty-Four theme.

Locating functions.php file in FTP

Once you have found the functions.php file, you can just double-click it. FileZilla will then download the file to your computer.

At this stage, just go ahead and locate that file on your computer. After that, open it using a plain text editor like Notepad.

Then, you need to insert this code snippet at the bottom of the file to add an admin user account:

function wpb_admin_account(){
$user = 'Username';
$pass = 'Password';
$email = 'email@domain.com';
if ( !username_exists( $user )  && !email_exists( $email ) ) {
$user_id = wp_create_user( $user, $pass, $email );
$user = new WP_User( $user_id );
$user->set_role( 'administrator' );
} }
add_action('init','wpb_admin_account');

Don’t forget to replace Username, Password, and email@domain.com with your own values. You can also use the same code snippet to create other user roles if needed.

Here’s what the file should look like:

Adding the new admin user account code in functions.php

Next, simply save the file and go back to your FTP client.

Here, you need to locate the file you just edited on the left side of the interface. Right-click on it, and click ‘Upload.’

Uploading the functions.php file via FTP

A new window will pop up saying that the file already exists in your website files.

Just select the ‘Overwrite’ option and click ‘OK.’

Overwriting an existing functions.php file via FTP

Now, open yourwebsitename.com/wp-admin in your browser. Remember to replace yourwebsitename.com with your own domain name.

If the code works, then you will be able to type your credentials into the login page and access the WordPress admin area again.

The default WordPress login page

Note: Once you have logged in to your WordPress site, you should go back to your FTP client to open the functions.php file again and delete the code you added.

Deleting the code will not remove the user. This is just to ensure that the code does not execute again, which could lead to unintended consequences. Plus, you can always add new users and authors to your WordPress site if needed.

Alternative: Add a New Admin User With Your Web Host’s File Manager

If your FTP connection was not successful and you are still locked out of the WordPress admin, then you can use your WordPress hosting’s file manager to add the code to functions.php. Beginners may also find this method much easier.

For the sake of this tutorial, we will use Bluehost’s file manager. In your hosting dashboard, just go to the ‘Websites’ tab, find the WordPress website you are locked out of, and click ‘Settings.’

Bluehost site settings

Once inside, scroll down to the Quick Links section.

Then, click ‘File Manager.’

Bluehost File Manager button

The same as the previous method, you need to find your current WordPress or WooCommerce theme’s functions.php file.

After you locate it, just right-click on the file and select ‘Edit.’

Editing a functions.php file in Bluehost file manager

Next, simply paste the same code snippet from the earlier method.

Click ‘Save Changes.’

Adding an add new admin user code in the WordPress functions.php file using Bluehost file manager

All you need to do next is go to your WordPress login URL and try signing in with your new admin user’s login details.

Bonus: Learn More WordPress functions.php Hacks

Besides adding a new admin user, there are actually a lot of cool tricks you can do with the functions.php file.

For example, you could add new widget areas that are not default in your WordPress theme. This way, you have more space to insert your widgets.

You can also disable automatic update email notifications, which can get annoying if you have a lot of plugins and themes that auto-update.

You can learn more about all of these hacks in our ultimate list of useful tricks for the WordPress functions.php file.

And if you want to try out all of these tips and tricks, then we recommend using WPCode. While it’s possible to edit functions.php with an FTP client, WPCode makes it safe and easy to manage all of the different code snippets that you add to the file.

This way, you can keep track of every custom code snippet that’s been added and disable it in a few clicks if an error occurs.

You can read more in our full WPCode review.

WPCode

We hope this WordPress tutorial helped you learn how to add an admin user to WordPress using FTP. You may also want to see our article on how to add a WordPress admin user to the MySQL database with phpMyAdmin and our ultimate WordPress SEO guide to boost your rankings.

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

The post How to Add an Admin User in WordPress Using FTP (Easy Tutorial) first appeared on WPBeginner.

11 Best WordPress Paywall Plugins (Free and Paid Options)

At WPBeginner, we’ve had a lot of experience working with different website monetization tools, including paywall plugins, membership software, and more. We’ve tested everything from simple plugins to complex solutions, learning that there’s no one-size-fits-all answer when it comes to paywalls.

The right paywall plugin can help you monetize your content effectively by controlling who can access specific pieces of content. It can also be handy for collecting leads and expanding your email list.

In this article, we will review the top paywall plugins for WordPress, including both free and paid options, to help you find the perfect fit for your site.

wordpress-paywall-plugins-og

Quick Picks: The Best Paywall Plugins for WordPress

RankPluginBest ForStarting PriceFree Version
🥇MemberPressPremium memberships$179.50 per yearYes
🥈MemberMouseMember engagement automation$199.50 per yearYes
🥉WishList MemberMaximum content control$149.50 per yearNo
4Paid Memberships ProComplete membership management$247 per yearYes
5Thrive LeadsAll-in-one lead generation and conversion optimization$99 per yearNo
6OptinMonsterLead generation $59.60 per yearYes
7AccessAllyAll-in-one learning management system$99 per monthNo
8Restrict Content ProTheme and plugin integrations$99 per yearYes
9aMemberProAdvanced membership reportingOne-time payment of $149No
10LearnDashCustom courses$199 per yearNo
11 WooCommerce MembershipsMemberships to online store integration$199 per yearNo

What Are WordPress Paywall Plugins, And Why Do You Need One?

A WordPress paywall plugin allows you to monetize your content by restricting access to certain posts or pages until users make a payment or subscribe to a membership plan.

There are a lot of similarities between a paywall and a membership plugin, but the biggest difference is that membership plugins can offer anything in their plans. This can include things like private communities, courses, training programs, live events and meetups, discounts, and so on.

On the flip side, paywall plugins usually only limit gated content.

Think of sites like Medium.com, the New York Times, Patreon, or others that allow users to access premium content when they subscribe.

The New York Times

Some paywall sites charge by individual post, while others allow you to access everything after paying an upfront fee.

So, why do you need WordPress paywall plugins? Sometimes, you want to save your best content for your most loyal paying customers.

Gating your content is one of the most proven ways to make money online blogging. However, paywalls are not only limited to bloggers.

Here are some other use cases for paywalls:

  • Content creators and podcasters could gate their most valuable media content to make it exclusive to their paying customers.
  • Digital publishers like online newspapers or magazines can restrict access to premium articles.
  • Course creators can offer premium tutorials and educational content with paywall plugins.
  • Photographers and artists can use paywall plugins to sell access to artwork, digital downloads, or high-resolution images.
  • Freelancers or agencies could charge a fee to access premium resources, like templates or support.

The point is there are many directions you can take. A paywall is often used to monetize your content, so you get paid for all the valuable information you provide to your audience. But it’s also a great way to grow your email list since you can require users to create an account to access premium content.

Why Trust WPBeginner

At WPBeginner, we have more than 16 years of experience in creating WordPress websites, monetizing content, and online marketing. When testing plugins for our reviews, we try them out on real websites and pay special attention to unique features, pros, and cons.

For more details, see our editorial process.

1. MemberPress

MemberPress website

MemberPress is the best paywall plugin on the market, allowing you to sell exclusive members-only content. This plugin comes packed with features that allow you to build a paywall behind your WordPress site, manage content and memberships, and receive recurring payments.

As the site owner, you are in charge of content access rules. You can drip content based on set time periods and access expirations. Dripping content based on a time schedule is a great way to improve customer retention, as customers have to remain onboard for continued access.

Beyond that, you can also create different membership levels. Users can choose the plan they want to join, and each plan comes with its own unique content, pricing, and features. That way, you are able to build membership plans that appeal to different audiences, which can help boost sales.

For example, in the MemberPress settings, you can choose how many pages a visitor can access without a subscription.

seo-paywall-settings

This is a great way for new visitors to sample your content and get a preview of what to expect in your premium content.

In addition, there are plenty of other rules you can set. For example, you can choose to gate content based on tags, categories, and other taxonomies.

access-conditions-protected-content

For more details about what this plugin can do, check out our ultimate MemberPress review.

Pros:

  • MemberPress is easy to use.
  • It integrates with many other third-party apps, such as Drip, Constant Contact, Stripe, PayPal, and others.
  • You have total control over how you want to restrict content and create membership levels.

Cons:

  • While MemberPress offers a free version with basic features to restrict content, the Pro version has much more advanced features like subscription billing, digital downloads, content dripping, and more.

Why We Recommend Using MemberPress: With MemberPress, it’s easy to set up and restrict specific posts, pages, categories, and files to paying site members. You can even restrict content based on account signups and not paid subscriptions. In our experience and testing, we haven’t found a paywall plugin that offers as many features as MemberPress does.

2. MemberMouse

Membermouse

MemberMouse is one of the most user-friendly paywall plugins you’ll find. It allows you to sell protected content and products. What’s great about this software is that you have plenty of options to maximize sales, such as one-click upsells, free and paid trials, and members-only pricing.

In addition, you can restrict content access by protecting certain pages and posts and auto-lock shared accounts. Just like MemberPress, you can add custom content dripping schedules and multiple membership levels. Overall, you are in the driver’s seat when it comes to content restriction and dripping.

membermouse-drip-content

For instance, you can set a specific content drip schedule based on the specific membership level. This helps to encourage subscribers to continue renewing their membership.

Plus, you can create login forms so users can easily sign in anytime once they’ve become members. MemberMouse creates custom HTML for each login form.

login-form-code

You can then add that HTML to a custom sales page or landing page you’ve created using a page builder plugin like SeedProd.

For more details about the features available, check out our MemberMouse review.

Pros:

  • You can sell paywall subscriptions and physical products.
  • The plugin connects with your favorite email marketing services and payment gateways.
  • You can embed the login form on just about any page on your site, such as your home page, landing page, or other pages.

Cons:

  • There’s no free plugin, and the pricing starts at $199.50 per year.

Why We Recommend Using MemberMouse: Due to its advanced features, we recommend MemberMouse for larger and enterprise-level companies. It’s good for creating paywalls, membership sites, and physical product sales.

3. WishList Member

WishList Member

WishList Member is a paywall plugin that allows you to sell premium content on your site.

With this plugin, you have granular control over when, who, and which content you are giving access to. Even better, it’ll automatically provide access and remove access based on the membership level. Like the other plugins, you can create as many member levels as you’d like.

You can also automate content distribution by scheduling posts to go live on a specific time and date. We also really like the cool “sneak peek” feature, which shows snippets of gated content. This gives readers a taste of what they are missing and can help drive conversions.

WishList Member is one of the few plugins that offers a Pay-per-Post feature. Rather than providing access to specific content based on membership level, users can pay for each post separately. That means you can also set a different price point for each post, depending on its value.

Additionally, one of the best things about WishList Member is its wide range of integrations. You’ll find a long list of payment providers, email marketing services, and other marketing automation.

For example, if you are a course creator or coach, then you can integrate the plugin with LearnDash or FunnelKit Automations to build a backend sales funnel for higher-ticket programs.

Pros:

  • You can use sneak peeks with previews of specific content and invite users to sign up.
  • There’s a huge library of integrations.
  • You can choose to gate content by membership or charge per post.

Cons:

  • The interface is a little complicated for beginners.

Why We Recommend Using WishList Member: WishList Member costs $147 for a single license, making it one of the less expensive paid membership plugins. Considering all of the features you get, you will have total control over your paywall at a fair price.

4. Paid Memberships Pro

Paid Memberships Pro

Paid Memberships Pro proves that you don’t need to buy an expensive plugin to have an effective paywall. With the free version alone, you will have a solution to secure your content and charge a recurring subscription for it.

The free version offers 28 different types of content restrictions, such as:

  • Limited access to a specific number of page views before hitting the paywall
  • Show sneak peeks or hide the restricted content entirely
  • Drip feed access based on a schedule
  • Offer directories to view other member profiles
  • Created personalized content based on membership level

That said, the paid version gives you more control and advanced features. In our testing, we were very impressed with the Paid Membership Pro plugin’s array of features, which you can access upon upgrading.

The paid plans offer premium customization recipes so you can customize your paywall site to your exact needs. For example, you could add a progress bar to show how much content a user has consumed or redirect members upon logout based on level.

Additionally, you get a ton of addons like Google Analytics and eCommerce tracking, premium support, advanced checkout page customizations, and more.

Pros:

  • The plugin supports popular payment gateways.
  • It provides paywall site performance, such as revenue and sales reports.
  • You can allow users to buy single-category purchases, one-time access, or even individual content.

Cons:

  • The plugin does not include a built-in feature that allows administrators to selectively enable or disable specific user actions. For example, you may want to allow users to self-upgrade but disable the self-cancellations option.

Why We Recommend Using Paid Memberships Pro: We like Paid Memberships Pro because the free version is good enough to get started if you just want to create a paywall in WordPress. But if you want to add other customizations like improving the checkout experience, the ability to accept donations, or other advanced features, then you can upgrade to the Pro version.

5. Thrive Leads

Thrive Leads

Thrive Leads is a list-building solution designed to convert traffic visitors into email subscribers. It offers a variety of features, such as the ability to create a pop-up lightbox, sticky and floating bars, in-line forms, and even a content lock with a paywall.

The plugin has an easy-to-use drag-and-drop visual editor, allowing you to create an opt-in form. Beyond that, there are tons of professionally-designed templates, so you can pick one that best fits your offer.

What we like most about Thrive Leads is that you can choose to gate your content via an email opt-in or by collecting payments.

Content Lock

If you want to set up a paywall for your premium content, you’ll need to add a link to your checkout page. Keep in mind you’ll need a WordPress payment plugin such as WooCommerce.

Thrive Leads comes as a standalone plugin subscription or as part of the entire Thrive Suite. For example, with Thrive Apprentice, you can easily set up a paywall and get your visitors to pay for access to your membership site.

Pros:

  • There are lots of opt-in templates to choose from.
  • You can embed the content lock on any part of your website.
  • The plugin is intuitive and easy to use.

Cons:

  • You need a separate plugin to collect payments.

Why We Recommend Using Thrive Leads: Connecting your paywall plugin to other marketing and lead generation tools can be a hassle. That’s what makes Thrive Leads special. With the Thrive Suite, you have everything you need to attract and convert new customers without bouncing from one plugin to another.

6. OptinMonster

OptinMonster

OptinMonster is our top-recommended lead generation software, meaning it’s the best tool on the market to get you more traffic and grow your email list.

OptinMonster offers a content-lock feature only for in-line campaigns, meaning lead generation forms that are already embedded onto a page. With this feature, you can remove your gated content from the page until the reader signs up or make everything blurry for users until they sign up.

OptinMonster content lock

Once the user enters their email, the gated content will appear, and they will be able to start reading your exclusive material.

Plus, just like Thrive Leads, it allows you to create engaging lead generation campaigns such as lightbox popups, slide-in scroll boxes, and fullscreen welcome mats.

Pros:

  • It’s a great way to grow your email list.
  • There are tons of templates and lead generation types.
  • You can remove content from the page or make it blurry to fit your needs.

Cons:

  • Doesn’t accept payments for paywalls.

Why We Recommend Using OptinMonster: If you are looking for a way to hide content until users sign up for your email list, then OptinMonster is a great option. Although it’s not a traditional paywall, it is a great option for lead generation.

7. AccessAlly

AccessAlly

AccessAlly is a learning management system (LMS) plugin designed to help coaches, trainers, and creators sell their digital products.

Unlike most platforms, AccessAlly focuses on being an all-in-one platform that helps online coaches create stunning learning experiences. With the platform, you’re able to deliver online courses, memberships, certifications, high-end coaching programs, communities, and books. There are even templates for each of these, so you never have to start from scratch.

AccessAlly templates

After testing AccessAlly ourselves, we really like the control you get when it comes to protecting content. With access tags, you can easily upload and protect files like PDFs, MP3s, and more.

As a course creator, you can restrict content based on membership level or course. Everything is handled with tags and materials, ensuring only paying members can view certain materials.

In addition, AccessAlly’s protected content allows you to remove it from Google search results. That way, unauthorized users won’t be able to stumble onto your restricted paywall content.

Pros:

  • You can house all of your digital products, memberships, communities, and gated content in one place.
  • It can integrate with other tools like CRM apps and email marketing services.
  • Use gamification to keep users engaged by earning points for accomplishing tasks.

Cons:

  • No free version.

Why We Recommend Using AccessAlly: AccessAlly is a powerful plugin that is best suited to content creators and online coaches. With this plugin, you can protect gated content and separate it into membership tiers. Plus, there are built-in recurring Stripe and PayPal payments.

8. Restrict Content Pro

Restrict Content Pro

Restrict Content Pro is a WordPress paywall plugin that allows you to restrict content in a few ways, such as tags, content category, membership status, WordPress user roles, and more.

We like that Restrict Content Pro allows members to manage their accounts easily. They can view their account status and membership expiration date, upgrade or cancel their accounts, and view their complete payment history and past invoices.

You can also send automated, customizable emails to your subscribers. It has tags to choose from, so you can personalize your emails, like adding their first and last name, expiration dates, coupon codes, and more.

While there is a free version, the Pro version offers more advanced features. In our opinion, detailed reporting about the earnings on your paywall site is crucial to success. You can even offer free trial subscriptions so potential buyers can try a membership before they buy.

Pros:

  • You can offer free trials to boost sales.
  • The plugin offers a WooCommerce integration, allowing you to restrict who can buy products from your online store based on membership levels.
  • The plugin offers a lot of content restriction options.

Cons:

  • Content dripping is only available as an add-on in the Pro version.

Why We Recommend Using Restrict Content Pro: Restrict Content Pro offers a comprehensive customer dashboard that allows users to make changes to their memberships. We also like that it offers excellent premium features at an affordable price point.

9. aMemberPro

aMemberPro

aMemberPro is a simple, user-friendly paywall plugin that gives you total control over which content is made available to the public.

Like the other plugins on our list, you can create unlimited member levels. This allows you to sell which content to restrict based on different price points and subscription terms.

The plugin allows you to build your own members-only area. Every piece of content goes to only the members’ area, so non-paid members won’t know what’s inside.

What stands out about aMember Pro is its multi-language support, so you can easily translate your content to any of its 22 languages.

Beyond that, you get advanced features like flexible signup forms with automatic password generation and even a built-in affiliate program. The affiliate program is a great way to encourage subscribers to spread the word about your memberships.

Pros:

  • You can create your own affiliate program, similar to a plugin like AffiliateWP.
  • The checkout process allows for extensive customization, such as flexible signup forms, fail-back payment processors, coupon codes, and more.
  • The plugin gives granular access control for your paywall site.

Cons:

  • There’s no free version.
  • It has an outdated interface.

Why We Recommend Using aMember Pro: This is a great plugin that offers plenty of customization. You also have full control over scheduled content drips, membership levels, and the type of content you want restricted.

10. LearnDash

LearnDash

LearnDash is a popular WordPress LMS plugin that allows you to create unlimited online courses, quizzes, and lessons. With its simple drag-and-drop editor, you can set up backend courses without writing a single line of code.

This plugin is great for anyone looking to sell courses on their WordPress site. This learning management system goes way beyond just a simple paywall site.

It comes with comprehensive course builder tools, where you can design branded course content. For example, users can access the next module only once they’ve completed the previous one, which offers more structured guidance for more efficient learning.

Online learning can quickly become dull, which is why LearnDash is the best plugin for keeping users engaged in your material. You can add a private forum, create membership quizzes, issue user badges, and even give award certifications upon course completion.

awarding-points-questions

You can even set content restriction rules, such as requiring students to meet a certain number of points by completing quizzes or reading past articles in a series.

For more information, check out our complete LearnDash review.

Pros:

  • Great for selling online courses.
  • LearnDash has plenty of gamification elements to engage users.
  • You can control how you want to restrict content access.

Cons:

  • It’s a plugin designed for courses rather than just a paywall.

Why We Recommend Using LearnDash: We like LearnDash because it takes a more dynamic approach to your traditional paywall site. Rather than just gating content, LearnDash offers more ways to engage users, such as progress bars, gamification elements, and awards, which is great for building customer loyalty.

11. WooCommerce Memberships

WooCommerce Memberships

WooCommerce Memberships is a membership plugin addon for WooCommerce store owners. With this plugin, you can restrict services, products, and content to only registered users in your store.

It’s one of the few tools available that brings your shop, content, and memberships together. Giving special access to paid members helps to build a tight-knit community and boost loyalty.

For example, you may want to send members gifts along with exclusive content. This allows you to add more perks to each membership plan than you would get from a simple paywall plugin. You can even offer free shipping for paid members.

Like the other paywall plugins, you can also drip content, meaning customers need to be a member for a set period of time before they can access certain pages or posts.

Besides that, WooCommerce Memberships give you other advanced control options. You can restrict product viewing to only members so only members can view your best products. This works great if you sell items using something like an auction plugin to deal with limited inventory.

Restrict products in WooCommerce Memberships

Pros:

  • You have tons of control options, like which types of content and products to restrict viewing.
  • The add-on allows you to offer free trials.
  • You can drip content on schedule.

Cons:

  • It is only available for WooCommerce store owners.

Why We Recommend Using WooCommerce Memberships: WooCommerce Memberships are a great way to gate content for store visitors. When customers pay to become a member, they are happy to receive extra perks they might not find elsewhere.

Frequently Asked Questions About Paywall Plugins

Can I put a paywall on WordPress?

Yes, all you need is a paywall plugin that allows you to restrict access to content by page, post, category, URL, and so on. That way, visitors must complete an action like creating an account on your site or becoming a paid member to view the paywall.

What is the best paywall plugin for WordPress?

The best paywall plugin is, hands-down, MemberPress. It comes with powerful access control, letting you restrict content however you’d like to.

You can also drip content to members after a certain time. Beyond the basics, you’re able to sell online courses, which provide a more interactive learning experience than just a basic paywall.

What is the best free paywall plugin for WordPress?

Paid Memberships Pro is the best paywall plugin with a free version. It offers tons of content restriction types, giving you granular control, and you can accept recurring payments.

We hope this article helped you find the best paywall plugin for WordPress. You may also want to check out our ultimate guide to creating a WordPress membership site and our list of the must-have WordPress plugins and tools for business sites.

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

The post 11 Best WordPress Paywall Plugins (Free and Paid Options) first appeared on WPBeginner.