Enable Shortcodes for Gravity Forms Field Descriptions

To enable shortcodes inside your Gravity Forms form description, field labels and descriptions, you need to add the following code to your theme’s functions.php file:

add_filter('gform_pre_render', 'walker_do_shortcode_gform_description', 10, 2);

function do_shortcode_gform_description(&$item, $key) {
	$item = do_shortcode($item);
}

function walker_do_shortcode_gform_description($form, $ajax) {

	$form['description'] = do_shortcode($form['description']);
	array_walk_recursive($form['fields'], 'do_shortcode_gform_description');

	return $form;
}
Posted in WordPress | Tagged | Leave a comment

Merge Settings Into an Array in WordPress

Arrays Merging

I found people are coming to this site (to an unrelated article) looking for a way to merge settings into an array.

You’re looking for wp_parse_args()

The main function for WordPress to do this is wp_parse_args(). You likely want this function.

Learn more about wp_parse_args()

Also consider shortcode_atts()

This is used for parsing shortcode options. It only supports defined arguments.

Learn more about shortcode_atts()

Posted in WordPress | Tagged , , , | 3 Comments

Mitt Romney’s Compressed Images

Mitt, don’t skimp on image optimization

I just visited Mitt Romney’s website for the first time and noticed right away that his site looked cheap because his button images had been so compressed for load time.

 

For comparison, here are some similar boxes on BarackObama.com

 

Look for yourself

I don’t think the affect of the bad quality comes across in these pictures. I encourage you to compare and contrast.

Posted in Design | Tagged , , , | 6 Comments

Simple Way to Get Plugin Status in WordPress

Active plugin volcano.

I have previously written on how to determine if a widget is active. This is helpful for widgets, but not for plugins.

WordPress has a couple of different functions that help you determine plugin status. They are both located in wp-includes/plugin.php

  • validate_plugin() spits out an error if the plugin file does not  exist or has an invalid header. This lets you know that the file is there.
  • is_plugin_inactive() lets you know if the plugin is not active (using the is_plugin_active() function)

A function to get plugin status

Using these two functions, I put together a one-size-fits-all function get_plugin_status().

Posted in Web Development, WordPress | Tagged , , , , | Leave a comment

A WordPress Developer’s Tips for Using Panic Coda

Panic CodaI use Panic Coda for coding. I like its Mac-style interface and it “fits” me well. There are some items that are frustrating, including a lack of auto-complete for functions you’ve already used in your code. Here are three tips to improve your coding experience.

Posted in Web Development, WordPress | Tagged , , | 4 Comments

A Sweet Javascript Slideshow Script

Developers: reveal.js is a great standards-compliant slideshow script. It looks great and is an awesome alternative to Flash-based or image-based slideshows.

reveal.js

Posted in Web Development | Tagged , | Leave a comment

Ten Blue Links

Remember when Google was ten blue links?

Today, for the first time, I was actually taken aback by the amount of visual crap on Google results.

Google search results

Posted in Google | Tagged , | Leave a comment

Introducing IDX+, WordPress Real Estate & IDX Done Right

I’m happy to release IDX+, the best WordPress IDX solution.

Enhance dsIDXpressIDX+ is a project I’ve been working on for months. It was born came out of necessity: a client told me “there is no perfect solution for WordPress real estate websites.” After looking into it, I realized he was right.

IDX+ is the solution to your real estate website’s problems.

Posted in Plugins | Tagged , , , , , , | 7 Comments

Selling BoulderSEO.com

A great domain goes up for sale on GoDaddy.

BoulderSEO.comI have put the BoulderSEO.com domain up for auction: with the upcoming release of the top-secret WordPress real estate plugin, I have chosen to sell this prime property.

The BoulderSEO.com auction will be ending in 18 hours, so if you’re into Colorado, Denver, Loveland, or Boulder SEO (you get the idea!), check out this auction.

You will instantly rank well with this great domain.

Currently priced at only $660 – it’s a great deal! With literally no work done on the site since April, 2009, I still get 1-2 leads/month from this site. This domain will pay for itself in a month.

Go to the auction.

Posted in Domains | Tagged , , , | 1 Comment

WordPress Real Estate Plugin: Stay Tuned…

You may have noticed this blog has gone un-updated. That’s because I’ve been working on an awesome new plugin.

WordPress + Real Estate + User Data + SEO

In the past, I’ve written posts about how to optimize your WordPress real estate website for SEO and I’ve created a Trulia plugin for WordPress.

This WordPress real estate plugin changes the game of what you can do with your WordPress website — and for how much money. No longer do you need to pay tens of thousands of dollars for an indexed IDX solution.

Next week I will release a beta version, so stay tuned for the formal announcement.

Posted in WordPress | Tagged , , , | Leave a comment