Posts by Joe Mendel

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

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

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 Photoshop or another image editor…

Read More