About Katz Web Services
Katz Web Services is a web development company operated by Zack Katz.
-
Plugin Support Topics
Popular Posts
- Simple Vertical Align Plugin for jQuery
- How to Create a Custom RSS Feed in WordPress in 12 Lines of Code
- Contact Form 7 Modules - A Plugin
- iContact Widget for WordPress
- Gravity Forms Shortcode - A Detailed Explanation
- Kick SEO Ass with SEO WordSpinner Plugin for WordPress
- jQuery validator annoyances
- Weather Forecasts for WordPress - WP Wunderground Plugin
Tag Cloud
Google Functions.php eCommerce Optimization Denver SEO WordPress Plugin Search Engine Optimization CSS Web Design WP Plugins Shopping Cart WordPress SEO Design Marketing Website Redesign WordPress Plugins Search Code Interspire Customization Denver Interspire Shopping Cart SEO Nofollow Google SEO WordPress Development Links Interspire Development Domains Blogging
Tag Archives: Code
Strip Extra ImageScaler Attribute from Plugin-Generated Code
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;
}
Posted in WordPress
Tagged add_filter, Code, images, ImageScaler, Plugin, preg_replace, WordPress, WordPress Development, WordPress Plugins
Leave a comment
How to Display a Random Testimonial or Post in WordPress
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:
Posted in Code
Tagged Categories, Code, How To, Plugins, Posts, query_posts, Random Post, Testimonials, WordPress, WordPress Development
28 Comments
How I fixed WP-DownloadManager 404 errors

I use LesterChan‘s Download Manager plugin, and it’s great. Good interface, simple purpose.
I recently found out that after upgrading a client’s site to WP 2.5, WP-DownloadManager was no longer working. I followed the documentation on the plugin website, including resetting the permalink structure, but nothing worked.
For some reason the re-write wasn’t working properly: all the downloads were giving 404 errors. I couldn’t figure it out, so I dove into the code. I found the part of the plugin that rewrites the download links, and found the problem.
Setting Far Futures Expires in ASP, Using ASP as CSS
I normally don’t work with ASP; I use PHP for my coding. Recently, I had to create a style.css.asp file, and I needed to find how to set a far-futures header in ASP.
Here’s what I found in 5 minutes
:
Building a Real Estate Website in WordPress – Part 1

Introducing IDXPress+, the best WordPress real estate plugin
I am designing and creating a real estate website with WordPress, and I’m going to be writing a few articles that detail how it’s done. This article will get you started — please leave feedback with any questions or topic requests for the next installment. Real estate using WordPress Part 2 is now available!
A little background — why use WordPress?
I’m working with a Denver company on a real estate website. Their goal is to showcase their listings in an easy-to-update CMS.
I’ve worked with Open-Realty, and — to say it bluntly — it’s a huge pain in the ass. When you scratch the surface of OR, you begin to realize how cobbled together it is. Customizing the code to work as it should requires a steep learning curve. The templates are relatively simple to work with, but the administration section is horrible. The Open Realty user experience is just awful.
WordPress is my CMS of choice currently, and it’s so easy to develop for that I recommend it to many of my clients.
Posted in Code, Design
Tagged CMS, Code, Coding, Real Estate, Real Estate CMS, Real Estate Websites, Realty, Template, Theme, WordPress
48 Comments
Optimizing a website for search: Google vs. Yahoo! and MSN

When I think SEO, I think of Google. Why? Is it because Google’s PageRank system determines better websites? Is it because Google’s advertising options are superior? It’s as simple as this: Google gets better results than any other search engine.
The major search engines often don’t agree
Optimizing websites for search is frustrating sometimes. The biggest search engines are Google, Yahoo!, and MSN. The frustrating part of optimization is the variation between the search engines. The variations in ranking can be huge. I will use Katz Web Design’s ranking information to show some examples:
| Yahoo! | MSN | Difference |
|---|
Posted in SEO
Tagged Code, Comparison, Google, Keywords, MSN, Optimization, Rank, ROI, Search, Search Engines, SEO, Statistics, Yahoo
5 Comments
Exploring and learning: Are you taking alternate routes?

When you first move to a new city, you aren’t familiar with the roads. You buy a map to help guide you, you ask Google how to get you from here to there most efficiently, and you stop and ask people directions.
After you’ve lived in the city for a while, you become familiar and confident. You start to understand the road naming conventions, the north/south corridors that are the fastest, the quickest way downtown from your location.
The more experience you have with the city, the better you understand how to arrive exactly where you want to without running into any snags. But yet, there’s always more to learn.
Like a city, every profession has its own learning curve. Are you exploring past your comfort zone?
Cars and Code – Not all that different
Customizing under the hood
I was talking with one of my clients who is a mechanic, and he was telling me about how he used to do a lot of car customization and performance enhancing, and that he really loved it.He told me that the problem with customizing cars is that when you start tinkering around under the hood, every little change presents new problems that need fixing, and soon, the project becomes unmanageable.
I’ve done my deal of modifying code (check out this custom XHTML osCommerce installation) and let me tell you: it doesn’t pay. My clients generally don’t care about how the site is tableless, CSS/XHTML valid, et cetera. They want to know that it works properly.
Posted in Code
Tagged Code, CSS, Customizing, Joomla, Openrealty, osCommerce, WordPress, XHTML
Leave a comment
12
