Search

Results for

Making a custom control for the Theme Customizer

Okay, a quick one today. Let’s make a custom control for the customizer. Back in the first tutorial, I talked about the various controls available in the customizer. Specifically I mentioned image handling, color wheels, text boxes, radios, dropdowns, and checkboxes. Let’s try a new one? How about a textarea? It’s not in the core […]

Theme Customizer Part Deux: Getting rid of Options pages

Last time I wrote about using the Theme Customizer to supplant/add to your existing options. But what if you’re writing a new theme entirely? Do you even need an options page? How many options does your theme have, anyway? Would it not make more sense to eschew those complex options pages in favor of just […]

How to leverage the Theme Customizer in your own themes

Note: Everything I’m talking about here, including the code, is in beta mode. It will be subject to change. I’ll update this post after release to fix any code changes that may occur between now and then. I’m releasing this post now so that theme authors can start looking at their themes and thinking about […]

Internationalization: You’re probably doing it wrong

Fun fact of the day: about 37% of WordPress downloads are for non-English, localized versions. So as a plugin or theme author, you should be thinking of localization and internationalization (L10N and I18N) as pretty much a fact of life by this point. Fun total guess of the day: based on my experience in browsing […]

Theme/Plugin Dependencies

In trying to figure out what to talk about at WordCamp Atlanta, I remembered a question put to me in WordCamp Birmingham. The question was how can a theme developer easily make a plugin-dependency in their theme? I wrote some code to do this sort of thing, just as an example/test/demonstration, but then after looking […]

Using SFC? Got an email from Facebook?

Some people have been forwarding me this email message that they received from Facebook: We currently detect that your app is using the old JavaScript SDK (FeatureLoader.js). This library will no longer work for authentication on February 1st, 2012 since it does not support OAuth 2.0. In May, we announced that all apps on Facebook […]

Comment Form Autocomplete Snippet

Google came out with an experimental specification for websites to provide “hints” on forms, to allow things like autocomplete to work better and be more standardized. Seems useful. Here’s a quick plugin snippet you can use to make your comments form use this specification. Only Chrome 15 and up is using this at the moment, […]

Migrating an SFC Application to a Fan Page

Still getting emails about this one, so here’s a quick rundown on how to do it. First, if you were already using a Fan Page, then you are not affected at all and don’t have to do anything. Please stop emailing me and asking for confirmation. Thanks. 🙂 Now, if you were using your Application’s […]

SFC and New Facebook Changes

Facebook is getting rid of Application Profile Pages, and allowing people who are using them to transfer their subscribers to normal Fan Pages. SFC will be changing soon to adapt to this change, but the existing Fan Page support in SFC works fine and can be used right now. I’ve tested out this migration process […]

How the Postname Permalinks in WordPress 3.3 Work

So, I first wrote about this topic on the wp-hackers list back in January 2009, explaining some of the scaling issues involved with having ambiguous rewrite rules and loads of static Pages in WordPress. A year later the same topic came up again in the WPTavern Forums, and later I wrote a blog post about […]