How do you know how many visitors came to your site today? In the past week? The past month? There are plenty of solutions to this, and in this article, I’m going to compare two of the most popular solutions: Google Analytics WordPress Jetpack stats The first is a general purpose Javascript that works for […]
Category: WordPress
How To Know Which Template Is Used In WordPress
You’ve just installed a new theme. And you love it! However, there is one piece of text you don’t like. Or perhaps a graphic in a certain portion turns you off. “No problem.” you say to yourself. “This is WordPress – I can just modify the correct theme files”. Except that it’s not easy to […]
How To Add A “Back To Top” Icon On Your WordPress Site
These days, articles on the web are getting longer and longer. Many SEO experts recommend massive content pages with thousands of words to rank on Google. It’s a different matter that more often than not, I find such articles fatiguing, but that’s a different topic! The point is that you probably have quite a bit […]
How To Know Which Theme Is Used For A WordPress Site
Everyone who’s designed a site knows that much of it is inspiration from others. Whether its color combinations, dimensions, sidebars, or navigation, it’s impossible to not take tips from everyone else. Once you have your own site, you’ll constantly be on the lookout for new things to add to your own. It’s as if a […]
How To Prevent Certain Categories From Showing In WordPress Search
A typical WordPress website contains many different types of content. We have the most basic distinction between pages and posts, which serve completely different purposes. We also have different types of blog posts, and some that are meant specifically to be found by our customers, and others for different reasons – like say legal notices. […]
How To Enforce HTTPS With “WWW” After Installing An SSL Certificate
The war on HTTP has been won. With Google now enforcing HTTPS on all sites, under penalty of a ranking hammer, most serious web admins have migrated their sites to SSL. This has also been helped along by two things. First, Chrome now treats non-https sites as dangerous, scaring users into expecting SSL protection at […]
How To Easily Edit CSS In WordPress Without Child Themes
For all its customizability, WordPress made it quite difficult to change appearances right until the end of 2016. Even now, articles all over the web before this date give outdated advice on how to modify WordPress’s CSS, and suggest all kinds of complicated solutions like creating special customizers etc (I’m looking at you WPMU DEV!). […]
How To Paste Code In WordPress “As Is” With Perfect Formatting
WordPress was built for writing “normal” articles (Until Gutenberg that is!). It’s never been able to properly format code in posts. A bunch of problems crop up when trying to insert code into WordPress like: Losing indentation Incorrect HTML encoding Inability to write HTML code without breaking the editor In this tutorial, I’m going to […]
How To Build A Plugin In WordPress (Step by Step)
You can’t call yourself a true WordPress expert until you’ve built at least one plugin of your own. Perhaps you want to distribute it for use on the WordPress plugin repository, or maybe you prefer an approach like hosting it on GitHub. Or you might even develop a plugin just for one site! Something that’s […]
How To Block Spam Comments In WordPress
I’ve struggled with spam comments for years on my personal blog. When I first started blogging in 2006, I’d wake up in the morning with a ton of spam messages that had slipped through traditional spam solutions like Akismet. The useless traffic was killing my site speed, and I had to implement all kinds of […]
