How to Automatically Add a Disclaimer in WordPress (Easy Way)

Do you want to automatically show disclaimers and important notices on your WordPress website?

A disclaimer helps protect your business from legal action and provides users with additional information. Usually, you’d have to enter disclaimers in your content manually.

In this article, we will show you how to automatically add a disclaimer in WordPress using an easy method.

Automatically add a disclaimer in WordPress

Why Show a Disclaimer in WordPress?

Adding a disclaimer to your WordPress website is a great way of communicating important notices and announcements to your visitors. It also protects your business from being legally liable for any claims a user makes.

There are many situations where you can show a disclaim on your website. For example, let’s say your site features product endorsements or has affiliate links. You can display an FTC disclosure stating how you may receive compensation from the companies whose products you feature on your website.

Similarly, if you operate in an industry that is governed by different regulations, then you can show legal disclaimers. This is really helpful if you’re offering medical or health advice, legal advice, or financial investment tips.

Let’s say you’re writing a blog post on General Data Protection Regulation (GDPR). You can show a disclaimer notifying users that they should get in touch with an internet law attorney to seek legal advice.

Legal disclosure example

On the other hand, if you have a WordPress blog where you share personal opinions, then adding a disclosure can safeguard you from any legal action.

That said, let’s look at how you can automatically add a disclaimer in WordPress. You can click the links below to jump to any sections of this post.

Creating Disclaimers in WordPress

You can add disclosures manually in WordPress using the content editor. Simply enter the disclaimer content in your blog posts or page. However, this is time-consuming since WordPress doesn’t offer an option to show these disclaimers automatically, and you’d have to edit every page.

An easy way to do that is by using WPCode. It is the best WordPress code snippet plugin that makes it very easy to manage and add custom code snippets.

What’s a Code Blocks Snippet?

WPCode offers a Custom Blocks Snippets feature that you can use to create disclaimers. What it does is it creates a custom WordPress block that you can automatically place anywhere on your site.

Usually, this would require editing code or building a reusable block. WPCode makes the process easier, and you don’t have to mess around with the website code or have to manually edit posts and pages.

Aside from creating disclaimers, you can also use this WPCode feature to make custom WordPress blocks for call-to-action boxes, display important notices, create interactive blocks that include forms or image sliders, and much more.

For this tutorial, we will be using the WPCode Pro version because it includes the Custom Blocks Snippets option. However, there is also WPCode free version you can use to get started.

First, you’ll need to install and activate the WPCode Pro plugin. If you need help, then please see our guide on how to install a WordPress plugin.

Upon activation, you can head to Code Snippets » Settings from the WordPress admin panel and enter the license key. You’ll find the license key in your WPCode account area.

Enter WPCode license key

Next, you can go to Code Snippets » + Add Snippet from the WordPress dashboard.

From here, you’ll need to select the ‘Add Your Custom Code (New Snippet)’ option.

Choose the Custom Code option in the WPCode library to insert an ad

After that, you can enter a name for your snippet, like ‘Disclaimer Notice.’

Next, you must click the Code Type dropdown menu and select the ‘Blocks Snippet’ option. When you’re done, simply click the ‘Save Snippet’ button.

Select blocks snippets and save

You can now edit your disclaimer notice using the WordPress content editor.

To do that, go ahead and click the ‘Edit with Block Editor’ button.

Next, you’ll be taken to the block editor in WordPress. Go ahead and enter the text for your disclaimer.

Enter the text for your disclaimer

You can further customize your disclaimer notice using the styling options in the block editor.

Simply switch to the ‘Style’ tab in the Settings panel on the right. From here, you can change the color of the text, background, and link. There are also options to edit the size of the text.

For this tutorial, we will add a background color for the disclaimer notice so that it stands out from the rest of the text. Don’t forget to click the ‘Update’ button.

Customize your disclaimer notice

After customizing your disclaimer notice, you can then click the ‘Return to WPCode Snippet’ button at the top.

Automatically Adding Disclaimers in WordPress

Once you’re on the WPCode Snippet screen, simply scroll down to the ‘Insertion’ section. Here, you can select when and where your disclaimer notice will appear.

You can keep the ‘Insert Method’ to Auto Insert. After that, go ahead and click the Location dropdown menu.

Select insertion method for code snippet

WPCode will now show multiple options. Go ahead and switch to the Page-Specific tab.

Next, you can choose where your site will display the disclaimer. For example, it can appear at the beginning of a post, after a few paragraphs, at the end of the post, and more.

For the sake of this tutorial, we will select the ‘Insert After Paragraph’ option. This way, the snippet will appear on all the pages after a certain number of paragraphs.

Select location for code snippet

WPCode will also let you select the number of paragraphs, after which the custom block snippet will appear.

For example, we want the disclaimer notice to automatically appear after the first 3 paragraphs on all the pages on our demo site.

Update and activate the snippet

Once you’re done, don’t forget to activate the blocks snippet and click the ‘Update’ button at the top.

Besides that, you can also insert the disclaimer notice on specific pages using shortcodes.

Simply switch to the Insert Method from Auto Insert to Shortcode.

Use shortcode to add blocks snippet

After that, you can copy the shortcode and add it anywhere on your website. For example, you can show the disclaimer on specific pages and posts.

WPCode also lets you schedule your disclaimer scripts. This is really useful if you have a time-sensitive notice to display on your website. You can simply select the start date and end date for scheduling the snippet.

Schedule your snippet

When you’re done, don’t forget to activate the snippet and click the ‘Update’ button.

You can now visit your website to see the disclaimer in action.

View disclaimer notice preview

We hope this article helped you learn about how to automatically add a disclaimer in WordPress. You may also want to see our list of must-have WordPress plugins and tools for business sites and how to create an email newsletter the right way.

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 Automatically Add a Disclaimer in WordPress (Easy Way) first appeared on WPBeginner.

How to Disable WordPress Admin Email Verification Notice

Do you want to disable the admin email verification notice in WordPress?

By default, WordPress displays an admin email verification notice to the site administrators every few months to verify the email they use is still correct. It’s a pseudo-security measure that many site owners feel is unnecessary and annoying.

In this article, we will show you how to disable the admin email verification notice in WordPress.

How to Disable WordPress Admin Email Verification Notice

What is an Admin Email Verification Notice

The admin email verification notice feature was introduced in WordPress 5.3. The purpose of this feature is to show a screen to website administrators every few months that asks them to verify their site email address.

The admin email verification notice ensures that the email address provided by the administrator is accurate and still in use. Having a working email is important to site security and management.

Admin email verification notice

However, originally planned to appear every six months, sometimes the admin email verification notice can be displayed more frequently than necessary.

This can be annoying for users who’re just trying to log in to their WordPress website. Wouldn’t it be great if you could just turn off the admin email verification notice?

Let’s take a look at how to easily disable the admin email verification notice. You can click the links below to jump directly to the method you want to use.

You can easily disable the admin email verification notice by adding a code snippet to your WordPress files. If you haven’t done this before, then take a look at our beginner’s guide on pasting snippets from the web into WordPress.

Generally, you would need to manually add the code to your theme’s function.php file, but it can be a bit tricky since even a minor mistake can bring down your whole website.

This is why we recommend using a code snippet plugin like WPCode to add custom code in WordPress without having to edit your theme’s core files.

First, you need to install and activate the free WPCode plugin. For more instructions, please take a look at our guide on how to install a WordPress plugin.

Once the plugin is activated, go to Code Snippets » Add New from your WordPress admin dashboard.

Go to Code Snippets and click Add New

This will take you to the ‘Add Snippet’ page.

As we have to add custom code, simply click on the ‘Use Snippet’ button below the ‘Add  Your Custom Code (New Snippet)’ option.

Click Use Snippet button

This will take you to the ‘Create Custom Snippet’ page where you can start by entering a title for your code snippet. It can be anything that helps you identify the code.

Next, select the ‘PHP Snippet’ as the ‘Code Type’ from the drop-down menu on the right.

Choose PHP as a Code Type

After that, all you have to do is copy and paste the following PHP code snippet in the ‘Code Preview’.

// Disable WordPress Administration Email verification Screen 
add_filter( 'admin_email_check_interval', '__return_false' );
Disable sdmin email verification PHP snippet

After that, scroll down to the ‘Insertion’ section and select an insert method.

Now, simply choose the ‘Auto Insert’ option to automatically execute code on your site upon saving the snippet. Make sure to select the location “Admin Only”.

WPCode Insert Snippet for Admin Only

Now, go to the top of the page and toggle the switch from ‘Inactive’ to ‘Active’ in the top right corner and then click the ‘Save Snippet’ button.

Once, you have saved and activated the code snippet, it will be automatically executed on your site.

Click on Save Snippet button

Now you will no longer see the admin email verification notice.

Method 2. Disable Admin Email Verification Notice Using a Plugin

If you prefer not to add code to your WordPress site, you can always use a plugin.

For this tutorial, we will be using the Make Disable Admin Email Verification Prompt plugin.

The first thing you need to do is install and activate the Make Disable Admin Email Verification Prompt plugin. For more instructions, you can check out our guide on how to install a WordPress plugin.

Once the plugin is activated, simply go to Settings » General from your WordPress admin dashboard.

Go to Settings and then click on General

Now that you’re on the ‘General Settings’ page, scroll down to the bottom.

Here you will find the ‘Disable Admin Email Verification Prompt’ option. Now, simply make sure to check the box beside ‘Disable Admin Email Verification Screen.’

Check the disable admin email verification box

Don’t forget to click on the ‘Save Changes’ button to store your settings.

That’s it! You and your team should not see the admin email verification notice anymore.

We hope this article helped you learn how to disable the admin email verification notice in WordPress. You may also want to see our tutorial on how to disable automatic update email notifications in WordPress, and our comparison of the best email marketing services to grow your website traffic and sales.

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 Disable WordPress Admin Email Verification Notice first appeared on WPBeginner.