Archive for September, 2009

excluding certain categories from the wordpress loop or rss feeds

Sep 18 2009

to exclude a certain category of posts from the WP loop:

<?php query_posts("cat=-46″); ?>
<?php if (have_posts()) : ?>
blah blah blah. and then close with the old:
<?php
//Reset Query
wp_reset_query();
?>

To exclude certain categories from an RSS feed on another webpage (like a non-wp homepage):

http://yourdomain.com/blog/feed/?cat=-46

Really Easy Way to Add Code to Wordpress Posts

Sep 18 2009

just compose your post in the visual editor and when you're done – ONLY WHEN YOU'RE COMPLETELY DONE WRITING THE CODE – switch to the html editor… viola! <?php echo "damn that's easy"; ?>

probably not the greatest if you have to come back and edit that code but it works for a quick fix without a plugin.

using custom fields in WordPress

Sep 17 2009

from: http://www.redswish.co.uk/the-power-of-wordpress-custom-fields/

The key is the name for your custom variable, and the value is, well, it’s value! When you create a custom field, you are creating new meta-data. You then insert a simple line of php into your Wordpress template where you want this extra data to appear in the theme and voila! You’re done.

<?php $values = get_post_custom_values("Subtitle"); echo $values[0]; ?>

or for thumbnails/images from a certain directory: (just add the image name.ext as the custom field value

<img src="/blog/wp-content/uploads/<?php $values = get_post_custom_values('blog-image'); echo $values[0]; ?>" alt="" />

Nashville Interactive Re-Launches Richardmarx.com

Sep 14 2009

Nashville Interactive is proud to announce that we've developed and re-launched richardmarx.com. If you aren't familiar with Richard Marx's music (you probably are even if you don't know it), He's a Grammy Award-winning, #1 song-writing (13 of them), multi-platinum album selling artist.

The Richard Marx camp was in need of a new provider for website design and development services and Nashville Interactive is flattered to be able to help out. Richard's website was less than one year old when the need arose to redevelop the established website design on a new platform. Nashville Interactive was called in to rebuild the site. In order to avoid the all-to-common scenario of being locked in to a proprietary system, open-source content management technologies were implemented. Don't get me wrong, proprietary systems have their place but open-source is the preferred solution is this type of situation. The site is controlled and owned by the client and they can do with it whatever they wish. This is just one of the advantages of using open-source content management systems to develop websites.

Designing websites for musicians and bands is always a fun project for me. Seeing the response and interaction on artist and band websites puts a lot of things into perspective because the target audience is so engaged with the artist. I'm happy to provide the tools for the interaction and see my work bringing fans and artists closer.

Internet Explorer 6 User Rates Falling Fast!

Sep 10 2009

I normally hate exclamation points though I couldn't help but use one here. Internet Explorer 6 user rates are down to 13% according to w3schools.com. The number of IE6 users has been falling by about 1% per month for the last year or so which is music to my ears. I'm officially stating that I will not support IE6 once the number falls below 10%. I've spent many, many, many hours dealing with version 6's inconsistencies and I feel that it's time to move on. That being said, I think it's only right to offer IE6 support and testing for a nominal fee. (since I can't collect that money from Microsoft). By my calculations, IE6 should be off of my books by early 2010. Not a bad run for a browser released eight years ago.

Nashville Interactive Launches SinkPositive Website

Sep 1 2009

The Nashville Interactive-designed, SinkPositive website launched today. The project entailed website design and development as well as logo design. The product is of the "green" variety and thus the design has a friendly and soft feel. The SinkPositive brand prior to this redesign was lack-luster at best. There was no real graphic design, no memorable logo and a website that left customers wondering about the quality of the product. The new site design helps to create consumer confidence by portraying the company as the reputable brand that it has always been.

So what the heck is a SinkPositive? Well it's a multipurpose accessory sink that fits on the back of your toilet. It's the kind way to clean up after using the bathroom. The sink allows you to use the fresh-from-the-wall water which then fills the toilet. You can get all of the details via the environmentally friendly website design at SinkPositive.com.