Instead of using the [property_details] shortcode, I would like to place the property details directly into my template so that they display on each listing automatically. I thought this would be simple (they’re just custom fields!) but I’ve had a pretty hard time with it so far. I can’t even seem to find a Genesis hook that successfully places a new function inside the loop—including the ones I think are supposed to. And I’m not sure I can access the custom fields if I’m not inside the loop.
Has anyone done this before?
Thanks. I ended up hardcoding the specific names of the custom fields into functions.php. I would’ve liked to create a loop to run through them and echo whatever’s in there to save a step in case we end up adding or removing anything, but sometimes you can’t have it all, and it’s a relatively small issue.
You must be logged in to reply to this topic.
Are you a blogger, web designer, developer, or website owner looking to generate more income?
Promote products for the largest and fastest growing online website platform as part of our affiliate program.