If you either don’t want to make use of the comments feature provided by WordPress – perhaps you’re using a third-party plugin like Disqus – or if you’re being really strict on the additional scripts that are being loaded for performance reasons, then just add the following snippet to your functions.php file to disable the comments script.
If you’re looking to speed up your site by reducing the number of scripts that WordPress loads then this is an easy one for you.
Much like disabling the script and stylesheet for using emojis in WordPress, this little snippet will disable the script for using embeds. For those that don’t know, embeds are when rich content is pulled through from another website, such as a YouTube video or a tweet from Twitter. By pasting a link to the video or tweet into the content editor, for example, WordPress will automatically convert this into an embedded bit of content.
If you’re looking to improve the performance of your WordPress site, there’s lots you can do. From the server it sits on to the PHP logic, they can range from the complex to the simple.
One way is to reduce the number of scripts and stylesheets that WordPress and your specific theme loads. In this case, we’re looking at disabling the script and stylesheet that allows WordPress to use emojis. For sites that don’t expect to use them, this is a no-brainer.
After installing WordPress on your AWS EC2 instance using the AMI provided by Bitnami, you’ll want to enter your instance’s public IP address into your browser and check that it’s live and everything is running correctly.
When you land on your brand spanking new WordPress site, one of the first things you’ll probably notice – apart from the default theme that is inevitably made active – is a small Bitnami banner in the bottom-right corner of the browser’s window. The banner links through to another page.
You’ve got some experience using WordPress; you’ve published posts and pages, customised a few things and perhaps installed some plugins. But you start to see constraints, limitations. You feel ready to dive deeper. Ready to learn a bit more about WordPress and how you can craft a unique website with your own style. Well, it’s probably time to start your WordPress development journey!