It seems that every day there’s a new story about someone’s site getting hacked. Typically, these stories are light on details about how exactly the site was compromised. What was the attack vector? Did it involve a rogue editor or author, or was it a brute force attack? Is there anything we as users could […]
Category: WordPress
Add Code To WordPress Body Tag With Version 5.2
WordPress has a number of “hooks” that you can use to insert code into different parts of the theme. These hooks remove the need to manually modify the theme files. Using this, we can do all kinds of cool things like inserting custom content into the header, the title, and the footer. For example, I’d […]
How To Rewrite Your WordPress URLs To Point To A CDN
Subscribing to a CDN is just half the battle. The next challenge is finding a way to rewrite the URLs of all your static assets to the new CDN URL. In this article, I’ll share the best plugin I’ve found for the job, and why other solutions don’t work. Note that you don’t need to […]
Patch WordPress Without Upgrading Using NameHero
It’s no secret that people don’t upgrade WordPress, even when they should. We usually put this down to laziness or ignorance, but believe it or not, there are sometimes valid reasons to hold off on the upgrade. Valid business reasons. But of course, that comes at a price. And sometimes that price is higher than […]
2 Approaches To Keep WordPress Free Of Malware
As your website becomes more popular, it becomes a higher priority target for hackers. You might not have too much to lose at the beginning of a business’s lifecycle, but when it starts generating revenue, the costs of being hacked increase dramatically. There are several ways in which your website can be compromised like: Unauthorized […]
How To Put An Image In The WordPress Title
Most blog titles will be plain text. That’s what users expect generally and it’s what they like to see on Google. It’s a fine line between standing out in the SERPS and being seen as spam. It’s possible if you do it carefully. Sometimes you may have seen additional character sets in the titles of […]
3 Reasons Why I’ve Started To Like WordPress Gutenberg
Well before WordPress’ Gutenberg was released, I tried it out in its various beta forms and absolutely hated it. In fact, I’d written a post here on NameHero about why it was annoying as hell. But since this was what we had to work with, I forced myself to switch to the block editor for […]
How To Modify WordPress Files Without cPanel Access
Most WordPress users don’t have to mess around too much with files and folders. Even advanced users need to usually only modify functions.php, and the theme files. And they can do this easily from within the WordPress interface itself via the in-built editor for plugins and themes. However, if you set up WordPress regularly for […]
4 Ways to Optimize Your Images in WordPress – Best Practices
Images form the largest part of modern web pages. Especially when you consider that Google likes “rich” web pages with lots of media. As a result, optimizing the delivery of your images is critical. Here are four ways to optimize your images in WordPress, with screenshots. Method 1: At Least 1200 px in Width When […]
How To Create Reusable Table Formats In WordPress
Tables are always a BIG problem for any layout. I’m not talking about using tables for design elements, but for displaying data. They come with the following issues: Rendering on mobile is always a problem No easy to way to create them in WordPress Not always easy to create complex layouts with merged fields etc. […]
