WordPress Archives

  1. http_build_query() Separator Tip

    I ran into an interesting “bug” in Twitter Tools last night that I traced back to http_build_query(). I expected that the query strings generated by this function used & as a separator for the key=value pairs, but on one of our test servers, the separator being used was &. This is a php.ini config setting,…

  2. Twitter Tools 3.0 beta 2

    I’ve packaged beta 2 of the next generation version of Twitter Tools. Version 3.0 is a ground-up rewrite on top of the Social platform, with a few features included for backward compatibility. If you’d like to test the beta, grab it from GitHub. This version fixes several bugs that were found in our QA process,…

  3. WP_Query by “Standard” Post Format

    When using WordPress post formats, you’ll quickly start looking for a way to query WordPress content by the “standard” post format. This Trac ticket seeks to work on solving this. The implementation there handles URL-based requests: http://example.com/type/standard/ quite nicely. However the code in that patch doesn’t (yet) handle direct WP_Query calls. I was hacking on…

  4. WordPress Core Contributions

    WordPress Hoodie

    At today’s team meeting, the Crowd Favorite folks who contributed to the WordPress 3.3 release (including me!) received goodies. I hope to dole out a few more for the 3.4 release. Related: If one of your 2012 resolutions is to contribute to core WordPress code development, please read this post: wp.me/pbNCB-ui — WordPress(@WordPress) January 5,…

  5. Popularity Contest is Dead (and on GitHub)

    I wrote the Popularity Contest plugin for WordPress back in May of 2005. It had a good run, but that run is over. We are no longer developing or supporting Popularity Contest, and I recommend letting it rest peacefully. Why? It does too much, and too little at the same time. It does too much.…

  6. A Couple of Core Submissions

    Just created tickets in Trac for 2 potential core features: Improved admin UI for Post Formats, with fallbacks (as previously discussed) A post stack switch/restore implementation (useful for developers) Already some good feedback on the latter.

  7. WordPress Plugins and Symlinks

    If you’re doing serious development for WordPress you will quickly find yourself in a situation where you need to test a plugin in multiple installations. Using symlinks is a great way to make sure that you don’t end up editing in multiple locations, perhaps forgetting to commit a change, etc. However, there are some headaches…

  8. Twitter Tools 3.0 beta 1

    I’ve been working for a while on a version of Twitter Tools that extends Social. Version 3.0 is a ground-up rewrite, with a few features included for backward compatibility. If you’d like to test the beta, grab it from GitHub. Note that this is lightly tested and there is absolutely no information in the README…

  9. WordPress 3.3 – Time to Upgrade

    My upgrade to WordPress 3.3 was a simple svn switch command – everything just worked. The level of polish in the admin has really been stepped up in the last few releases. Hats off to all the folks doing great work there. I’m probably most pleased that my media size patch was accepted; I think…

  10. Social 2.0 for WordPress

    Social Comments

    I’m very excited about today’s release of Social 2.0, a WordPress plugin from MailChimp. This is perhaps my favorite WordPress plugin; it is complex and ambitious, but I love the way it helps build a bridge between social networks and WordPress – a platform where we can really own our data. Social has a couple…

  11. WordCamp Orlando 2011

    I’m looking forward to attending WordCamp Orlando with Devin this weekend. Looks like there is a great schedule in place and I’m looking forward to catching up with fellow developers and hanging out with our friends at Voce. I’ll be helping out at the Happiness Bar at 9:30am if anyone wants to say hello or…

  12. Social 2.0 beta 3

    We have been working hard on a new version of the MailChimp’s Social plugin for WordPress. We have packaged a beta version for public testing (2.0b3, currently running on this site). Download from GitHub We are hoping for a general release of version 2.0 on Monday, so please report any issues you find in the…

  13. WordPress Post Format Fallbacks

    Post Format Fallbacks

    While our post formats admin UI is getting a nice warm reception (100+ tweets, pings and comments, wow!), there is a concern that has popped up a few times – one that I included a nod towards in my original post. What happens when publishers put important data in the post format custom fields, then…

  14. WordPress Post Formats Admin UI

    format-standard

    The Post Formats feature that landed in WordPress 3.1 is a great framework feature. I’m leveraging it extensively on this site to drive my link, status, photo and gallery posts. While it is a great framework feature, it only really exists as something developers leverage to extend WordPress. There is no UI that ships with…

  15. Anonomize Non-Public WordPress User Data

    If you need to remove non-public user data from a WordPress database, these SQL queries should do the trick for you: View the code on Gist. Note that if you have plugins, etc. that store additional user data in user meta you might need to clear those out as well.

  16. Crowd Favorite is Hiring: Technical Designer

    Crowd Favorite is hiring! We’re looking to add a designer with good HTML and CSS chops to join our front-end team in our Denver, CO office. I’m certainly biased, but I think this is a pretty great position. You will get to: work with latest web standards work on high-profile websites conceptualize and create new…

  17. wp_publish_post() Does Not Set post_*

    The inline documentation for wp_publish_post() says that it will: Publish a post by transitioning the post status. and that’s exactly what it does. Moreover, that’s all it does. If you are creating a draft post via wp_insert_post() (or wp_update_post(), which calls wp_insert_post()), certain defaults will be set for you when the post status is set…

  18. Custom Fields vs. Taxonomies

    For years I’ve used custom fields (post meta) in WordPress as a primary storage area for misc. data about specific posts (including pages, custom post types, etc.). Recently, I’ve realized that I should be using custom taxonomies instead of custom fields in a variety of situations. Custom fields are still the right choice for misc.…

  19. Drafts Dropdown 2.0

    drafts-dropdown-2

    I’ve released an updated version of Drafts Dropdown. This is a WordPress plugin that gives you easy access to your draft posts. A “Drafts” link is added to the admin bar. Clicking this drops down a drawer with your drafts. The new version also updates the styling, improves performance, and will make you younger, fitter…

  20. Where to Host WordPress Code?

    I talked to a number of developers about at this year’s WordCamp SF about where best to publish WordPress code as a developer. We definitely want to use the SVN repositories on WordPress.org so that released plugins can be easily available to the community, but there is very little developer community there. We’ve also used…

  21. WordPress Filter for Pingbacks

    My team and I have been working on a plugin to enable a better UI for post formats in the WordPress admin (more on this later, but feel free to grab the code and play with it). One of the things we’ve done is standardize on some custom field names for various bits of data…

  22. WordPress GUIDs Must Be URLs

    If you are customizing the GUID value of a post in WordPress, make sure you maintain the format of the GUID as a valid URL format. There are security checks on the value that enforce the URL format. If you pass in a UUID as the GUID value when creating a post, your value will…