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:

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
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
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
Code WordPress

Paginate Links in WordPress Link Manager

Links are not first-class citizens in WordPress In developing the a website for professional genealogists, I was tasked with creating link directory functionality in WordPress. I didn’t want to install some big plugins; I wanted to use the Links Manager that’s built in to every WP install out of the box. There were two problems, however: Link […]

Categories
Plugins WordPress

SEO WordSpinner Removed from the WordPress Plugins Directory

Today I found out that the SEO WordSpinner plugin is no longer available via its WordPress Directory page. I emailed WordPress plugin-master Mark Riley asking what was up, and he just emailed me back: Hi, There were some complaints about some SEO plugins. Your plugin was among those checked and given it’s purpose is not […]

Categories
Plugins Uncategorized WordPress

Hierarchical Link Categories for WordPress

If you’ve ever tried to use WordPress’ built-in bookmarks / links manager, you know that its limits can be frustrating. One of the biggest issues I’ve encountered is that the link categories are not hierarchical. Let’s say you have a tech blog and you link to a lot of pages about TV’s. You may want […]

Categories
Tutorial WordPress

{Gravity Forms Shortcode Explained|Gravity Forms Shortcode – A Detailed Explanation}

I know about Gravity Forms…but what are shortcodes? Think of shortcodes as a placeholder for where other content will be displayed: instead of “Insert a Gravity Forms form here,” we use the `gravityform` shortcode. Learn more about shortcodes on WordPress.org. The Gravity Forms `shortcode` has five pieces: “ `id` (required) – The ID of the form, […]

Categories
Plugins WordPress

Shopify Importer – Import Shopify Products into WordPress

Download the plugin from WordPress.org Shopify is a great hosted eCommerce provider. WordPress is the best blogging platform. I first learned about Shopify in 2007, and was very interested in their service: they take care of every aspect of an eCommerce shop, and you pay them monthly plus a little cut of your sales. Themes: […]

Categories
QuickTip WordPress

Passing parameters from PHP to Javascripts in plugins » Otto on WordPress

Much cleaner. One static and unchanging JS file to cache. Parameters get put into your HTML itself as a one-liner. You can deal with the parameters using a normal PHP array before passing them over. No need to screw around with generating Javascript from PHP or looking for wp-load or even messing with tricky actions. […]

Categories
Code WordPress

Storing Data in WordPress Plugins – A Quick Rundown

Coding better WordPress plugins As I’ve worked with WordPress plugins, I’ve learned new ways of working with WordPress. WordPress has tons of built-in functionality that is very useful and easy to use once discovered. I am by no means a great PHP coder. I am still learning OOP principles and how to write code better. […]

Categories
Tutorial WordPress

Two Easy Ways to Add “nofollow” to WordPress Menu Items

By default, WordPress menus don’t have the ability to add “nofollow” to the link items…but WordPress 3.0+ has the functionality built in. This tutorial will show you how to add nofollow to specific items using the new wp_nav_menu() function.

Categories
Plugins WordPress

5 Easy Ways to Disable the Gravity Forms CSS Stylesheet

We can do this the easy way or the hard way. What’ll it be? The WordPress form plugin Gravity Forms (if you don’t use it, you should — it’s great) comes with a stylesheet found at [plugin-directory]/plugins/gravityforms/css/forms.css. SEODenver.com’s is found here. If you want to turn off styles for Gravity Forms, there are a few […]

Categories
Plugins WordPress

Gravity Forms Ajax Submit – Version 1.4 Adds Ajax Support

The Gravity Forms plugin has recently updated to Version 1.4, and it adds a bunch of features. The one I am most excited about is Ajax submission – this means that the form no longer requires a page reload to display errors and to submit. This brings the plugin in line with Contact Form 7 […]

Categories
Interspire Plugins WordPress

Interspire & BigCommerce WordPress Plugin

Integrate Interspire or BigCommerce with your WordPress website You want to spend your time writing the best content, not hunting for the link for the product you’re blogging about. This plugin is simple to set up, and powerful. If you use WordPress and Interspire or BigCommerce, it’s a must have. For for information, check out […]

Categories
Code WordPress

Auto-Optimize WordPress Database without a Plugin

These horses are somehow not cool. Speeding up your blog is. I am working on a WordPress project that has a pretty heavy database, and I want to be able to auto-optimize the WordPress database. Even though they are integrating this functionality into WordPress 3.0, I want it now, and without having to use a […]

Categories
Plugins WordPress

Mad Mimi Plugin for WordPress

Mad Mimi, Meet WordPress Mad Mimi email marketing has the simplest, most elegant email designer I have ever seen. It’s so easy, you’ll freak — I know I did….So I created the Mad Mimi plugin for WordPress. The plugin makes it simple to add a signup list to your content or sidebar using a sidebar widget or […]