Posts by Joe Mendel


Posts by this Author

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 an…

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}: {…

Force full-width layout with Genesis and CPTs

I needed to force a full-width-layout on my single custom type page. After a bit of trial and error, I ended up with this code: Just replace CPTNAME with your custom post type name and you’re good to go.

Customize Your PayPal Checkout Page

As I set up another checkout page for a client, it occurred to me that I’d never shared with anyone the steps it takes to replace the simple text header identifying your store with a logo. It’s actually pretty easy to do some basic customization. I spe…

Add ‘first’ and ‘last’ classes to nav items

This comes in handy when you need to target the left and right (or top and bottom) ends of your navigation. Add it to your functions.php file.

Add Genesis SEO and Layout Options to CPTs

This is quick and easy. When you create a custom post type while running the Genesis framework, you won’t get Genesis’ built-in SEO controls or layout options. Add this to functions.php and they’ll show up.

Using WordPress: The Series

We have a series of “how-to” videos we add to our client’s sites. The sample here will make your life easier when it comes to getting your photos cropped and scaled for use on your own WordPress site — this comes in handy if you don’t have a copy of P…

Chasing Algorithms

Google’s a complicated beast. Like I’ve told many clients over the years, there’s no direct path to the top of Google’s search results. It takes time, patience, and skill to get there, and tenacity to stay there. There are plenty of so-called experts w…

Brilliant.

Talk about powerful messaging and great marketing… an ad for UK online content specialists Purplefeather.