A politician making sense when talking about the bail out! It’s astounding! And even better he’s from my state!
A politician making sense when talking about the bail out! It’s astounding! And even better he’s from my state!
While watching the debate, I heard McCain smugly say “I have plans” and you know he’s right. He does have plans which this image (with a bit of paraphrasing) more accurately depicts.
Get your own pirate name from piratequiz.com.
part of the fidius.org network
Found via Nathan.
Some time back, I tried to make Rob Miller’s Now-Reading plugin display who’s reading each book on the individual pages. But the PHP code I posted at that time didn’t work like I thought it did, my interests changed and I moved onto other things. Today I had a visitor stop by asking about my broken tweak. So I took another look at the code and I believe I’ve got something that works this time.
// Now-Reading Plugin: Get the display name of the book's reader function mlm_book_reader( $echo=true ) { global $book; $user_info = get_userdata($book->reader); if ( $echo ) echo $user_info->display_name; return $user_info->display_name; }
This grabs “Display name publicly as” from the user’s profile and displays it on the page. I put the function in the functions.php file of the theme I’m using (so any automatic upgrades of the plugin won’t erase it). Then I put < ?php mlm_book_reader() ?> into my custom single.php template and viola!
Note: this has only been tested on WordPress 2.6.2 with Now-Reading 4.4.3.
Copyright © 2004 – 2020 CoffeeBear.net. Powered by WordPress.