When building a WordPress site, depending on your audience, you may wish to disable comments entirely. There are a number of reasons why. If your client doesn’t have the time to be manually checking the comment it can be a major issue for small firms. Comments can be inappropriate, include spam links or in some cases be even potentially libelous. A growing issue for businesses these days, particularly in Europe.
And given WordPress’ status as the world’s most popular content management system, it’s become a popular solution to create a membership site. Consequently, attentive developers have jumped into the fray with a huge number of WordPress membership plugins.
We’re going to look at a number of ways you can add social sharing links to your website without them having a majorly detrimental effect on your loading times.
On each occasion, we’ll be testing with a new install of WordPress with the default WordPress theme, twentyseventeen pre-installed using the excellent WebPageTest to measure the results. We normally have caching enabled on our server but for the nature of these tests, it has been turned off, to give a more accurate result set.
All three plugins we’re testing are free and available from the WordPress plugin directory.
I’ve tried and tested lots of local WordPress solutions over the years, most notably WAMP, MAMP, and Docker, to name just a few. The thing is, I’m impatient. I’d prefer to spend my time designing and developing rather than fiddling around in the terminal or wondering by a local SQL has become corrupted after a reboot and is no longer recognized (thank you MAMP for that one).
After copious gnashing of teeth and colorful swearing I’ve settled on, what I think, is an absolutely outstanding environment for developing sites locally. And that’s Local by Flywheel.
Are you struggling with how to add code snippets to WordPress?
Code snippets unlock a whole heap of helpful functionality…but sometimes it seems like developers just magically expect you to know where to put each code snippet, right?
And because digging into source code is a serious thing, you definitely don’t want to trip up and accidentally make a mistake…
To help you avoid that unfortunate circumstance, I’m going to cover two things in this post:
- Where to add those code snippets you see flying around the WordPress community
- How to safely add those code snippets so that they don’t mess up your site and you won’t accidentally lose them if you update your theme (or switch themes)