You certainly remember this tutorial which allowed you easily add the Disqus comments system to WordPress.

However, this very popular commenting system, while it works well on articles and certain pages, it is not always suitable for certain publication formats. You might therefore want to disable the latter on certain publication formats.

In this tutorial, I will show you how to disable Disqus on certain custom post formats or " Custom Post Types ».

But before, if you have never installed WordPress discover How to Install a WordPress Blog in 7 Steps et How to find, install and activate a WordPress theme on your blog.

Now let's go back to why we are here.

Before you start, make sure that Disqus is synced to your blog and that you make a backup of your blog.
You can create a plugin or add the following code in the "functions.php" file the active WordPress theme of your blog.

Code-custom-post-type

Don't forget to replace the character string " custom_post_type_name By the custom publication format name (Post, product, page, etc.).

This code simply adds a filter that controls each post format and will disable Disqus on that post.

Discover also some premium WordPress plugins  

You can use other WordPress plugins to give a modern appearance and to optimize the handling of your blog or website.

We offer you here some premium WordPress plugins that will help you do that.

1. ZoomSounds

ZoomSounds is a WordPress Plugin premium that will help you display an audio player on your website. It is also one of the best bought plugins with over 1690 sales. The best part of the plugin is the fact that it comes with all the features that let you make your website user-friendly.

ZoomSounds premium wordpress plugins add audio player

The interface and design of the audio player are attractive. Just like the popular plugins of this niche, it presents a powerful control panel that lets you take it in hand. It also supports SoundCloud.

Your visitors will have the opportunity to like and comment, which makes this plugin more social. Other interesting features include: support for the playlist, WooCommerce support and eight audio player models.

Download | Demo | Web hosting

2. WP Import Export

This is the most complete suite of WordPress plugins that helps you import and export your website data. So if you are a little familiar with the latter, getting started with this plugin would be very easy.

WP Import Export wordpress plugin

WP Import and Export will allow you to export your data in formats varied. Also you can import files into any website. Don't worry, to make things easier, just check out its demo to help you with this task.

Download Demo | Web hosting

3. WordPress Sidebar and Widgets Visibility

Widgets and sidebars in themes usually have a single design. Knowing this, some users still buy these WordPress themes. But now, thanks to this WordPress Plugin revolutionary premium, you'll be able to create stunning new templates with ease.

WordPress Sidebar and Widgets Visibility Create Sidebar Hide Sidebar and Hide Widgets wordpress plugin

The process is very simple. For edit widget, just add the front widget customizer and configure the styling options. It also works with sidebars. Just install this WordPress Plugin on any sidebar and change its appearance.

See also How to change the sidebar side on WordPress

It is simple and efficient!

Download | Demo | Web hosting

Recommended Resources

Find out about other recommended resources to help you build and manage your website.

Conclusion

Here ! That's it for this tutorial. I hope it will allow you to optionally disable the WordPress plugin Disqus on WordPress. Do not hesitate to share with your friends on your favorite social networks

However, you can also consult our resources, if you need more elements to carry out your projects of creation of Internet sites, by consulting our guide on WordPress blog creation.

If you have suggestions or remarks, leave them in our section Comments.

...