If you make use of shortcodes and widgets on your WordPress site (which is probably most of us), you might find that they don’t particularly work well together straight out of the box. For example, including a shortcode in a Text widget does not execute the shortcode itself and just displays the shortcode as text (instead of the actual output of said shortcode).
If you need to let someone else have access to Google Tag Manager – whether that be a freelance developer or a colleague – then you can accomplish this in less than 30 seconds. Just follow the simple steps below.
Looking to add Google Analytics to your website through Google Tag Manager? Maybe you have GTM installed but don’t have direct access to the code to place GA directly. Maybe you want to keep all of your tracking scripts in one place, within a GTM container. Either way, here’s how you add the GA tracking code to via GTM.
It’s a given, but first you need to make sure you have a Google account with both Analytics and Tag Manager setup. Assuming you’ve done that, let’s get started.
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!