Entries from March 2010 ↓

How to Add the Social Media to Your WordPress Blog

This post walks you through how to add Social Media functionality to your WordPress blog using the fantastic plugin Sharethis.

Part One: Get the Code

Go to Sharethis.  Click on Get the Button:

get the button

ShareThings has done a great job of making an easy interface. Just follow the wizard steps:

First, you can customize Your Widget by choosing the buttons style:

choosebutton

Then, pick your header text and colors:

chooseheader

Finally, select the social media services that you want to include:

chooseservices

When you make changes, the preview to the right updates in real time:

preview

Once you’re happy with your widget, choose WordPress as your service:

chooseservice

Then, click Get ShareThis code:

getcode

*You may need to create an account to access your code.

Now you should be on Step 3 of the ShareThis wizard, “Install.”

Part Two: Putting the ShareThis code into WordPress

This section will guide you through putting the ShareThis code into WordPress. If you’ve modified the widget at all (buttons, colors, etc.), you will need to add code to your header and then some code to your footer.

To access where you need to insert this code, log into your admin account on your WordPress blog. Click on the Appearance tab, then select “Editor.”

appearance

This will take you to a page called Edit Themes. Now look at the menu on the right. You’ll see the option for “Header (header.php).” Clicking on this will open the editing window to your header code for your WordPress site.

themefiles

Before you take another step, save your header code so you can have a backup in case this breaks something else on your site and you need to restore your original code. For example, when I installed this, the style overwrote my site’s body text style, which is fixable, but annoying.

Once you have a backup file (I would just paste the original code into a text editor program), paste the header code here, but be sure to place the code between <head> and </head>, or it won’t work. Then, click Update File.

Now for the second piece. In the menu on the right, you also have the option to change the Main Index Template and the Single Post. First, click on the Main Index Template. Be sure to back this up, too. Add the body code provided by ShareThis, between <body> and </body>, wherever you would like the widget to appear on your page.

(Hint – I looked for the word “Comments” to figure out where to place this code, because I knew that my comments were under each post on my main index page. Place the ShareThis code above the code including “Comments.” Click update file.

You may need to try a couple locations, checking your main index page to see if the widget is where you want it. I also added two line breaks <br><br> after the widget code to put some space under the widget.

When you are happy with how the Main Index Template page looks, repeat the process and add the code to the Single Post page.

And, you’re done!

Thanks to ShareThis for creating this plugin, and thanks to Jon for walking me through this. =) I owe you a calzone.

Luke Skywalker’s Trash Can

I asked Jon to purchase a new trash can for the kitchen, since our old one is pretty banged up.

I was picturing a nice, normal standing can with a foot pedal, nothing fancy.

Instead, I got a trash can with a motion-detecting electric eye thing, that senses when I want to throw something out and opens its lid.

STP63957

At first, I thought this was overkill. A battery-powered trash can was not ever on my things-to-buy-wishlist, but I’m starting to come around. It’s very convenient. You don’t have to do anything but stand there and toss.

STP63958

Mostly, I like it because I can wave my hand near the sensor and pretend I have Jedi mind tricks. You will open your lid now. You will close your lid.

Muahahahahaha.

The sad thing is, the trash can really creeps out the baby. Every time it opens, he peeks around the corner with this concerned look on his face.

It looks like we’re going to have to watch the Star Wars trilogies a little ahead of schedule.
stormtrooperonesie

Image credit: stormtrooper onesie.

Maintenance Cat

I feel bad for our cats.

Sam and Horace used to be moderately pampered. They ruled the roost, were no strangers to tuna, and they went to bed in our room ever night after much petting and purring.

These days, our cats seem to be less companions and more obstacles to climb over when rushing to get the baby his bottle. They are forced to jump over a baby gate every time they wish to access their food. Arguably, this is good exercise, but I mean, what would you do if you had to scale a wall 3 times your height whenever you were hungry? You’d probably track down the wall-builder, cut him into lots of little cubes and then eat him instead.

But, the cat’s downgrade in social status truly became clear to me this morning when I was cleaning their litter box.

Not only do they have yucky Costco litter (we’re replacing that, it’s like peeing on giant blue fish tank rocks), but I noticed that the bag of food we have for them is called “Maintenance Cat.” Oh, we don’t feed our cats. We MAINTAIN them.

How did our poor treasured pets become just another thing on our to do list? Change the oil in the car, vacuum the rug, maintain the cat. And while I readily admit that purchasing this brand of cat food is not the most compassionate consumer behavior, who names their brand that? Just think. Instead of “Hungry Man” dinners or “Lean Cuisine” it would be “People Sustenance” and “Repair Your Fatties.”

It would be very interesting if suddenly, in the age of blogs, review sites and honest communication about products in public forums, marketing lost its spin. I challenge you to review the products in your home and label them exactly what they do for you and why you bought them. If you’re feeling particularly witty, post your marketing campaign here, and entertain us all.