Blog

Read our latest blog posts, learn something new, find answers, and stay up to date.

WordPress 2.6.3 is Released

WordPress 2.6.3 has officially been released. The update contains a security fix to a library (Snoopy) used to fetch RSS feeds. For more information on WordPress version 2.6.3, read the official WordPress version 2.6.3 documentation.
Download the latest versions of WordPress: WordPress 2.6.3

ShareThis Button Cut Off Fix

I have seen a lot of sites using the ShareThis button (including a few of mine) where the button in Safari was getting cut off (clipped) at the bottom. If this is happening to you – there is a quickfix. Add this line of CSS to your stylesheet and your button will no longer be cut off.

.stbutton {display:block;height:16px;}

Keep Up to Date With Your WordPress Version

WordPress is a great tool, but make sure you keep it up to date to avoid security vulnerabilities. I have fixed a number of outdated and hacked versions of WordPress over the past few years which could have easily been taken care of by keeping up to date with WordPress updates a few times a year. If you are using WordPress 2.5+ it is really easy to be notified when a plugin or WordPress has a new version available when you log in.

If you do not want to go through the process of using svn or ftp to update your files, WordPress even gives you the option to automatically update.

Plugin Update Notification

If you suspect you were hacked, feel free to contact us and we will update and clean your site.

WordPress 2.6.2 is Released

WordPress 2.6.2 has officially been released. The update is primarily a security update along with a few bug fixes (see full list). For more information on WordPress version 2.6.2, read the official WordPress version 2.6.2 documentation.
Download the latest versions of WordPress: WordPress 2.6.2

SDAC Inc Web Site Has New Look

SDAC 2008 Site
After a busy summer – I decided to take a few days to clean up and redesign the SDAC Inc. web site. For the design, I wanted something clean and modern and something that would take full advantage of WordPress’s underpinnings (menus, content area, etc). For the templates, I ended up redoing most of them from scratch in order to simplify everything and make use of more WordPress functions and less third party plugins, created new images, cleaned out the CSS in order to only use what I needed, and made everything as dynamic as possible. On the backend of things, I spent some time cleaning out old database tables and other plugin left overs in order to rid the site of any unused data. I have big plans for the rest of 2008 and 2009 so stay tuned…this is just the beginning.

HTML to PDF

We recently finished a project where we had to create a PDF on the fly of the user’s filled out application (~12 pages of data) so they could keep a copy. To do this – I looked at a few libraries out there and then ended up using HTML_toPDF. I had used another script from the same guy who put together HTML_toPDF and thus prompted me to use this one as well. The script works great and our client is very happy. If you ever need this capability – check out HTML_toPDF!

WordPress 2.6.1 is Released

WordPress 2.6.1 has officially been released. The updated includes almost 60 bugfixes (see full list). For more information on WordPress version 2.6.1, read the official WordPress version 2.6.1 documentation.
Download the latest versions of WordPress: WordPress 2.6.1

Site Optimization

I have been busy the past three months working on a site optimization project for a startup company where the code had been written by 10+ programmers who had come and gone over the last year. That left a big site with lots of unused and crazy CSS, images, javascript, and nasty HTML structure. I approached this project with two stages in mind:

  1. Start clean with CSS and XHTML. The first thing I did was unlink the main 5 thousand line CSS file along with a handful of others which was wreaking all kinds of havoc. I then went into every view, standardized the overall HTML structure (so it could hold it’s own without any CSS), and then only added in the CSS that was used.
  2. Maximize HTTP requests. The next phase will involve spriting images and pairing down and combining javascript so the number of HTTP requests goes way down.

The initial results:
Total HTTP Requests: 192
Total Size: 1353141 bytes

After the first stage (finished today), the general results:
Total HTTP Requests: 67
Total Size: 693064 bytes

After stage two is completed – I think I can get those numbers down by another half.

From Yahoo!:
“80% of the end-user response time is spent on the front-end. Most of this time is tied up in downloading all the components in the page: images, stylesheets, scripts, Flash, etc. Reducing the number of components in turn reduces the number of HTTP requests required to render the page. This is the key to faster pages.”

Why does all this matter? Think of a big, busy site. Think about the number of users – and then multiply that by the number of requests as well as the size of each page load. If you want good performance from your site – the pay off from optimizing your site will really pay off. It is pretty easy to go through your site and cleanup small things that over time will really add up. Not using a javascript you once did? Remove it from the header. Redid the site but still have a link to the old CSS “just in case”? Get rid of it! Remember, a little goes a long way.

WordPress 2.6 is Released

WordPress 2.6 has officially been released. The new version includes almost 200 bugfixes (see full list) and now includes some of new features as well like post versioning, drag and drop sorting for galleries, word count, image captions, separation of active and inactive plugins, and more. For more information on WordPress version 2.6, read the official WordPress version 2.6 documentation.
Download the latest versions of WordPress: WordPress 2.6

Show Only Category (Not Subcategory) Content

If you ever wanted to only show the content of the category you were on in the category view of WordPress (instead of the category you are on plus all of it’s subcategories – you can easily do so by adding the code below to the template that is used to show your category content

You would start your loop with this:

 

Put your title, content functions here

and where you normally see the call, put to close the additional (in_category) if statement.

This code gets the current category and then only displays categories that are in that category (not sub category)