PHP Conditional Region Based on Recordset Empty or Not Empty

I hope this helps someone, I spent way too many hours on it. I’m sure it’s simple for all you super code cooks, but for some (me) it can sure mess up your day.

  • If your recordset IS empty use this ==”” (equals nothing)
  • If your recordset is NOT empty use this >”” (is greater than nothing)

Here are some examples:

if ($row_rs_showif[‘this_url_img’]==””){
// Do Something }

if ($row_rs_showif[‘this_url_img’]>””){
// Do Something }

Sunriver Resort Marina McKenzie River Poster

This is a poster used to promote the Marina’s McKenzie River Whitewater Float. It was printed as a canvas wrap in both a large and smaller size. Displayed at the Resort’s concierge desk, spa, golf clubhouses and the Marina, it help drive sales and traffic.

The poster’s look and feel was later used to brand Facebook videos and postings. View a video sample here.

Renton’s River Adventures Homepage/SEO/Gallery

The Renton’s wanted a updated homepage design to complement the existing clean, formal design; a design that integrated the exceptional SEO work preformed by Steve Beyerlin of Internet Marketing Service. Copy was added to the homepage and Meta tags were added along with modifications to internal pages using the WordPress All in One SEO Pack plugin. In addition, some pages were renamed for better SEO results and the menus were expanded for a better user experience.

Finally, a new photo and video gallery was also added using the WordPress plugins NextGEN Gallery and TubePress (videos on the way).

Visit our portfolio to see more. Visit the website here.

Renton’s River Adventures Website

In addition, to fly-fishing camps for both Wild Rainbow Trout and Summer Steelhead Renton’s River Adventures offers guided steelhead fly-fishing trips on the Deschutes River, North Umpqua River and complete expeditions to Alaska’s Prince of Wales Island.

The Renton’s wanted a clean, formal, design to contrast their rugged earthy branding—evident in their new logo. We designed and development a custom WordPress theme to do just that. To enhance accessibility and new market penetration a custom media port that resizes for tablet and smartphone viewing was developed using advance web technology including HTML5 and CSS3.

Other features include: WordPress plugins that allow for instantaneous Google analytics reporting, SEO input and automatic status postings to their Facebook page.

Visit our portfolio to see more.

COCC Pathways Campaign

Central Oregon Community College (COCC) wanted a direct mail campaign to highlight four core programs. The programs were directed toward new students so the self-mailers included an info graphic detailing the possible program paths and a mini video CD. The info graphic was designed to be repurposed for COCC’s web site.

Campaign mailers include:

The campaign received a Silver Medallion of Achievement from the National Council for Marketing and Public Relations.

Templates for Simple Portfolio

If you want to add category and client templates to the WordPress plugin Simple Portfolio (by Patrick Brouwer) make sure you use the custom Taxonomies created by the plugin.

To find the two taxonomies that you’ll need go to the plugin’s folder and open simple-portfolio.php and search for “taxonomy”. You’ll fine the two that you’ll need:

  • portfolio-clients
  • portfolio-categories

In order to get my new template files to work in my theme I named my files this:

  • taxonomy-portfolio-categories.php
  • taxonomy-portfolio-clients.php

Hope this helps.

WD Special Offers, Referrals and Trade Rates

Check back soon for new offers, we often run new client promotions. Meanwhile, check out these offers.

Non-Profits*

Non-profits are eligible for a 30% discount on Agency Services.

Referral Program*

Clients can earn a referral fee of 10% for your referral’s first project with Whitten Design (referral fee based on Agency billings). To take advantage of this program, have your referral mention your company.

Trade Rates*

Companies in the trade (i.e. advertising agencies) are eligible for a 30% discount on Agency Services.

Retainers

Retainer contracts can be very beneficial, they can help you manage your marketing dollars—they are only offered to clients with a favorable payment history.

*Subject to change without notice and are subject to project proposals and letters of agreement.