Posts tagged as:

WordPress

Denver WordPress Developer
Katz Web Services is a leading WordPress developer in Denver, Colorado. We’ve created great sites on the WordPress platform, and would love to work on yours. Give a call: 303-362-0451.

Add a debt calculator to your WordPress blog

Do 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

{ 6 comments }

I am using the ImageScaler plugin for WordPress on a project, and I like what it does, but it adds a non-standards-compliant attribute to images, such as:

<img class="" src="http://www.example.com/imagescaler/generated-image.jpg" alt="Example" width="258" height="234" imagescaler="http://www.example.com/imagescaler/original-image.jpg" />

To strip imagescaler’s imagescaler attribute, add the following into your functions.php file:

add_filter('the_content', 'strip_imagescaler');
function strip_imagescaler($content) {
	$content = preg_replace('/imagescaler="(.*?)".?/s','', $content);
	return $content;
}

{ 0 comments }

Set up a testimonials category — no need for a plugin.

There are a couple of plugins designed specifically for testimonials, but I didn’t want to use them; they use their own databases, and don’t keep with WordPress’ simplicity. If possible, the best way to work with WordPress is to use it’s built-in functionality.

I also wanted to have the testimonials as a category in WP, rather than as a separate plugin. This code will work for any type of category, not just a testimonial.

Here’s how to create a random post item in your sidebar:

{ 16 comments }

Get the adjacent photo, man.

WordPress, just get the adjacent image links. I’ll tell you what to do with them!

WordPress is normally great about providing functions that have a return and an echo version.  In WordPress, if a function has the prefix get_, then it does not echo (print it into the content), but rather returns the result so that it can be saved as a variable, like so:  $example = get_example();

There are some functions that only have echo capability, so I wanted to share my work-around with you all.

Updated image_link functions

  • adjacent_image_link() » get_adjacent_image_link()
  • previous_image_link() » get_previous_image_link()
  • next_image_link() » get_next_image_link()

{ 1 comment }

The SEO Denver Blog is Now Self-Hosted

July 22, 2009

SEO Denver Switching Servers

After a year of hosting the SEODenver.com website on WordPress.com servers, it’s time to finally move on.

WordPress hosting was a good way to get the SEO Denver Blog up quicky and without much forethought…but WordPress.com hosting was always temporary, and finally, the site has moved!

Read the full article →

How to tell if your WordPress Plugin or Widget is Activated in WordPress

June 2, 2009

Check your plugin or widget activation & settings

Ever wonder if your widget or plugin is activated on an external site?

Here’s how to find out.

When you register a sidebar widget, you use code like this:

register_sidebar_widget(array('Name of Widget', 'class-of-widget'), 'widget_function');

If you want to check whether the widget is activated (you may want to for a variety of reasons), you can do it like this (the “class-of-widget” value from above will be used in the code below):

Read the full article →

Incorporate WordPress with Interspire Shopping Cart

March 30, 2009

I’m going to elaborate on this further (and about Interspire in general), but for those of you who want to make WordPress functions available throughout your shopping cart, here’s how:

Before the closing ?> in the init.php file, add the following code:
require(realpath(ISC_BASE_PATH).'/blog-directory/wp-blog-header.php');, where /blog-directory/ is your WP installation. If you installed it in the root directory, then you’d simply need require(realpath(ISC_BASE_PATH).'/wp-blog-header.php');.

Voila! That simple. Any questions?

Interspire + Wordpress Update:

I don’t know if it’s because WordPress has been updated, or if it’s because Interspire has been, but there is a function conflict going on between the two softwares. Unfortunately, you need to replace your WordPress installation’s wp-includes/formatting.php file to have if(!function_exists()) for every function.

Read the full article →

SEO Randomizer: Save the Value of Your SEO'd Links

December 19, 2008

Search engines attribution link value is falling for SEOs and web designers.

Update: Now use the SEO WordSpinner plugin to implement this concept.
Use the get_seo_spin() PHP function in your theme’s footer.php file.

Footer links are dropping in SEO value

How to stay relevant while getting great links

As a web designer and SEO, I place links in the footers of most of my designs. Clients don’t mind (I always request the link), and it’s a high-quality link. Most small web design and SEO companies do.  Footer links have become very spammy, however, and sites try to stuff as many links there as possible.

SEOmoz has an article about footer link optimization and claims that

Footer links may be devalued by search engines automatically
Check out the evidence – Yahoo! says they may devalue footer links, Bill Slawski uncovers patents suggesting the same and anecdotal evidence suggests Google might do this (or go further) as well. Needless to say, if you want to make sure your links are passing maximum value, it’s wise to avoid the footer (particularly the footer class itself).

The era of the PageRank-passing footer links are coming to an end. The search engines have a good reason for devaluing the links — but how can we get the juice back?

Let’s consider the following issues:

  • Footer links are being devalued by search engines
  • Footer links have a low click-through rate
  • Having the same link on every page makes the link less valuable
  • Google doesn’t like spam
Read the full article →

Nofollow SEO for your WordPress Functions

November 7, 2008
Link Condom

Pretty crude idea of nofollow, isn't it?

While working on a recent website, I became frustrated by the lack of nofollow support in many WordPress functions.  Make that, most WordPress functions.

There are a few WP functions that I wanted to add nofollow to, so here’s a list and a download link:

Read the full article →

How to View All (or more) Posts at once in WordPress Administration

September 4, 2008

Here’s the deal: I wanted to be able to temporarily see all the posts at once in the WordPress Administration, so I went into the wp-admin folder, and poked around, and became frustrated: it wasn’t that simple!

Go to /wp-admin/includes/post.php and scroll to line 517. You will see
wp("post_type=post&what_to_show=posts$post_status_q&posts_per_page=15&order=$order&orderby=$orderby");

Change the posts_per_page value to whatever you want it to be. Note: deleting the code will not let you view all posts.

WARNING: I don’t ever like to modify the default WordPress files, because when they get updated, you’ll be screwed. This is a only a temporary fix. It will not last if you update WordPress.

Read the full article →