Tip: exclude posts with custom post types

May 25, 2010 | No Comments Yet

Alex King shares a not-so-obvious fact about the upcoming custom post types feature for WordPress 3.0:

No, the real power of custom post types is more subtle – it removes those posts from default queries.

Right now it’s quite cumbersome to set up and get custom post types running on your WordPress blog, but once you get over that hurdle (there are a number of plugins that create a user interface for you) that tip is a great thing to remember. You might have a portfolio section you’d like to keep updated but don’t need to display in the “normal post stream”, or showcase your collection of favorite books, movies, songs you’ve been consuming. Put another way, “custom post types are really pages”…and more. They can be anything you want them to be.

Leave a Comment | Tags: , ,

Matt’s State of the Word at WordCamp SF 2010

May 14, 2010 | No Comments Yet

If you missed the notes Matt’s keynote address at this year’s WordCamp San Francisco, here’s the full video finally posted at WordPress.tv and embedded above.

Look how far WordPress has come in the span of a year. We’re still awaiting the final release of WordPress 3.0 for the much-touted WordPress MU/Multi Site merge, but we’re also getting a bunch of other exciting, game-changing features such as custom post types, a new default WordPress theme every year, canonical plugins, security checks, and more.

Can’t wait to see what will be added to this keynote when WordCamp Philippines 2010 comes around in October.

Leave a Comment | Tags: , , , , , , , , , , , , , ,

Matt Mullenweg WordCamp SF keynote & Mashable interview

May 3, 2010 | No Comments Yet

WP Tavern has posted notes from Matt Mullenweg’s State of the Word at the 2010 WordCamp San Francisco. In it, Matt emphasizes the growth of WordPress into one of the most popular content management systems today: from the admin interface, to the number of plugins, to the upcoming features in WordPress 3.0: WordPress MU merge, menu navigation system, custom post types, and more.

Roughly 74% of WordPress sites are being used as blogs and content management systems. This is up from about 40% last year. It’s the fastest growing use case of the software. About 80% of people are making money from WordPress. 22% WordPress is their day job. 18% from custom development and hosting, 12%.

Other things to take from the talk:

  • A new default WordPress theme will be created every year. This year’s Twenty Ten features custom post headers and backgrounds.
  • WordPress should be as accessible as possible: the Post By Email feature will be turned into a canonical plugin.
  • WordPress.org will be redesigned.
  • Release cycles will go from 3 per year to 2.
  • On security issues: Automattic will work with web hosting companies to help protect its WordPress users, via a mailing list, security checks, and a list of best practices.

Mashable also conducted an interview with him, which covers pretty much the same things discussed at WordCamp. Watch it below:

Leave a Comment | Tags: , , , , , , , , , , , , , ,

A look at WordPress 3.0 custom post types

March 25, 2010 | No Comments Yet

kovshenin.com discusses one of the many new features coming in WordPress 3.0 that will raise its bar as a publishing platform: custom post types.

So what else could be done with WordPress’ Custom Post Types? Well, basically anything. Say you run an online store which of course has some static Pages (such as Contact, About, etc), some blog Posts, cause we’re so 2.0, remember? And Products, which would be a custom post type that contains the product name, description, product price, stock availability, and could even contain inquiries in forms of user comments!

He covers two key code snippets that gets the ball rolling on custom post types: register_post_type (WPEngineer has a great post on it) and custom functions for the edit post screen columns, which are added via a filter and an action:

The action outputs custom columns depending on the type, while the filter simply defines the columns for the Podcasts post type. It’s as simple as that. Note that I trimmed the code a little bit to fit on screen, so you shouldn’t be simply outputing 63:50, but actually count the podcast length 😉

Looks quite simple for those who know their way around PHP, but I expect plugins (and perhaps future releases of WordPress) to integrate interfaces for setting up and customizing post types.

Leave a Comment | Tags: , , , , , , , ,

New features in WordPress 3.0

February 26, 2010 | No Comments Yet

WP Beginner digs into the new features coming in the big WordPress 3.0 release. Also recently, Jane Wells posted a report on the latest developments with the current cycle. Third, WP 3.0 is set to enter feature freeze mode on March 1.

What do these all mean? Now is the best time to get familiar with the new features. As we all know, we’ve got some big ones coming:

(Via WP Tavern)

Leave a Comment | Tags: , , , , , , , , ,

WordPress Multi User becomes WordPress Multi Site

January 8, 2010 | No Comments Yet

The road to the merger has begun. And the first step is a pretty major one: WordPress Multi User (WPMU) has now been renamed to WordPress Multi Site (WPMS). I mentioned in a previous post that the WPMU term “multi-user” in the context of a typical WordPress install could be confusing, so it’s great that they got this out of the way immediately. “Multi-site” is much better.

Another major change that’s been made: the old WPMU term “Site Admin” has also been renamed to “Super Admin”—again, to erase confusion between WordPress single-user and multi-site jargon.

These and other important topics were discussed in the January 7 WordPress Dev Chat on IRC, and WordPress Tavern has a fantastic report on it. Some tidbits:

  • There is no ETA on WordPress 3.0 yet
  • WordPress MU MS 2.9.1 is just around the corner
  • Work on The Merge has begun
  • Canonical plugins “need a community of developers like the core to survive”
  • Priorities for WordPress 3.0 include: The Merge, menus, custom post types, the new default theme, core plugin integration; Media “will not happen” in said version
  • WordPress.org will be redesigned starting “sometime in late February”

Exciting times for the future of WordPress, and it’s all happening this 2010!

Leave a Comment | Tags: , , , , , , , , , , , , , ,

P2 Theme updated

November 23, 2009 | No Comments Yet

The minimal, no-fuss microblogging theme P2 (descendant of Prologue) has been updated, which now has easier customization (including child theme support) and accommodates post types (ala Tumblr).

One of the first areas we thought could be improved was the ease of customization. Most people like to add their own personal touch to a theme, currently P2 is hard to customize beyond the standard design. We’ve added new options to allow you to hide the sidebar and even set a unique header image. All these options allow you to personalize your own P2 to match your tastes.

We’ve also introduced post types into P2. Now you can post different types of content and have them formatted and displayed in a way that fits the content beautifully. There are settings for standard posts, single images and galleries, as well as links and quotes. Selecting which post type to use is as simple as clicking the correct tab above the post box.

WordPress.com users can now enjoy the new version while self-hosted WordPress.org users can grab it here, while its page at WordPress Extend hasn’t been updated yet.

Leave a Comment | Tags: , , , , , ,