I’m Back Baby

BlueprintWell I think I’ve got this place pretty much back to where it was. In fact, I took this opportunity to upgrade to the latest version of my theme, Revolution 3.0, and make some minor cosmetic improvements. I’m liking it even better now than before.
I lost many of the images from past posts, but it turns out that both my graphics program, Skitch, and my blog editor, MarsEdit, preserve uploaded images in an archive, so I was able to get most of the pictures from 2008 back on the blog. Thanks Plasq and Daniel!

Only one thing is stumping me. I can’t remember the WordPress command to insert the most recent post in a given category. I use that on the front page to put the most recent news and blog posts at the bottom on either side of the Stickam video. It’s a little WordPress PHP and it’s quite handy, since I don’t need to do anything to update it. Do you know what I’m talking about? Got any idea what the syntax is?

UPDATE: Tollie gave me the command – I’ve got it working. Thanks Tollie!

General LeoNow it’s on to resuscitating the TWiT Army and TWiT Contributor Forums. I’m going to take this opportunity to fold the forums back into the TWiT.tv Drupal. Among other things this will automate logins from new contributors.

The TWiT Army Canteen should be up pretty soon with a much improved design, thanks to The Frogman and Mongo. Sounds like a Morning Zoo team, doesn’t it.

And I’ve learned my lesson. Daily backups are in progress. Automatically. So, knock on wood, this will never happen again.

Let me know if you spot any bugs. I think everything is back working again.

15 Replies to “I’m Back Baby”

  1. Hey Leo, something like this may be what you're looking for? (I'm attempting to paste the code as is. We'll see how that goes.) If the following code doesn't work, see http://codex.wordpress.org/Template_Tags/get_posts for the appropriate info. Also, I've never used it, but I came across this page explaining how to do similar with two plugins: http://tinyurl.com/4drtkc Thanks! You can twitter me /tollie if you want to reply as to if this works or not. <?php $lastposts = get_posts('numberposts=1&category=1'); foreach($lastposts as $post) : setup_postdata($post); ?> <h2><a href=”<?php the_permalink(); ?>” id=”post-<?php the_ID(); ?>”><?php the_title(); ?></h2> <?php the_content(); ?> <?php endforeach; ?>

  2. So, what the heck happened? Drive failure? Power outage? Giant hamster destroy the facility? And I can't remember if you own or lease your server, but I hope someone owes you money for the downtime.

  3. The servers are in Dallas. They're run by Softlayer, but they're self-managed, so if something goes wrong with the hardware Softlayer fixes it (they did – the RAID card died). If something goes wrong with the software (like out of date backups) it's all on me. D'oh!

  4. Works – as you can see. The only thing I changed is <?php the_content(); ?> to <?php the_excerpt(); ?>. Thanks SO much! It's nice that as I lose memory cells they're recreated in the community!

  5. stuff happens, and sometimes it sucks, just happy you got a back up system in place now, Leoville is looking great again. I just noticed the SeV (sponsored?) add in the sidebar, maybe a good idea to put it a little higher? I never noticed it, and I sure am interested!Keep up the good work!

  6. Welcome back Leo 🙂 You're site is looking good. I like the fall background (hehe) I been having some issues with WordPress my self, I had a plugin for TWiT that causes some massive errors in my database. I'm not sure why. But I didn't delete it and got rid of the plugin and my site seems to be working correctly again. I hope you don't mind me posting. I been trying to get out in the blogging world. Saying Hi to you from Vermont!

  7. I wish to wish all pregnant women of good mood, easy pregnancy and natural sorts! Good luck also are happy! Give birth easily and independently! Let not doctors give birth for you, and you! Also adjust itself on chest feeding of the kid! Read the necessary information! Be, lovely pregnant mums and expecting posterities of the daddy, are healthy and wise!

Comments are closed.