Sometimes you can really do the same with less, you just have to give it some thought… More
I don’t work with bbPress that much, but when I do – every time I spend most of my time hunting for functions. I wish there was some sort of documentation developed over the years, but it hasn’t, and I know, I know – I haven’t helped either. So at the very least, I decided to write down some of the common things I do with bbPress, starting with getting the moderator role. More
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 started a new project querying Envato API for all WordPress themes. 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’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
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
A simple way to download a complete page
wget -NmkEpnp -e robots=off [URL]
Very much inspired by Guy Rutenberg,
I only modified the snippet slightly with -N, which validates timestamps and doesn’t download duplicated ( but does overwrite local files with the new changes ) and robots=off, so I wouldn’t download the robots.txt