-
Post Formats and Custom Meta Boxes Visibility
[update] Looks like I’ll have to do a follow-up to adapt this to WordPress 3.6. The interface and Post Format handling is changing to this: The other day I read a nice article (which I cannot find right now) about the use of Post Formats and the need to show different editing elements according to [...]
-
Get IP addresses from most penetrant spammers
On a blog where I almost never delete any comments I just saw there were more than 5000 spam comments. All properly detected and hidden from visitors by Antispam Bee of course. Time for fun. I wanted to know from which IP address the most loyal spammers come from and run a SQL query: 91.202.164.29 [...]
-
WordPress is great. This is not a rant. WP MashUps.
The question I’m asking is: Is WordPress core code really that bad? The WP HTTP API as an example of a shining core.
-
Enforce UTF-8 with PHP
Auf Deutsch lesen: UTF-8 mit PHP erzwingen Sometimes, you have to work with strings whose encoding you don’t know: form submissions, trackbacks, plain text files. In these cases you need a way to enforce one encoding; that should be UTF-8. In PHP we can use utf8_encode() – but for strings encoded in ISO-8859-1 only. Every [...]
-
Registering Custom Taxonomies for Custom Post Types the right way
Registering custom post types and taxonomies is pretty easy in WordPress. But there’s a hidden problem: They don’t assign to each other unless you’re doing it the right way. Here’s how it is done.
-
WordPress time constants
WordPress introduced five new time constants with v3.5. Those constants make it easier to read which time span you added for a Transient or WP Cron Job.
-
Leaders and the greater good
What is leading when it comes to open source? How much transparency does a project like WordPress need and what is the state of the word right now?
-
The freedom to organize yourself
The size of our community is an opportunity for experiments. Don’t care about odd requirements. Be creative, give back where you fit in.
-
Order comment fields by importance: textarea first
Do not interrupt your reader’s flow: set the textarea as first field in your comment form. A simple plugin showing how to use one callback for two hooks.
-
Choose a good name for your plugin
Why you should avoid wp, wordpress or plugin in your plugin name.