WordPress Show if Custom Meta Exists

Glenn Glenn's Blog 0 Comments

We wanted to share some code with you that we created to show content if a WordPress Custom Meta / Field exieted within a WordPress Custom Post Type. Most versions that we’ve encountered make this a bit cumbersome and we wanted a way to do it with php, but also to include full html within each command. Here’s the snippet:- …