• 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

Recent Comments Plugin

October 17, 2006 by Lloyd 1 Comment

I’ve always like “RecentComments” features, and so I went looking for one. There are a couple of different ones floating around, but this one seemed simple, and simple is usually just about right. I installed it then modified the sidebar with this code:

<li><h2>Recent Comments</h2>
<ul><?php mdv_recent_comments(6, 30, ‘<li>’, ‘</li>’, true, 0); ?></ul></li>

The parameters for the function are:

$no_comments – sets the number of recent comments to display
$comment_lenth – the number of characters to display as a comment excerpt
$before – text to be displayed before the link to the recent comment
$after – text to be displayed after the link to the recent comment
$show_pass_post – whether or not to display comments from password protected posts
$comment_style – sets the style of comment to be used

  • 1 = “CommenterName on PostTitle” with CommenterName being a link to the comment
  • 0 = “CommenterName: WordsOfComment” with WordsOfComment being a link to the comment

I made some changes to the plugin…

  • Changed from showing a certain number of words per comment to a certain number of letters.
  • Removed any trailing spaces and added “…” to the end of the comment text.
  • Formatted the title of the link a little differently

One response to “Recent Comments Plugin”

  1. Lloyd says:
    July 16, 2007 at 11:05 am

    This is out of date now. look in plugins and at the sidebar to see what’s going on now.

    Reply

Leave a Reply Cancel reply

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

Filed Under: Uncategorized Tagged With: Meta

Coffee

October 16, 2006 by Lauren 4 Comments

Yesterday I bought a new one-cup coffeemaker.  My old one was a multi-step process, because the cup that came with it is small and ugly.  I’d brew a cup, then pour it into a bigger, more attractive one, spilling coffee everywhere.  The new one holds my mugs just right!  (Plus the filter is easier to clean.) […]

Filed Under: Journal Tagged With: add

Messin’ with the Theme

October 16, 2006 by Lloyd 2 Comments

I had to go into the theme and muck up a few lines of php code. It was just moving stuff around and stealing some stuff from Brad’s site (his theme is put together better than ours). Here’s what I did: Copied the author name from Brad’s site and added it below the title (I […]

Filed Under: Uncategorized Tagged With: Meta

Stylesheet

October 16, 2006 by Lloyd Leave a Comment

I had to edit the stylesheet for the template we’re using. The first edit was easy. I wanted links to be underlined (you know, so you can tell that they are links).  But then all of the links were underlined including titles and menues and usernames and posts and some other stuff as well. A […]

Filed Under: Uncategorized Tagged With: Meta

Threaded Comments plugin

October 16, 2006 by Lloyd Leave a Comment

Brian’s Threaded Comments is a plugin that lets people either comment on a post or reply to someone’s comment (or reply to someone’s reply to a comment on a post…). I thought that would be useful after Lauren’s reply to Brad’s comment looked like a comment on the post instead of a reply (the fact […]

Filed Under: Uncategorized Tagged With: Meta

AJAX Comments plugin

October 16, 2006 by Lloyd 3 Comments

Ajax Comments 2.0 is just a neat little plugin that allows people to comment without reloading the whole page. AJAX is short for Asynchronous JavaScript and XML, and is the a catch all for the cool websites that update information without reloading the page. I don’t know if this plugin will play well with some […]

Filed Under: Uncategorized Tagged With: broken, Meta

  • « Go to Previous Page
  • Go to page 1
  • Interim pages omitted …
  • Go to page 863
  • Go to page 864
  • Go to page 865
  • Go to page 866
  • Go to Next Page »

Primary Sidebar

Recent Comments

  • Brady Gurganious March 21, 2023 at 4:53 am on It’s almost Keren’s birthday!In Lloyd’s defense, the distance one could drive on 0.1 in a Prius is like another 5 miles. Plenty to[more]
  • Kristi March 20, 2023 at 9:10 am on It’s almost Keren’s birthday!Good grief. That's living on the edge with only 0.1 gas left in the tank.
  • Brad March 8, 2023 at 1:46 pm on Painful wound, but tasty with syrupHehe... thank you for the translation. I couldn't figure it out, and the only thing I ever think of now[more]
  • Lauren March 7, 2023 at 7:29 pm on Painful wound, but tasty with syrup(Canker sore)
  • Brad March 6, 2023 at 10:43 pm on There can be only one.Could you just stop cutting your hair altogether? You could just let it grow and tie it back, or maybe[more]

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 Cartoon cat cats choir christmas clothing computer Cricket family 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

Brad Royuk’s grading scale uses ALL the letters.

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