Generate WordPress theme templates with Underscores Components

You might already know about Underscores, often abbreviated as _s, which is a popular starter theme for WordPress. This is a big project maintained by Automattic which is the company operating WordPress. Recently they created another tool called Components. This is a free online theme generator built on WordPress with custom blueprints made for portfolios, … Continue reading “Generate WordPress theme templates with Underscores Components”

How to Build A Fully Customized WordPress Login Page

Many of you, I believe, are familiar with the WordPress login page at wp-login.php. It looks nice, and works fine. But when it comes to creating a website for clients, you might want a more customized login page, so that it integrates nicely with the website design as a whole. In addition, having a customized … Continue reading “How to Build A Fully Customized WordPress Login Page”

How To Put WordPress Site Into Maintenance Mode

Sometimes, you may have the need to put your website into maintenance mode for upgrades. This would make your website temporarily unavailable to public access. You wouldn’t want errors to pop up when you are running important updates in the background, right? There are several ways of putting a website into maintenance mode, and the … Continue reading “How To Put WordPress Site Into Maintenance Mode”

Adding Custom Meta Descriptions to WordPress Posts Without Using a Plugin

It is true that meta descriptions no longer play a role as a ranking factor, but they still hold a lot of value. This is considering the fact that Google and other search engines use meta descriptions in their SERPs (search engine result pages) which makes meta descriptions a great way to attract user attention … Continue reading “Adding Custom Meta Descriptions to WordPress Posts Without Using a Plugin”

How to Easily Hide Your WordPress Login Page From Hackers

Hackers are getting smarter and smarter with the methods they use to try and hack through your WordPress admin page’s. The most common way is to use a script and try and login from the wp-login page. It’s no secret that all login pages for WordPress users look like this: http://yourdomain.com/wp-login.php,  so hackers know exactly which URL … Continue reading “How to Easily Hide Your WordPress Login Page From Hackers”

How To Make WordPress Hard For Clients To Mess Up

WordPress is a wonderfully powerful CMS that ships with many versatile features giving it the flexibility to work out of the box for a wide range of users. However, if you are a professional building custom themes and plugins, sometimes these features can be problematic. The same features and options that allow off-the-shelf themes to adapt to … Continue reading “How To Make WordPress Hard For Clients To Mess Up”

Prefix all the things

When building WordPress themes, there’s a rule that sits at the top of the list of rules. It’s something all developers should do out of habit, not as an afterthought. Prefix everything. What does it mean to prefix something? Basically, when you create custom functions, classes, and other items in the global namespace, it needs … Continue reading “Prefix all the things”

How to load files within WordPress themes

For this second edition of the “how to better code WordPress themes” series, I want to cover properly including files and templates in WordPress themes. This is one of those areas that many themes seem to get wrong. You might not think loading a file would be such a difficult task, but there are some … Continue reading “How to load files within WordPress themes”

Styling Wide and Full-Width Gutenberg Blocks in WordPress

The Gutenberg block editor for WordPress has changed how we create content within the CMS. But it’s also opened up some new possibilities on the front end as well. One of the more interesting developments in this area is the ability to add “full” or “wide” blocks to a page or post. This feature adds … Continue reading “Styling Wide and Full-Width Gutenberg Blocks in WordPress”