March 20, 2022 at 8:39 am
I am using Kandance Blocks in a Kadence Child Theme in conjunction with WCK – Custom Fields and Custom Post Types Creator. I’ve tested PODS and a few other custom post-type tools and this is what I got to work with the latest versions of plugins and WordPress.
I can pull in the Meta keys fine on the single product pages (think brochure, not e-commerce) and there are various fields I want to display. I’m adding them one by one to the target page just fine, but I realize now it’s more elegant to conditionally display a meta key only if the authors have filled in the piece of data in the first place, rather than “No Content” showing up for the empty fields.
Is there a way for the Kadence blocks to do a conditional check before displaying data? How would you approach this? Is this an entire custom template I need to build? How do I integrate a custom page template into Kadence? My one attempt broke my theme and I had to revert.