Blog
Practical uses of PHP’s Reflection API
While I’ve been working on my CM framework, I came to realize how useful PHP’s Reflection actually is during development.
So I wrote two examples: php-highlight, which displays caller source in my custom exception handler, and php-ref, which prints detailed and nicely formatted information about a [...]
New plugin: Ad manager
It’s still under development, but the current version supports all functionality of the Ads mod from “Mystique” so you might as well use it instead of the mod
Download on WordPress.org
Support Forums (post bug reports / requests here)
A quick screenshot:
In case you’re wondering if you will [...]
Custom avatar images in WordPress
This is a short walktrough on how to let your website users upload their own avatars, without using a plugin.
First, define the maximum image sizes (note that we will only downsize, smaller images will get browser-resized):
define(‘MAX_AVATAR_WIDTH’, 96);
define(‘MAX_AVATAR_HEIGHT’, 96);
This [...]
How to correctly hook your filter to the post content
I’m seeing a lot of plugins that just hook themselves on the the_content filter tag, without bothering to handle excerpts.
Because get_the_excerpt() / the_excerpt() will call get_the_content() if the post doesn’t have an excerpt set, in many cases you get your filter applied on excerpts as well. [...]
Translating Atom themes from the Dashboard
As the title says, this is a module that allows you to translate Atom themes from your WordPress Dashboard. The advantage over PoEdit is that the strings are automatically synchronized after theme updates (you don’t need to copy the theme files on your computer and set up paths anymore), and plural [...]
Ajaxify your theme
This is another module for Atom themes that intercepts clicks for most of the internal links, opens the linked page with Javascript and replaces relevant content into the current page.
Installation:
- download the module
- upload it into your child theme’s /mods/ folder, and activate it trough the [...]
The Mystique update drama
Did you just update this theme and now your site is completely messed up? Did your widgets disappear, or got all your theme customizations reset ? Then read on…
Mystique is now available in two versions:
a light version, without any settings or custom widgets, which most likely you already have [...]