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: , , , , , , , ,

WordPress & BuddyPress Plugin: Facestream

March 24, 2010 | No Comments Yet

Facestream synchronizes Facebook and BuddyPress streams, including posting, replying, and filtering abilities. “Everything is designed for easy-intergration, easy-setup and easy-usability. With a lots of admin and per user settings.” WPMU.org has a nice walkthrough on setting it up.

The plugin requires WordPress 2.9.1+ and BuddyPress 1.2+. Also check out Tweetstream, which does the same thing for a BuddyPress install, but this time for Twitter.

Download Facestream

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

Filter out Filipina dating sites on advertisements, but the plot thickens

October 11, 2008 | 3 Comments

Filipina Images seeks to improve the online image of Filipinas with its website. Part of the problem are all the Filipina dating sites, so this is a great tip coming from them: a Filter Filipina Dating Site Ads guide.

It’s a list of sites that you can filter out from your Google AdSense ads. And yes, it will be updated from time to time with new sites.

I think this is a great tip that all Pinoy bloggers should use. The problem is in having to manually search the web for such sites, recompile the list, and update the ad filters. Still, it’s better than not doing anything about it, especially as families, loved ones, friends, and colleages of Filipinas.

But the plot thickens! As I’m reading the blog post at Filipina Images, there are still new problematic ads that have popped up:

Filipina Images ads

We now have to filter out keywords like “marry a USA man” and “date foreign men” as an additional strategy to this.

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