Top Posts & Pages
- Adding Custom Post Types To wp_get_archives()
- Adding Custom Post Types To get_calendar() And The Calendar Widget
- Diff Checker
- A successful Git branching model
- Animated page transitions with React.js
- How To List A Custom Post Type's Taxonomies And Terms
- How To Filter FeedWordPress Posts Into Custom Post Types
- MAMP development across computers via Dropbox
Monthly Archives: May 2010
The baby robins have finally hatched!
Madeline just downed half a tin of sardines while the other kids made faces. Verdict? Delicious! — Jennifer M. Dodd (@jmdodd) May 23, 2010
How sad is it that Transformers has a better soundtrack than Avatar? So sad. — Jennifer M. Dodd (@jmdodd) May 20, 2010
I like to hang out on [COLOURlovers](http://www.colourlovers.com/) every so often and follow (previously called favorite) palettes and colors from the queue to add to my library of design inspiration. I use [FeedWordPress](http://feedwordpress.radgeek.com/) to scrape [my personal RSS feeds from ColourLOVERS](http://www.colourlovers.com/rss) into my WordPress blog as individual posts, and then use a custom filter to turn the ColourLOVERS syndicated posts into a palette (or color) shortcode that I can then style as I like.
Before the advent of [custom post types](http://justintadlock.com/archives/2010/04/29/custom-post-types-in-wordpress), I used categories and tags to sort out my palettes and colors from the rest of my posts. However, it now seems more logical to add these into a custom post type rather than jamming them into a post.
What follows is the filter I have in functions.php that cleans up the syndicated post, and then changes the post type as appropriate. You’ll want to make changes of your own, as I’m using custom functions to clean up the data and recreate the post as a shorttag, as well as adding custom taxonomy entries.
* We finished assembling the last dresser for the girls’ room. Yay, particleboard!
* I vacuumed the entire room.
* We chopped up the couch, removed Marcus’s bed and box spring, printer table, drafting table, and dumped it all at the curb for spring cleaning pickup.
* Wal*Mart and I have a love/loathe relationship. However, books are better off on bookshelves and I’m okay with $15 particle-board specials.
* Marcus and I unstacked the girls’ bunkbeds. No fingers were lost in the process.
* We put together two bookshelves and one chest of drawers and decided that the last dresser could wait until tomorrow.
* I ordered pizza for dinner. Totally.