Posts by Dave Kuhar


Posts by this Author

Don’t block me, bro!

I hate it when websites pop up ads – or worse, those survey things – over the top of the content I’m trying to read. Seems like this guy feels the same way. The worst case I’ve seen was with a local funeral home. I was sitting in a meeting with a funer…

Tribe Events Manager CSS bug

Joe found a problem with Modern Tribe’s Events Manager PRO plugin today. He wanted to change something on a recurring event, but when he tried to save the change, he had a window popup asking if he wanted to change just the one event, or all of them. T…

Rapid WordPress site setup via Terminal

Setting up a new WP site is pretty quick, but it’s still tedious after you’ve done it dozens of times. We’ve been combing the net, looking for ways to make it happen really quickly. Here’s what we have so far:

Center menus in Genesis

It drives me nuts that there’s no obvious, easy way to center the nav bar in Genesis (or, to be fair, in most WordPress themes/frameworks). Stumbled across this the other day and found it works really well. If you are using a subnav, change #nav to #su…

Detect Mobile Browser and Serve Up Alternate Content (or nothing)

The site we just built for faithandform.com has a pretty cool slideshow feature on the home page, serving up a portion of the four most recent issues’ cover images and tables of content. But it doesn’t work well at all on small mobile devices, so Joe a…

Exclude Posts, Pages, or Categories from Search Results

I tend to use pages or categorized posts to fill widgets on home pages, because it provides users with an easy way to change various areas on their home page or sidebars. Sometimes, though, we don’t want that content to show up in searches. Here’s how…

Add login/logout to WP’s built-in menus

Here’s an easy way to add WordPress’s built-in login/logout link to the your menus. I have it coded to work with Genesis’s menus, but you can make this work with any theme by changing the theme_location argument.

Gravity Forms / jQuery UI Datepicker Too Narrow; or, { box-sizing: border-box }

Gary Jones whipped up an especially helpful little tip for Gravity Forms based on Paul Irish’s border-box advice. Seriously helpful stuff. As Paul said: One of my least favorite parts about layout with CSS is the relationship of width and padding. You’…

Types & Views: check for image; if none, display default image

This comes in handy if you don’t want a big empty hole where a graphic or photo should be. Comes in handy when someone forgets to upload an image.

Add a password-protected directory to a WP site

I had a client ask me today if I could set up a secure directory she could use for uploading via FTP some large files needed by another organization. Normally this is a very easy thing to do in cPanel – she’d done it before, years ago – but she couldn’…