about 1 month ago - 1 comment
I thought I’d share a bit of code that I run on my local WordPress test install to see when WordPress is contacting another website. I originally wrote this to help debug my oEmbed code, but it’s useful for a wide variety of purposes.
<?php
if ( !defined(‘DOING_AJAX’) )
add_filter( ‘http_request_args’, ‘debug_http_api’, 10, 2 );
function debug_http_api( More >
about 1 month ago - 3 comments
Jane noticed that Ugly Betty uses WordPress, so I thought I’d post some screen caps. It’s been heavily reworked, but you can still tell the production staff used WordPress as a base.
Pretty funny.
about 1 month ago - 5 comments
Something I just learned and thought I’d share to save others the trouble: if you’re attempting to filter the results of get_posts(), for example with the posts_where filter, you need to disable suppress_filters.
For example, here’s how to fetch some posts from within the past 30 days (based on an example from the Codex):
<?php
function last_thirty_days( $where More >
about 3 months ago - 5 comments
WordPress 2.9 was released yesterday and I thought it was worth reposting the introduction video done by the fabulous Michael Pick:
Note that the above video is embedded using the new embeds feature that I wrote. I just dropped the URL onto it’s own line and it was converted into an embed automatically!
about 3 months ago - No comments
For security reasons, the UI to enable oEmbed’s discovery ability was removed from WordPress today. It’d be too easy for a novice to accidentally embed some bad HTML into their blog if they posted the URL to a malicious website.
However if you know what you’re doing, feel free to install my Enable oEmbed Discovery plugin More >
about 3 months ago - 24 comments
I am in the early stages on recoding my Viper’s Video Quicktags plugin from scratch and in the process I will be replacing JW Player with a free and open-source alternative. JW Player is really great, but sadly it’s released under a non-commercial license which just won’t do.
So please, if you know of any good More >
about 3 months ago - No comments
I threw together a widget for my blog that displays the short URL to a post or page and since multiple expressed interest in using it on their own site, I’ve decided to release it. My YOURLS: Short URL Widget plugin will add a widget (Appearance -> Widgets) that will only show up on individual More >
about 4 months ago - 3 comments
WordPress 2.9-beta-1 is available! Get it here: zip, tar.gz. Start hammering away.
You can also just install the super handy WordPress Beta Tester plugin to make the one-click upgrade feature upgrade you to WordPress 2.9 Beta 1.
Remember though — it’s still beta software, so backup your database and don’t run it on a site that you More >
about 4 months ago - No comments
I’ve released a new version of my SyntaxHighlighter Evolved plugin. It’s not a recode of the plugin, however it is a major overhaul of the plugin. It features an update to the highlighting package (with new languages and parameters) and other various things. Here’s the full changelog:
Version 2.3.0
Major overhaul, mainly to extend flexibility so that More >
about 2 months ago
thanks, this is good plugin