• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
  • Home
  • About Us
  • Contact Us
  • Who’s Who
  • Archive
  • Lauren Stuff
    • Lauren’s To-Do List
    • Bacon Mat Gallery
    • Preschool Quotes
    • Bat Bugs and You
    • Hilarious!
    • Pot Pie recipe
    • Utility Bills
    • Gas Bills
    • Building Committee CDC
  • Lloyd Stuff
    • Lloyd’s To-Do List
    • 50 Best Movies for Middle School
    • Good High School Websites
    • Fantasy Baseball Files
    • Website Rubric & Programming Rubric
    • I Want to Bake Bread
    • I Want to Forge Swords
    • Sorry Chuck. Sorry Brad.
    • The Lloyd Gallery
    • Narnia in Pop Culture
    • myMiniCity WordPress Plugin
    • Settlers Record
  • Prius Camping
  • Brazil
    • Martin Hofman Diaries – 1946
Lloyd and Lauren website logo

LaurenandLloyd.com

where our wasted time becomes your wasted time

  • Most Popular
  • Drawings
  • Videos
  • Worst day ever
  • Journal
  • More
  • Brazil

Boring meta post

May 15, 2007 by Lloyd 7 Comments

I did some changes to the website a few days ago, and I’ve been posting about them in case I ever need to go back and see what I’ve done. Just in case an upgrade breaks something or I have to do another installation. Here are the changes:

1) Comments for the most recent post appear on the main page. This was the hardest to do. There are now two event loops, but the first one just grabs one post and the second one grabs everything but the first post:

[?php $my_query = new WP_Query('showposts=1'); while ($my_query->have_posts()) : $my_query->the_post(); $do_not_duplicate = $post->ID; $withcomments = 1;?]

***NORMAL POST STUFF GOES HERE***

[?php comments_template(); // Get wp-comments.php template ?]

[?php endwhile; ?]

[!--This should grab the rest of the posts. LS 5/12/2007--]

[?php if (have_posts()) : while (have_posts()) : the_post(); if( $post->ID == $do_not_duplicate ) continue; update_post_caches($posts); ?]
[div id="postbreak"][/div]

***NORMAL POST STUFF GOES HERE***

[?php endwhile; endif; ?]

2) Added the random post seperator between posts. This uses a random image addon. Any of them should work. This one is just a PHP script that sits in a directory with a bunch of images. You call the script as the source and it pulls in a random image. The image is placed via CSS which I haven’t seen before and probably breaks in older browsers.

Shoot, I thought I did more than that, but that’s all that I can remember. Sorry about the boring post.

Filed Under: Lloyd Tagged With: geeky, Meta

Reader Interactions

Comments

  1. Lauren's Mom says

    May 15, 2007 at 10:28 pm

    (? huh?)

    Reply
  2. Brad says

    May 16, 2007 at 3:29 am

    There’s no babelfish translator for this. What would it be called anyway? “Translate from Geek to English”?

    I did notice the changes though. The separators are pretty. Did you use a sticky note to remind yourself to “Write Separation Proposal”?

    Reply
  3. Lauren says

    May 16, 2007 at 5:30 am

    As the above post shows, they’ve replaced Lloyd’s heart (and brain) with a robot.

    Reply
    • Annette says

      May 16, 2007 at 8:34 am

      So, he did see a doctor?? Perhaps it was just OZ.

      Reply
  4. Lloyd's Mom says

    May 16, 2007 at 6:13 am

    Amazing how you figure that stuff out.

    Reply
  5. Peggy says

    May 16, 2007 at 9:06 am

    [w_h()at:_;//e-v=e()_r; y[o]u:/; ()s/?a_:”y”;-!

    Reply
    • Lloyd says

      May 16, 2007 at 10:49 am

      Yeah, that’s true in most cases, but I don’t think you can apply it universally.

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Recent Comments

  • Kristi January 5, 2026 at 11:09 am on Such accomplishment!That is a HUGE accomplishment. I can't wait to hear your first piano piece.
  • Mark December 23, 2025 at 7:20 am on Such accomplishment!Proud of you both, sis, especially for the perseverance to see the whole thing through. Grandmother would be so pleased.[more]
  • Brad December 22, 2025 at 11:40 pm on Such accomplishment!Ha! I love that piano book name! And it's so awesome that you fixed the piano! And that you sustained[more]
  • Jill December 1, 2025 at 1:09 pm on Good grief, Sam.Woo hoo! I love a good update.
  • Kristi November 26, 2025 at 8:42 pm on Good grief, Sam.Yay - a post! Thanks for the update. I've been wondering how life has been in Lloyd-and-Lauren Land.

Friends

  • Brad
  • Deanne
  • Gretchen
  • Kitt
  • Kris
  • Kristi
  • Top

Sites

  • CSTA Nebraska
  • Lincoln Lutheran
  • Lorenz Family
  • Preschool Pointers
  • Programming Class
  • Sommerer Family
  • St. John CDC
  • Weber Family
  • WP Login

Tags

add art auction Bacon bathroom birthday brad camera cat cats choir christmas clothing computer Cricket family fire food Gadget game garden geek green hair house ipad iphone kitchen laundry mail Meta movie movies music mystery omaha Peggy preschool reunion royuks School seward Small Town tv ukulele

Brad Quote

There is no objective that Brad Royuk can’t teach to.

Copyright © 2026 · Genesis Sample on Genesis Framework · WordPress · Log in