Page 1 of 1

Then you need to add code to your WordPress website

Posted: Sun Feb 16, 2025 3:34 am
by Mostafa044
Make Sure You Have Enabled Syncing Between Disqus and WordPressAt this point, you may see the following error: "You must have a website short name, API secret key, and API access token configured to enable this feature."

If this is the case, we will show you how to fix the error at the end of the article.


Often tutorials will ask you to edit your theme's functions.php files directly, but we advise against doing so as one small mistake can lead to a series of WordPress errors or even break your website completely.

So we recommend using the free WPCode plugin instead. It's the easiest and safest way to add custom code in WordPress .

We have thoroughly tested the tool and found it to be very reliable. You can read more about it in our WPCode review .

Note: You can also upgrade to WPCode Pro to unlock the cloud library of portugal phone number list code snippets, custom block creation, smart conditional logic, and more.

Once activated, visit the Code Snippets + Add Snippet page in your WordPress dashboard.

How to disable Disqus for custom post types using code
Here you can see the different pre-made snippets that you can add to your website. These include snippets that allow you to disable widget blocks in WordPress and remove the WordPress version number .

To add your own snippet, hover over “Add your own code” and then click “Use snippet”.

Disabling Disqus using WPCodOn this screen, enter a title for the custom code snippet. This can be anything that helps you identify the PHP snippet.