Archive | September, 2007

Tutorial: Date images for blogs

3 Sep

The story is this: I’ve had this new layout online for a little over a day and have already received a few emails asking me how I did the calendar images on the left. I don’t blame them, that was the only thing that was stopping me from going online with this new design earlier. It literally took me a few hours to get it straight.

I nabbed the images from Eurphorish, but the installation code wasn’t getting me anywhere. So here we go..(note, this is for wordpress hosted blogs. Twist it around and it can word for any hosted webpage.)

1. Visit Eurphorish and download the zipped files either containing the .png or .psd calendar images. I took the black one and edited it with a gradient of my choice and changed the drop shadow on it. You can do it using the .psd zip files. I resized the image to 60px x 60px.

2. Once you’ve uploaded the image, open up your index.php file and add the below code before ‘<a href=”<?php the_permalink() ?>” title=”Permalink”><?php the_title(); ?>‘ or at least before the title of your blog post:

<div class=”date”>
<span class=”month”><?php the_time(’M’); ?></span><br />
<span class=”numb”><?php the_time(’j’); ?></span><br />
</div>

3. Open up your style.css folder and add:

.date {
width:60px;
height:60px;
padding:0.6em 0 0 0;
text-align:center;
float:left;
background-image:url(images/dateicon.gif);
background-repeat:no-repeat;
background-position:top center;
margin-right:5px;
}
.month {
text-transform:uppercase;
font-weight:bold;
color:#ffffff;
}

Note that the width and height of “.date” should be changed to suit the width and height of your image.

4.  Open up your single.php file, or the file which displays a post page and include the code in step 2 in the same area as mentioned. Ensure that you delete any other date formatting which may show up in the post. And that’s it. Hopefully it will not take you as long as it took me to figure out why the hell it wasn’t working!

IFHMFTICB 3

2 Sep

(also known as “I forgot how much fun the Internet Can Be Part 3?)Part 1 lives here. Part 2 is here.

Nin-jo Toy – I am not exactly sure what the hell this website is supposed to be or what purpose it serves. Probably because it is in Italian. Either way, it has cute wallpapers and weird shit to look at.

CSS Juice – for the web designers and web nerds. The latest trends and tutorials in web design.

Dad Jokes - you know those pathetic jokes our dad’s say to us. For example “I’m Hungry.” So Dad says, “Hi Hungry, I’m Dad.” Yeah, you know what I’m talking about.

Things I learned from the movies - remember that unemployed attractive young people will always be able to afford that posh loft in New York…

Vomiting from nervousness – this poor kid almost vomits live on air because he is so nervous!

BudgetPulse – simple money tracking system.

9 Words Women Use – men, be wary if your lady answers “fine” to everything you say! Yikes!

StartDrawing - The asian portal for beautiful drawings. Check it out, you can waste a lot of time there…

10 things your IT department won’t tell you – because you’re all a bunch of morons, and we’re a bunch of assholes.

Google Sightseeing – go traveling with google earth without ever having to leave your seat. Check out all the weird and wonderful things popping up on google earth images.

6 Movie Formula’s that must be stopped – The big tough guy getting stuck with babies and scary little kids. PLEASE FUCKING STOP!!

popurls.com – Do you use delicious, digg, reddit, you tube, twitter and a whole bunch more? Save time by going to popurls.com and reading all the latest on what’s going on in the social networking and newsphere.

This concludes Part 3. Stay tuned for more awesome shit by checking out my delicious bookmarks or subscribing to the feed here.