Categories
Code jQuery

Simple Vertical Align Plugin for jQuery

Sometimes you may want to vertically align a block item, but the CSS-only vertical aligning methods don’t make you feel clean.  Personally, I hate having to style items as a table/table cell to get them to vertically align in Internet Explorer. jQuery to the rescue.  Using a jQuery vertical align snippet as my base code, I modified it […]

Categories
Code WordPress

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

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

Categories
Code Constant Contact WordPress

Constant Contact WordPress Widget – Add a Newsletter Signup Form to your Sidebar

This widget adds a Constant Contact signup form to your blog’s sidebar without touching code. Download the Widget Includes options for Title, Button Text, Tag Wrapper, Form ID Code, and Intro Paragraph, show or hide CC link, Safe Subscribe link, and template options. New: add a form in your page or post by writing [constantcontact] […]

Categories
Code

How to turn off captions in WordPress 2.6

Turn off da captions, turn off da funk! I’ve found that many who found my previous article about removing caption from the All In One SEO Pack are interested in disabling the WordPress 2.6 captions altogether. This is very simple to do. Futureproof way to disable captions From Otto: Add this to your theme’s functions.php file: […]

Categories
Code

Remove [caption] shortcode from All in One SEO Pack in WordPress 2.6

Starting in WordPress 2.6, they’ve added captions to images that are automatically generated and use the Shortcode API to make it happen.  One side effect is that All in One SEO Pack isn’t set up to strip the caption from the automatically generated META tags, so you may end up with in your description. Thanks to […]

Categories
Code Design Tutorial

Creating a Real Estate Website in WordPress — Part 2

If you find this article helpful, please share it, or Digg it! In Part 1 of Building a real estate website in WordPress, you learned about a plugin called FreshPost that we used to set up the basic structure of your real estate website.  Using this article, you will be able to display a single listing page […]

Categories
Code Web Design Portfolio

Tableless, accessible, nearly validating osCommerce — Rewriting the beast

osCommerce accessibility stinks osCommerce default installation is a huge mess for accessibility. Every piece of code that the platform spits out has endless tables and poorly coded HTML — finding your way through the code is like trying to clear brush. The simple solution to osCommerce accessibility is to install the Simple Template System and put […]

Categories
Code WordPress

Get medium image size in WordPress

This is for everyone who’s been trying to find out how to get the medium image size of a post attachment in WordPress: You’ve got to send the function the ID you’re trying to get the medium images for. $medium = wp_get_attachment_image_src($picture->ID, ‘medium’, false); $med_url = $medium[0]; $med_width = $medium[1]; $med_height = $medium[2]; There are […]

Categories
Code WordPress

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

Categories
Code

Load time improvements

Load time matters Imagine waiting 18 seconds for a page to load (on a high-speed connection) — not just the home page, but any inside page of a website.  Pretty frustrating, right?  Having bad load times makes a huge difference to your customers.  I helped a new client reduce page load time from 19 seconds […]

Categories
Code

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 🙂 :

Categories
Code Design

Building a Real Estate Website in WordPress – Part 1

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

Categories
Code

Use .htaccess to make all your HTML files PHP

Note: the following will not work on all server configurations, which may be why you’re using SSI in the first place. Call your server administrator/tech support and see if the following techniques are supported. Escape static HTML If you want the power and flexibility of PHP but don’t want to (or can’t) shift away from […]

Categories
Code Design

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

Categories
Code

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

Categories
Code CSS Design Tutorial

Multiple Matte Colors for CSS Sprites

Here’s the problem: I want to use CSS Sprites for transparent images, and they require different matte colors. The promise of CSS Sprites is great: you can combine many small images into one bigger image, and use CSS to reveal only the revelant parts. But what if you have a background image, and the background […]

Categories
Code KWS

How to "Hack" VonageMe™

Integrating Call Me Link into Your Website VonageMe™ is a new service from the VoIP service Vonage. If you have service from Vonage, you should have a VonageMe account. How to set up click to talk using Vonage Vonage uses a simple form to enable the calling feature. Instead of using their form, you can […]