Posts by Dave Kuhar

Posts by this Author
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.
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’…
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.
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’…
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 tha…
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 pl…
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 i…
Sometimes our clients don’t need access to everything WordPress offers — most often, the Links and Comments areas. Rather than cause confusion, we just hide what they isn’t needed:
From time to time, we like pulling titles out of the normal flow of the page and put them somewhere else. Like above the content-sidebar div (or whatever div holds the page content). This causes problems, though; a customized homepage layout ends up wi…
Now that we’re all in love with Types & Views, we had to figure out how to evaluate custom fields to determine whether they should be displayed. After an hour of beating our heads against the wall, we came up with the code below. The thing that tri…