Archive of Tips
Pods WordPress Plugin
A couple of weeks ago, I was introduced to Pods. I’ve been working in WordPress for a while but had never heard of Pods. I’ve now used it in 2 websites and have another one underway. Basically, if you’re looking for an easier way for you and your clients to…
WordPress Post Nav
If you have a custom query in WordPress using query_posts you might have issues with pagination using posts_nav_link. posts_nav_link() uses the post count from your WordPress admin settings (eg 10). If posts_per_page is set to a number that differs from the global setting either the third page will not be…
Internet Explorer Needs Form Fields!
Ok, I ran across an interesting issue tonight, and it only affected users if they were using Internet Explorer. Part of the problem was with the unique way our form had to be set up. For styling issues, we couldn’t use a standard HTML submit button or form button, so…
Script Include Sans “HTTP”
So according to the Facebook tracking guide the URL recommended for including the tracking script is: //ah8.facebook.com/js/conversions/tracking.js This is potentially a very convenient way to include a script regardless of SSL (http vs https), which will cause an alert or warning on computers with common settings. Unfortunately, this method does…
Credit Card Autocomplete
When working on a shared computer, there is a lot of risk involved with personal data. For example, buying something online with a credit card. Best practice is to clear all saved data from the computer as one logs off. However, I am not convinced a majority of users know…
Horizontal Scroll
For some reason I haven’t seen many examples of a horizontal scrolling div. These are commonly used for image slideshows (we have a number of photography clients). CSS: div { width:380px; height:80px; padding: 15px 0 30px 0; overflow-x:auto; white-space:nowrap; } By default, img tags are display:inline, so you need only…
Dreamweaver code on black
Your poor peepers. Too much white all day long. Not only should you do this, you should use Blackle instead of regular Google to save on energy (alternatively, you can use iGoogle and just pick a darker theme). I’ve gone through and replaced the backgrounds with black and white text…
Coldfusion Query Of Queries
I’m trying to do a list of results from a query with upper and lower bounds. Normally one would just do a query then add the StartRow and MaxRows attributes to a cfloop or cfoutput, but I’m stubborn / don’t want to do it that way. QoQ allows for a…
Lessons Learned
I have no way of testing IE7. Certain restrictions apply that force me to do dev work on a remote box. Today that fact made my life hell. Random LI tags were not displaying. This worked fine on every browser I had access to. Problem was that my list items…
Google Analytics is easy to set up and worth every second
I don’t know why anyone would not have Google Analytics set up on their website. It’s one of the best website statistic packages out there, is constantly being improved upon and is FREE! Yes, Google rocks the house again. So, as I’m adding Google Analytics to this site, I’ll share…