Template tags are such a core concept in WordPress that most people who’ve ever twiddled with PHP in the vicinity of WordPress have used them in some capacity. the_title() is a common template tag, and it belongs to the special class we’re talking about here. But things like get_header(), wp_dropdown_users(), and way more others than I can count, are classified as Template Tags in the Codex.Read more →
As a very powerful, well-documented, and relatively user-friendly CMS, WordPress attracts a lot of do-it-yourself energy.
In general, this is great. It’s a testament to people’s high hopes for WordPress, and it’s a great way to learn the software. Unfortunately, DIY efforts often go seriously wrong.Read more →
Published under Coding.
For a recent Press Up project, I wanted to change the running theme on a WordPress installation adjacent to some other PHP code that was doing some work. I knew it had to be possible, and I was even pleasantly surprised to find out how easy it was. It illustrates two novel things I’d not realized about WordPress before, so let’s dive in.Read more →
Published under WordPress Development.
Computer programmers love to think about systems. In doing that, they generalize how they work and how we can classify them. So you’ll find lots of people talking about “design patterns” — both loved and hated ones — that are common across the architecture of many different software systems.Read more →
This post picks up where a recent post left off: Arguing that WordPress’s “Discourage search engines” feature is best left unused because of the dire SEO consequences if you forget to disable it once a site is live. Here, we explore specific alternatives to “Discourage search engines” that don’t carry its risks.Read more →