Categories
Google Web Development

Get URL for Searches in Safari 6

There have been many articles and conversations about the question of how to get the URL of a Google search in Safari 6. Some solutions include using the Terminal to get the URL, using AppleScript,  using bookmarklets, and using Automator. I created a Safari Extension to make this process easier. Get URL: Easily get the URL […]

Categories
Mac Web Development

Add Googlebot User Agent to Safari Develop Menu

If you’re like me, you’ve wanted to have the Googlebot user agent availalbe in the Develop menu of Safari. Go to /Applications/ Right-click on Safari.app and select Show Package Contents Navigate to Contents/Resources/ Find `UserAgents.plist` Open `UserAgents.plist` in your favorite text editor Either Replace with the contents of this file and continue to step 9: [download id=”12″] […]

Categories
Uncategorized

Time Out Free: An App to Enforce Your Stretch Breaks

It’s hard to get up and stretch on a regular basis, especially when your computer allows you to keep working! I will spend all day on my ass. That can’t be good. I have been dreaming about the perfect app that would force me to get up by blocking all access to what I was doing. […]

Categories
WordPress

Create a Custom Error Page for "Error establishing a database connection"

Here’s how to make a custom database error page for WordPress. If your site’s all set up and you see “Error establishing a database connection,” that’s an immediate “oh crap” situation. Hostgator.com, the company that hosts this website, has had some issues recently, and I’ve seen that screen a little too often. If you want […]

Categories
Web Development WordPress

Generate a Link to Activate a Plugin in WordPress

Here’s another specialized plugin development tip! If you want to create a link to activate a plugin, you need to know the path of the plugin file. Let’s use Akismet for this example. $path = ‘akismet/akismet.php’; $link = wp_nonce_url(admin_url(‘plugins.php?action=activate&plugin=’.$path), ‘activate-plugin_’.$path); The `$link` URL will be something like http://yoursite.com/wp-admin/plugins.php?action=activate&plugin=akismet%2Fakismet.php&_wpnonce=f97dabdf9

Categories
Web Development WordPress

How to Hard-Code a UA String for the Google Analytics for WordPress Plugin

If you want to define a Google Analytics “UA String” while using Yoast Google Analytics plugin for WordPress. Add the following to your theme’s `functions.php` file: add_filter( ‘option_Yoast_Google_Analytics’, ‘custom_ua_string_filter’); function custom_ua_string_filter($options = array()) { $options[‘uastring’] = ‘UA-########-#’; $options[‘manual_uastring’] = true; return $options; } For users of WordPress Multisite, this will allow you to pre-configure new blogs […]

Categories
WordPress

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; }

Categories
WordPress

Merge Settings Into an Array in WordPress

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. […]

Categories
Design

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 […]

Categories
Web Development WordPress

Simple Way to Get Plugin Status in WordPress

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 […]

Categories
Web Development WordPress

A WordPress Developer's Tips for Using Panic Coda

I 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.

Categories
Web Development

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

Categories
Google

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.

Categories
Plugins

Introducing IDX+, WordPress Real Estate & IDX Done Right

I’m happy to release IDX+, the best WordPress IDX solution. IDX+ 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 […]

Categories
Domains

Selling BoulderSEO.com

A great domain goes up for sale on GoDaddy. I 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 […]

Categories
WordPress

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 […]

Categories
WordPress

Easy Content Deployment for WordPress: RAMP

RAMP allows you to make all the changes you need in your staging environment, then selectively push these changes to your production site. You can set up a new section of your site, upload some images to fill out a nice carousel for it, and add a link to it on your home page. Once […]

Categories
Plugins Web Development

Yourls Google Analytics Link Tagging

In my last post, I wrote about the benefits of using YOURLS, a self-hosted link-shortening service. I’m finding that YOURLS is great, but it’s not perfect. Some of the issues I have experience are part of what you get using most URL shortener services. Some of the downsides of using link shorteners are: Google Analytics doesn’t […]

Categories
Domains Web Development

YOURLS URL Shortener

I was having trouble finding the right URL shortening service. My requests for shortening were not too picky. I wanted two simple features: Good statistics that are visible only to administrators Edit the long URLs after generating shortened links …but not one service has both features: http://sn.im has editable URLs, a bookmarklet, but no stats. Oh, and […]

Categories
CSS Google

The Google +1 Sprite Animation

How the +1 Button Works The +1 Button uses an advanced sprite technique to simulate an animated `gif`. The animation occurs when hovering over search results with +1 enabled, and the shine moves across the button. (The image to the right is an animated `gif` I made…) The +1 Button is not an animated `gif`, […]