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()`. Continue reading “Simple Way to Get Plugin Status in WordPress”

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. Continue reading “A WordPress Developer's Tips for Using Panic Coda”

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.

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 this content has been reviewed and approved, you can go to your RAMP page, select these content changes, and push them to your production site.

via Easy Content Deployment for WordPress: RAMP.

This would be really handy for larger WordPress sites.

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:

  1. Link categories are not hierarchical, and;
  2. There is no pagination in the Links Manager: all links are displayed on one page by default.

My client’s website will have over 20,000 links; having them all on one page was simply not an option.

I didn’t want to create a new Post Type or Taxonomy; Links are already the right tool for the job. I moved forward creating the custom solution, and am sharing the results of that development here. The result of the project was a successful deployment of a crazy amount of links (see an example on their Iowa genealogy resources page). Continue reading “Paginate Links in WordPress Link Manager”

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 suitable for the directory now.

Mark.

If you’re a fan of the SEO WordSpinner plugin, email WordPress now to show your support!

Continue reading “SEO WordSpinner Removed from the WordPress Plugins Directory”

Hierarchical Link Categories for WordPress

Download the plugin on WordPress.org

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 to categorize the links under TV > Plasma or TV > LCD. With the existing system, you cannot.

Enter the Hierarchical Link Categories plugin

Continue reading “Hierarchical Link Categories for WordPress”

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

This post is about Gravity Forms, a WordPress contact form plugin.

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:

`

Oops! We could not locate your form.

`

  1. `id` (required) – The ID of the form, as displayed on the Gravity Forms Edit Forms page in the Id column
  2. `name` (required) – The name of the form.
  3. `title` – Show the title to users? Default is true; set to “false” to disable
  4. `description` – Show the form’s description to users? Default is true; set to “false” to disable.
  5. `ajax` – Submit the form without refreshing? Default is false; set to “true” to enable.

Gravity Forms Shortcode Examples:

`

`
Will result in Form #1 being displayed without a title or description, with no-refresh entry submission. Continue reading “{Gravity Forms Shortcode Explained|Gravity Forms Shortcode – A Detailed Explanation}”

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: Shopify has a great theme generator package that uses Ruby on Rails and it also has a theme store with tons of beautiful, standards-compliant themes.
  • Apps: The Shopify App Store features free and paid applications that integrate using the Shopify API.
  • Hosting: Shopify uses Rackspace and Akamai for hosting and as a CDN, respectively. Security, hosting, etc.
  • …and tons of other features

Shopify Blog FunctionalityI am still impressed with Shopify, but when I logged in recently to my Shopify account, I saw that Shopify’s “blogging” functionality is weak. Very weak. When I saw that there was an app to import a WordPress blog into Shopify, I laughed, and went ahead creating a Shopify importer for WordPress. Continue reading “Shopify Importer – Import Shopify Products into 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.

via Passing parameters from PHP to Javascripts in plugins » Otto on 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. In creating new WordPress plugins (see a list of my plugins), I have improved how I code: writing more efficient code using WordPress functionality rather than hacks.

One of the methods of coding that I have discovered (thanks to Jeremy Clarke) is using the WP Cache and Transient APIs to store plugin data. It’s made a big difference in the speed of all my plugins.

The following is a quick review of three different ways of storing data when you code plugins or work with WordPress. This is to the best of my knowledge, and I welcome feedback/improvements in the comments. Continue reading “Storing Data in WordPress Plugins – A Quick Rundown”

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. Continue reading “Two Easy Ways to Add “nofollow” to WordPress Menu Items”

5 Easy Ways to Disable the Gravity Forms CSS Stylesheet

Pliers

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 different ways. Here are five examples of how to turn off CSS for the form plugin. Continue reading “5 Easy Ways to Disable the Gravity Forms CSS Stylesheet”

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 and cFormsII in this functionality.

I was looking for how to enable the new Ajax submission feature on my forms, and had a moment of doubt. Here’s how: Continue reading “Gravity Forms Ajax Submit – Version 1.4 Adds Ajax Support”

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 the plugin information & download page on WordPress.org Continue reading “Interspire & BigCommerce WordPress Plugin”

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 plugin (I have had some issues with WP-DBManager configuring properly on a few sites).

If you add the following code to your functions.php file, it will automatically optimize your WordPress database every 6 hours, keeping it squeaky clean. Continue reading “Auto-Optimize WordPress Database without a Plugin”

WordPress Debt Calculator

Download the plugin from WordPress.org

Add a debt calculator to your WordPress blog

Debt Calculator ScreenshotDo you have a financial blog or a blog about debt, money management, or household spending? Add a free debt calculator to your blog with no coding required.

  • Updating the style: You can update the form’s style by editing the plugin’s debt.css file
  • You can add the calculator to your website’s sidebar by using the shortcode in a text widget
  • Use in combination with the Show Content Only plugin as a pop-up window

Continue reading “WordPress Debt Calculator”

Show Content Only Plugin – A Perfect Keyword Research Companion

Download the Plugin from WordPress.org

Another WordPress SEO Plugin by Katz Web Services

The Show Content Only Plugin enables you to show only a post or page’s content, without sidebars, footers, and other content.

There are many different reasons for wanting to show just the content, but there’s never been such an easy way to do it. This plugin adds a box in the post and page editor that provides you with four links:

  • Content Only
  • Content with Tags
  • Content with Categories
  • Content with Categories & Tags

This is very helpful in conjunction with the Google Keyword Tool, so that Google only analyses the content of your post or page, not the surrounding context as well.

Demo Links

Click the links below to see this article in the variations available.

Leave your requests, feedback, and any bugs in the comments below.

{SEO WordSpinner Plugin – A Killer SEO Plugin for WordPress|Kick SEO Ass with SEO WordSpinner Plugin for WordPress|WordPress Content Spinner Plugin – SEO WordSpinner}

Click to Download SEO WordSpinner 2.0.4

{WordPress SEO Plugin|Content Spinner for WordPress}

Download the SEO WordSpinner Plugin and test {SEO WordSpinner|the SEO WordSpinner plugin|this great plugin|this WordPress SEO plugin} out.

Refresh this page to experience content spinning in action.

Why use a content spinner?

There are a lot of content spinners out there (I won’t even bother linking to them, most are for spamming, not for SEO). The existing products allow you mass-export articles then submit them across content networks to build links using spammy articles. That is not what this plugin does. This plugin allows you to enhance your site’s SEO by reducing duplicate content.

Google has been improving its handling of duplicate content by implementing use of the canonical tag and updating its algorithm. They don’t punish a site for duplicate content, but having unique content is still better than duplicate content.

Different content in different context

Each of those pages will show the full content or an excerpt (summary) of the content on this page. Each will show a title for this article. The SEO WordSpinner plugin allows you to mix things up so that on each page, users will see different content that means the same thing, therefore avoiding duplicate content issues if done properly. Continue reading “{SEO WordSpinner Plugin – A Killer SEO Plugin for WordPress|Kick SEO Ass with SEO WordSpinner Plugin for WordPress|WordPress Content Spinner Plugin – SEO WordSpinner}”