archive for the ‘wordpress’ Category

putting a loop in your sidebar

April 26th, 2013

The simplest way to put a loop in your sidebar is with Justin Tadlock’s sweet plugin Query Posts. This lets you use the query_posts function, with all of its options, in a widget.

However sometimes you might need a loop that does something unusual. I had a client who has a category of posts with natural history photos from near his home. He wanted an image to pop up, randomly selected, from the category.…

Does your slider make the text flicker?

April 24th, 2013

I see this on lots of sites. Flexslider causes it. Every time the slider moves, text on some other part of the page flickers—on Safari. As far as I know, this is a Safari-only issue. The solution, fortunately, is a little CSS:


Just put this on whatever is flickering. It also fixes the annoying lines that grow around the ‘navigation spots’ in Safari.…

Responsive web design: a list of methods

October 15th, 2012

Responsive web design was the biggest web design buzz-phrase of 2012, and I’ve spent much of my summer working on the best, and fastest, ways to make a site responsive.  What I found worked best was all based on three ideas:

breakpoints in the stylesheet device-specific conditional PHP high resolution, or resolution independent graphics for retina screens

The breakpoints are the simplest. You can make a pretty good responsive site with just CSS breakpoints.  …

website testing

October 2nd, 2012

To build websites you need an assortment of testing platforms.. a smartphone, a tablet, and preferably more than one size computer monitor. I’m a mac person, so most of my testing is on apple gear. I use a PC set up in Parallels, a virtual machine, on my mac for testing on PC browsers.

I have:

a 1680 x 1050 display on my primary working machine Windows 7 running on Parallels, on the primary machine a 1366 x 768 laptop an iPad — version 3 an iPhone 3

On my computers I have a selection of browsers: Chrome, Firefox and Safari on the mac, and IE, Firefox and Chrome on the PC.  …

WordPress Security

June 26th, 2012

I’ve been going through all my websites and installing Jeff Starr’s: 5G Blacklist. It is pasted into the .htaccess file at the server root. The blacklist is a list of known malicious entities that are constantly attempting to break into websites.  It is formatted in some very clever GREP code that attempts to filter out all malicious server requests, and allow all legitimate ones through.  That’s not a simple task.  …