Dear fellow developers,
I think every year Matt receives a question at WordCamp US – “When will WordPress stop supporting PHP 5.2.17”, and every year the answer is the same – “we’re still thinking about it”.
I think the main reason for not forcing a PHP Upgrade is obvious – outdated hosting providers and outdated servers are holding us back. I think it’s time to stop that. More
I recently started learning the new CSS Grids, and I love it! If you don’t know what CSS Grids are yet, you have to watch this talk by Morten Rand Hendriksen and this one by Rachel Andrew. They’re great, and I found them to be enough to start experimenting with grids.
I started a new project querying Envato API for all WordPress themes. More
Turbolinks script has been around for quite a while in the Ruby on Rails community, but never before has it been so easy to implement it anywhere else. More
Twenty Seventeen WordPress theme has video support for headers. By default, the video header is only allowed on the front page, but there is an easy way to customize that using hooks by tapping into
I wanted to calculate the ratio of active theme installs versus theme downloads, but the calculation often seemed very unfair, for example when a theme has been downloaded 999 times, the “active_installs” number would reflect that as 900 on the WordPress API because it lists theme and plugin count in very round numbers ( 10s, 100s, 1000s, etc. ). More
I’ve run into issues time and time again managing z-index. Sure, most of the time, z-index related issues are far from complex.
However, I’ve come to a passionate dislike of magic values and numbers. What is 58 or 3000 after all? It’s an arbitrary number. Wouldn’t it be a lot nicer to have layers in CSS, just like in Photoshop or Illustrator ? More
We all know we should escape all the strings in a theme. WordPress theme review guidelines require it, and so does Themeforest.
After working on a theme for a longer period of time, it’s quite possible that you’ve slipped somewhere with unescaped echoes. If you’re going commando on your own – you still need to escape every little thing and be twice as careful if there are no additional set of eyes on your code. More
We finally launched our website – Colormelon.
For too long we’ve been the shoemakers with no shoes. It was very difficult to find the time to design our own site – it seems that there are always better things to do!
Even right now, there is a huge pile of things we’d rather create than our website, but after years of making web designs for others, we decided that it was finally time we got a website too, or at least start the process of building our site. More
It turns out, that from now on, it’s a best practice to escape with
esc_html__() instead of simply doing
__() in your plugins and themes.
Replacing everything with
esc_html() is a solution, but what about the
__() in your code that already contain some minor code ( like a few wrapping spans here and there ) ? More