If you know that you will want to apply a filter to all of your post titles in WordPress, such as forcing uppercase, lowercase, or title capitalization, you can use a filter to do so. The filter below will force a title to lowercase as the post is saved:
function
ucc_post_title_filter( $data ) {
$title = $data['post_title'];
$data['post_title'] = $title;
return( $data );
}
add_filter( 'wp_insert_post_data' , 'ucc_post_title_filter' );
endif;
On line 6, strtolower() can be exchanged for any text-transforming function.
I love this messenger bag! Cute in blue! Covet!
In the car on the way home from Thanksgiving, with Abigail wailing and Rebecca singing to her and me swiftly succumbing to Madeline's cold.
Rebecca: Mom, do you know any other Christmas carols I can sing to her?
Me: My throat is sore and I have no voice.
Rebecca: I don't know the words to that one.
While reviewing Flickr images for a web site banner, Marcus poked his nose over my shoulder.
Marcus: What is all that?
Me: Yarn.
Marcus: That's a lot of yarn.
Me: Yes, it is.
Marcus: So, do they have yarn making machines?
Me: Yes, they're called spinning wheels.
Marcus: Oooooooh.
Always go to bed with an empty washing machine. That way, when someone throws up or wets the bed in the wee hours of the morning, you can just toss all the laundry in and start the wash cycle immediately.
The cloth diapering world was recently hit with the scandal that the "organic bamboo velour" (and fleece, and terry, and jersey) that has been touted to hell and back as being eco-friendly, naturally anti-microbial and anti-fungal, and an all-around miracle fabric is, in fact, rayon. Oops.
Continue reading "it's not easy being green" ►
Last week, Matthew loaded up the truck and the whole family went camping in northeastern PA. One of his online forum friends owns a mountain; we spent Thursday through Sunday living on it.
Continue reading "have tent, will travel" ►
This hot crab dip definitely hails back to my Louisiana upbringing -- it would be equally delicious using crawfish tails instead of the crab.
Continue reading "hot crab dip and crostini" ►
Me: Madeline, you're tired.
Madeline: No, I'm not, I'm Madeline!