Web hosting providers like to call their packages by many different names. “WordPress Hosting”, “Magenta Hosting”, “Odoo Hosting”, and more. Basically, whatever software or architecture is “hot” on the market, gets its own branded landing page. This gives the illusion that these packages are somehow different from ordinary web hosting in a meaningful way. But […]
WordPress
The RIGHT Way To Block PHP Files in Wp-Includes In WordPress
NameHero has a partnership with DropMySite to backup your website on a daily basis. One of the advantages of this, is that it allows you to see which files are modified – particularly, the error logs can be quite useful. Recently, this allowed me to isolate a recurring error logged in a “php_errorlog” file that […]
It’s Time for WordPress To Reduce Its Reliance On jQuery
This morning when I went to my site’s dashboard, I saw that the Automattic team had released the latest version of the Jetpack plugin – 8.4. As per my usual habit of never updating a plugin until at least 4 days had passed, I first went through the update notes to see if there were […]
Why I Disabled AMP On My Website
Just because we have a new technology, doesn’t mean we all need to scramble on to it. Or more precisely, we should try out everything, and choose to keep what works. Discard the rest. For years now, Google has been pushing AMP for websites to display on mobile phones. And for years, I signed up […]
What Does “WordPress Hosting” Mean?
Because of how widespread WordPress is, most web hosts offer “WordPress Hosting” in addition to their normal web hosting packages. This trend seems to have really taken off in the past few years and has forced many hosting providers to also display “WordPress Hosting” on their website. But what does this mean? Is WordPress hosting […]
How To Test If A User Is Logged Into WordPress In Google Tag Manager
I’d written earlier about how to load the Google Tag Manager only on specific pages, and I’d mentioned there that we could ensure that certain tags would only fire when the user was or wasn’t logged into the CMS. A great use-case scenario for this is when we don’t want our Google Analytics code to […]
Only Load Google Tag Manager Code On Specific Pages
When WordPress 5.2 released on 7th May 2019, it included the new “wp_body_open” action, which allowed to insert arbitrary code into the body section of WordPress. One of the best uses of this new functionality was inserting Google Tag Manager (GTM) code, because Google recommends placing it in the body and not the header or […]
Inlining CSS In WordPress Can Be More Efficient
If you search for any guide on the Internet on the “proper” way to include CSS in WordPress, you’ll get a lot of advice telling you to hook into the “wp_enqueue_scripts” function and attach your external CSS file from there. Heck, I myself have explained how to do this in an earlier tutorial! This advice […]
How To Add Tags To Pages In WordPress
It’s always seemed a bit weird to me that WordPress doesn’t extend its taxonomy system to posts. While with posts, you can make use of the extensive category/tag infrastructure and manipulate them in a variety of ways, this same facility doesn’t apply to pages. As a result, we lose out on a lot of conveniences. […]
How Page Caching and WooCommerce Work Together
We’ve written a lot about server-side caching at NameHero. It allows your website to keep copies of generated pages and serve them to visitors without needing to recreate them over and over. Better speeds for your visitors and easier server loads on your end. What’s not to like? However, caching has traditionally been useful only […]