Home / Best Short Urls / How to Display Personalized Custom Content to Different User…

How to Display Personalized Custom Content to Different User…

As a website owner, there are quite a number of reasons why you might want to show custom content to different users on your site. In some cases, many entrepreneurs choose to run different sites on different subdomains to cater to this need. While this may be the common option, WordPress users can use an even simpler approach.

The default way of creating custom content on WordPress is to restrict user access to certain pages or posts by adding a password. However, there are cases when you may want to display different versions of your website to different users based on certain criteria.

Though WordPress doesn’t offer that functionality out of the box, there are third-party tools and plugins that can help you with that. This is one of the numerous reasons why many of us like WordPress. You get so much control over your website and its content.

In this article, I’m going to show you three interesting methods of displaying custom content to different users on your WordPress site. But before we get to that, let’s consider why you may want to do that. Let’s dive into it!

Why You Might Want to Display Custom Content on Your Site

By default, WordPress automatically makes every content you add to your site available to all your site visitors. If you want some other visibility options, the platform also lets you either make the content private or password-protected.

While these options are useful in a large number of cases, there are times when you need more flexibility. For example, if you work in a management role in an educational setting, you may want to restrict learning materials to different categories of students.

In a different case scenario, shoppers on an online store will be more than delighted to have a personalized shopping experience when they visit your website. With the right website personalization tools, you can easily recommend certain products and benefits to your site users based on user behavior.

This will not only help them shop faster but also increase your conversion rate and customer loyalty significantly. Depending on your niche and the purpose of your website, there are several ways custom content can help you achieve your goals.

The usual approach WordPress users would take to achieve this is to create a membership site and restrict the content type available based on user roles. No doubt, this strategy can prove useful in a lot of ways.

In general, membership sites can help you develop a strong sense of community among your site users and increase your site’s engagement levels. But, it may be difficult in certain cases to convince some users to go through the registration process.

In such cases, there are smart conditions you can set in order to display custom content to different users without requiring membership. You can customize content based on location, past user behavior, traffic referrer source, etc.

Let’s take a look at the different methods of achieving this!

Method 1: Password Protect Your Pages or Posts

By default, WordPress offers some solid visibility options that you can use to regulate access to content on your site. Though the approach may not be ideal, it’s the best native alternative WordPress has to offer.

By simply changing certain document settings, you can password protect your pages or posts. This way, only site visitors with a password can view them.

If you want to create a new page or edit an existing one, navigate to the Pages tab in your WordPress dashboard. 

Here, you can create a new page by clicking on the Add New button. Otherwise, click on Edit below the page you want to password-protect.

Once you’re done editing your page, navigate to Settings » Document » Visibility.

As earlier mentioned, the visibility setting of every WordPress page is set to ‘Public’ by default. To change this, click on Public and change the setting to Password Protected.

After that, you need to type in a secure password that other users can use to gain access to the page. You can see what your page now looks like to a site visitor by clicking on the Preview button.

You can also use this method to password protect your WordPress posts. However, this method is very similar to creating a membership site. Site users will still need to contact you or site administrators for a password. This is not necessarily ideal.

The second method I’ll be showing you is significantly more flexible. Using this method, you can show entirely different content or variations of the same content to your users.

Method 2: Use a WordPress Plugin

To display completely customized content to different users on your site, you’ll need a WordPress plugin. There are a couple of powerful content control plugins I’ve seen in the WordPress repository. Some of the popular options include Content Control, Restrict Content, Member Press, WP Private Content Plus, etc.

However, the majority of these plugins seem to be focused on limiting content access based on user roles and profiles. After an extensive search, I was finally able to find something with the functionality I needed: If-So Dynamic Content.

In essence, If-So Dynamic Content allows you to customize your site’s content based on how visitors interact with your site. You can set custom content according to a wide range of conditions too. Some of them include geolocation, device type, user IP, etc.

Probably my favorite part of the plugin is that it also supports WooCommerce. So, if you’re an online store owner, you surely want to try it out. Likewise, it integrates well with other powerful tools such as Google Ads and Facebook Ads. You’ll need a paid license to access these features though.

Okay, now, let me show you how to display custom content with this plugin.

How to Use the If-So Dynamic Content Plugin

The If-So Dynamic Content plugin creates custom content in WordPress using ‘triggers’. These triggers rely on preset conditions.