Monthly Archive for May, 2006

Custom CSS Based on Author in WordPress

I had been trying to figure out how to change the text (colors and such) of posts in WordPress based on the author and saw quite a few different ways of doing it…none of which I thought were easy. I’m not sure if this has been mentioned elsewhere before, because I couldn’t find it…so here is my two-step version. Yes…two steps.

Now, this is going to describe how to do it with the default theme in WordPress 2.0, but I use it with the K2 theme over at www.crystalandshane.com to make my posts blue and Crystal’s posts pink .

  1. Open index.php in the /wp-content/themes/default folder and find the line that says:

    class=”entry”

    Replace it with:

    class=”< ?php the_author() ?>

  2. Open the style.css in the same folder and add styles based on the authors’ names. Here is how I use it for Shane and Crystal:
    .Shane {
    font-size: 1.4em;
    line-height: 1.2em;
    color: #393B79;
    }

    .Crystal {
    font-size: 1.4em;
    line-height: 1.2em;
    color: #9C4976;
    }

    Just save & upload those 2 files and you now have custom CSS styles based on the author’s name!

So there you have it…a simple and quick way to have completely custom CSS based on the author of a WordPress blog. I’m sure there are just as simple ways to do it with TextPattern, Moveable Type, etc but I have only used WordPress. Check out the final results of the above example at www.crystalandshane.com .

Text Link Ads Money Calculator for Your Website

Text Link Ads CalculatorYou might find this little tool useful if you want to make money from your website. It’s a calculator for seeing how much money you could make from posting Text-Link-Ads on your website. All you do is type in your web address, select the category that your website targets, how many ads you are willing to place on your site, and then click on the different zones on the webpage that you will post the ads. It will then give you an estimate of how much you can make per ad and per month total.

Text Link Ads Calculator

This is a pretty neat little tool to see how much money you could make from simple advertisements on your website. Even a small amount would pay hosting fees and maybe even leave enough for a burrito!

Do any of you have any experience with Text-Link-Ads? I only use Google AdSense, so I can’t say either way about them, but I’ve seen quite a few people with their advertisements on their sites and blogs.

Harley Davidson Sandals for Women

Rocky Top LeatherMany of you may have seen the Rocky Top Leather website that I created in one of my classes. It is an actual store ran by a close friend of mine, Toby Miller, that features some great deals on all sorts of leather products. One of the most popular lines is Harley Davidson sandals for women. He has a ton of sandals in stock and ready to ship. Toby is a great guy running an honest business and will take great care of you and treat you like a person rather than just an order number like many of the larger leather stores. So if you’re looking for leather products, visit his site at http://www.rockytopleather.com

About URL

About URL – Awesome resource to check your websites stats, pagerank, worth, validation, etc. Bookmark this one!

(0)

The Website Marketing Bible

Website Marketing BibleThose of you that know me, trust that I would not feed you a bunch of junk to waste your time and money. So please trust me as I checked this out thoroughly before posting it. Having gone through the bachelor program of Interactive Media Design at The Art Institute Online, I felt like they left one key ingredient out of their curriculum: Marketing. Some classes may have an assignment or two that touch on it, but there just was not enough information to really create successful websites. I’ve somewhat learned on my own through the years with the help of websites, books, forums, friends, etc, but there was always a lack of one really good source of information it seemed. I came across something this week that I wish I had seen years ago. It’s called the Website Marketing Bible and was created by Michael Cheney (a wiry, British guy who knows his stuff). I’m one of the biggest skeptics in the world (especially when it comes to products online), but I have to give this guy and his products a hand…they contain a lot of killer information…if you can ignore the design of his loooooong home pages.

The best part of it is, a lot of it is free! He has seven free videos that you can watch online and all of them are worth your time if you’re serious about creating successful websites. He even has AdSense videos available if you’re into that as well!

I’m not the “know-it-all” type of guy, but I really thought I knew most of the basics for website marketing. I watched his videos, though, and walked away humbled and energized about the possibilities of what I’ve been missing out on. I’ve immediately applied some of the information he offers to the websites for my employer and have already seen an increase in traffic. This is simply something that should be included in a class at The Art Institute Online, because this is arguably some of the most valuable information for any successful website.

Here are some topics that are covered:

  • Search Engine Optimization (Keywords, Content, etc)
  • Reciprocal Links (The importance of having websites link to you)
  • Monetizing Your Website
  • Marketing Trends

As basic as those sound, they have tons of small details in each that you probably don’t know about (I didn’t). The free videos are a taste of his Website Marketing Bible that he sells for $97. That’s less than 10% of a single Art Institute Online class and it has a ton of much more useful information about marketing! Believe me…I’ve experienced both! If you’re creating any website, you really can’t afford to not watch the free videos. It’s the perfect compliment to the Interactive Media Design program…and is a perfect tool for anyone working with website marketing.

Web Developer Interview Questions

If you will ever be interviewing for a web development position, there is a great article posted over at seomoz.org that has a list of 20 questions that you may be asked. It is also useful for anyone that will be interviewing potential web developers for a project or position with a company. Some of the questions are:

  • What industry sites and blogs do you read regularly?
  • How comfortable are you with writing HTML entirely by hand?
  • Can you write table-less XHTML? Do you validate your code?
  • What are a few of your favorite development tools and why?
  • What are a few sites you admire and why? (from a webdev perspective)
  • What web browser do you use? (Trick question!)

All of the questions have explanations as to why they are being asked and how they should be answered. If you are planning to be on either end of a web development interview (or interactive media), this is one list definitely worth checking out! Head on over to seomoz.org to get the scoop.

Web Development Cheat Sheets

Pete Freitag has put together an awesome list of cheat sheets for just about anything dealing with web development. Some of the lists are:

  • CSS
  • HTML
  • XHTML
  • Javascript
  • MySQL

There are a lot more listed, so check out his site to see the list and grab the cheat sheets.