Most seasoned WordPress developers have seen their share of the WordPress White Screen of Death. But that doesn’t diminish the nerve-wracking ordeal that you will be facing in the next few hours trying to fix this. But what is this White Screen of Death? In a production website it is a recommended best practice to […]
If you have migrated a WordPress site before you will be familiar with the WordPress Constants, WP_HOME and WP_SITE_URL. These constants are the first solution mentioned on the migration guide on Codex.
These values determine how WordPress builds paths of your site. From theme assets paths to login pages, all depend on these values.
A problem you’ll face when writing a WordPress Plugin is how to maintain compatibility with older versions of WordPress. If you accidentally use a function whose behaviour has changed recently, you could end up with a broken plugin. Another aspect you also need to consider is compatibility with older versions of PHP and MySQL. While […]
There are a lot of places to find WordPress code snippets on the Web. But to find the source of a function inside WordPress Core itself you need to look elsewhere. Codex If you don’t know the name of the function, First you need to figure out what feature that function could belong to. For […]
There are a number of ways to install WP-CLI. However you might run into problems if you want to avoid using sudo. The default installation symlinks the wp command line interface into /usr/local/bin which requires sudo. Since Composer already allows us to manage PHP libraries easily, it makes sense to reuse it with wp-cli as […]
Markdown with WordPress can be a little tricky to get right. Ideally you want to write your post in Markdown. Then publish it, yet keep the original Markdown source for future edits. Somewhere in this process the Markdown should be converted to HTML, so that visitors to that post should see the generated HTML, and […]
A common issue when using a symlinked
Botnet attacks on WordPress have been a persistent problem over the last year. Botnets are made up of hacked sites and users, and typically the people hacked aren’t even aware that they are being used as a vector in an attack. Dealing with such attacks can be very frustrating as these users are very difficult […]