Blah, blah, blah.

What's all the hub bub, bub?

What Do We Have To Say?

Apr
29
2009

WordPress How-To: Display Category Name Based on Slug

I’ve been developing sites on WordPress for awhile now, and I love it for a number of reasons. It’s fully customizable, has an incredibly intuitive and easy-to-use interface, and the thousands of plugins available pretty much cover all the bases for any functionality you could possibly need.

I’ve also been learning lots of nice little tricks for customizing themes. I plan to occasionally post little tutorials describing some of these tricks. Hopefully, someone will find some use for them, and save themselves a little time!

One trick that I just used and that took forever to find is the ability to display the current category name somewhere on the page. Specifically, I wanted to be able to output this in an <h1> tag on my category.php page. I tried a plugin that was supposed to provide additional template tags that aren’t included in a native WordPress installation. That didn’t work; it kept outputting the default category. I tried lots of thing, and finally found the solution I was after.

<?php single_cat_title(''); ?>

Pretty simple, right? This will simply display the category name on the page based on the category slug on the current page. If you want to add some text to display before the category name, you would use:

<?php single_cat_title('You are reading about '); ?>

Which, if the current category was WordPress, would look like this:

You are reading about WordPress

Alternately, you can assign the category name to a variable for use in your code. That would look something like this:

$current_category = single_cat_title("", false);

Pretty cool, huh?

Mar
26
2009

Interview by Spicy Web Designs!

We had the pleasure of our website being featured by Luc on his website Spicy Web Designers, and he approached us about doing an interview! This was pretty exciting for us and we more than happy to participate. The questions were mainly answered from my perspective, but I wanted to make sure that Valerie’s voice was heard to, from her perspective as a programmer! So check it out at Spicy Web Designers, and don’t forget to vote! And be sure to peruse Luc’s site, he’s got some great stuff going on there!

Mar
18
2009

21 Ruby Lane is everywhere!

Hey everyone. I was just checking up on things and discovered that we have been featured in 2 more CSS Galleries! Check us out:

CSS Star
CSS Design Yorkshire

I’ll keep posting these as I find them. Feelin’ the love!

Edit: 1 more to add today!

CSS Leak

Mar
17
2009

21 Ruby Lane featured on 3 CSS Galleries!

Hey everyone. We are so excited to have the new site up and running, and it seems that others are loving it too! We have been featured on a couple of great css gallery websites! You can see us at:

CSS Glance
CSS Based
CSS Creme

right now, and hopefully we’ll have more spots in the near future! Check them out and vote for our site if you love it like we do! Thanks everyone.

Sep
26
2008

Site of the Day!

So I am elated to see how well received our site has been. We’ve been listed on several CSS Website galleries, and cited as Site of the Day!!! Some screen shots to commemorate our successful launch…

We are totally stoked by all the positive response!