RSS

Tag Archives: home

WORDPRESS HOW-TO: Ignore/Hide A Category On Your Home Page

Sometimes you don’t want a particular category to appear on your WordPress home page.  For me, I create weekly Twitter digests, and I’d rather they not be part of the page welcome.

The process of hiding them actually took me a little bit to figure out, so I thought I’d share.  It’s rather simple, so don’t blink!  🙂

Simply edit “index.php” in the wp-content/themes/<your_theme_here>/ directory.

Between the lines:

<?php if (have_posts()) : ?>

and

<?php while (have_posts()) : the post(); ?>

Insert the line:

<?php if (is_home()) { query_posts("cat=-XXX"); } ?>

Be sure to replace “XXX” with the unique numeric ID of the category you want to ignore.  To find the ID, log into your admin, navigate to your categories, and select the one you want to ignore.  The number will then appear in the URL.

NOTE: Make sure you don’t delete the “-” before the “XXX” or else you will ONLY show entries from the category.

If you update your theme, you will probably have to repeat this procedure.

If you want to hide multiple categories simply append the other categories to the string with a comma: (Example: “cat=-12,-82,-4”)

It also follows, then, that this technique can also be used to hide tags, posts, etc.

 

Posted by on February 28, 2010 in Computers, How-To, Programming

1 Comment

Tags: , , , , , , , , , , , , , , , ,

Sutter Home California White Merlot 2007

This is easy!

My rating? 1.5 stars out of 5

As shortly as 8 months ago, the thought of a sweet wine made my eyes roll without even thinking about it, but I’ve really begun to develop a taste for sweet, fruity homemade wines.

I was looking for just that the other night — something similar to a grapy, sweet homemade wine.  There were plenty of choices in the store, perhaps too many, but none that looked like a good match with a price I was willing to risk.

So, I found this 2007 Sutter Home California White Merlot for $7.50 … I figured at least it wouldn’t be as harsh as a typical Merlot because of the white.  Little did I know it was pure “rotgut.”

It has a quite yeasty flavor, and the white touching the red gives an ever so blaring hint of vinegar …

Chilled, it does have a tolerable flavor, but only because it is overloaded with sugar. In fact, I believe it is just enough to trick you into thinking it’s sweet, but still manage to steal any character that the original merlot may have brought to the bottle …

Not likely to take a risk on ANY Sutter Home wine in the future …

 

Posted by on November 12, 2009 in Reviews

Leave a comment

Tags: , , , , , , , , , , , ,

2005.5 VW Jetta — Yay I get a new clutch

I bought this car last year (Feb. 24, 2008), and it’s been a pretty good vehicle — starting with low miles (about 40k) — smooth ride. Hard to get used the acceleration of a small diesel engine, especially compared to my previous 99.5 2.0… Anyway, 49mpg and 700 miles on a tank are fantastic. The $380/month price tag is a little tough, but you’ve got to have reliability right?

Well reliability started going to hell at about 58000 miles (a few months ago). I had some major shuddering going on — turned out it was only in need of a fuel filter and air filter, but in the meanwhile a grinding started occurring that I could feel in the clutch pedal. When it first happened, it made a very loud noise — almost like a piston went out.

The car ran fine though, and eventually the grinding went away — ironically the instant I took it to the dealership to have them listen. (I’m not kidding — I shut the car off at the dealership, and it never made the noise again.)

Anyway, on Friday (Feb. 20, 2009) on my way home, I pressed the clutch in to coast, and I could feel a knock in the pedal about 2-3 times a second. When coasting in gear, the knocking picked up based on RPMs. I knew something happened in the clutch.

So, I drove the car home, knowing full well those 15 miles or so would likely cause more damage, but the car was running, no knocking while I was driving, so I figured I’d take the risk. I made it home, no issues.

I had the car towed to the VW dealership who told me the DMF (dual mass flywheel) broke, taking the clutch disk, pressure plate, and throwout bearing with it, and they want $1610 to replace it. They also charged me $99 to tell me all this.

Fair enough, I’m sure that’s pretty accurate, but they also told me they could replace my fuel filter for $110, and replace my broken brake light for $30.

WTH

So, as it turns out, you can replace the crappily designed DMF with a much more solid, less complicated, more reliable SMF (single mass flywheel). Found the parts at MJM Autohaus for $324.95. I will update this post, hopefully with a howto and results of the undertaking of installing the clutch myself.

I’m stuck with my car — probably not a bad thing, but it’d be nice to lose that payment … BUT, the warranty is through, so I can mod it however I like now … maybe I can tweak a lot more than the 49mpg out of it.

 

Posted by on February 25, 2009 in Cars, How-To

1 Comment

Tags: , , , , , , , , , , ,