Skip to content

Center menus in Genesis

By Dave Kuhar | November 6, 2012
Posted in , ,

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 #subnav in the above…

Read More

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

By Dave Kuhar | September 10, 2012
Posted in ,

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 and I spent some…

Read More

Exclude Posts, Pages, or Categories from Search Results

By Dave Kuhar | August 23, 2012
Posted in ,

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 to exclude them:

Read More

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

By Dave Kuhar | August 3, 2012
Posted in , ,

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.

Read More

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

By Dave Kuhar | July 30, 2012
Posted in ,

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’re busy defining widths to match your grid or…

Read More

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

By Dave Kuhar | July 26, 2012
Posted in , ,

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.

Read More

Add a password-protected directory to a WP site

By Dave Kuhar | June 19, 2012
Posted in ,

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…

Read More

Add scroll easing to Genesis “Return to Top of Page” link

By Dave Kuhar | May 24, 2012
Posted in , ,

There’s one slightly cool feature built into Genesis that’s always bothered me a bit because it’s so jarring: the Return to Top of Page link in the footer just slams the browser window back to top. I happened across a pretty lightweight way to make that slicker – a little…

Read More

S3 Flowshield: Why does my video take forever to load?

By Dave Kuhar | May 7, 2012
Posted in ,

Since this has tripped me up twice – with no excuse for the second time since Flowshield support had given me the friggin’ answer two months prior – I figured I’d post this here so I can find it again. The reason it takes forever for videos to start playing…

Read More

Remove Post Meta or Post Info from Custom Post Types (for Genesis)

By Dave Kuhar | April 6, 2012
Posted in , ,

It happens fairly often that we have a client who needs a custom post type as well as the usual blog/news feature. We need post meta and/or post info to show up for the news posts, but we don’t need that information on the custom post type since that information…

Read More
Scroll To Top