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 funeral director client…

Read More

Fetch and display the contents of a specific post by ID

Once in a while you come across something that is so simple and yet so immensely useful. I needed a simple way to display the contents of a post inside a page template. I’d set up a CPT for “Content Blocks” so that a user could create custom content and I could then display that…

Read More

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. The problem was that the button wasn’t…

Read More

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:

Read More

Nested Conditionals in WP Events Manager

Today I had to troubleshoot an Events Manager issue which turned out to be caused by the plugin’s code being set up to process one conditional at a time. For example the following code will execute only the first conditional, {is_future}{/is_future}: {is_future}  {has_image}Show the image as #_EVENTIMAGEURL{/has_image}  {no_image}Show a default image{/no_image} {/is_future} The {has_image} and…

Read More

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 #subnav in the above CSS. If you are using…

Read More