Get PHP values from $entry variable

I’m attempting to edit the theme files within the confines of a child theme on my website. I want to add a Google Map embed on every card-single.php page that retrieves the address value from the entry, and inputs into a Google Maps iframe, but the documentation for retrieving these values isn’t great on the Connections website.

How do I retrieve fields from the entry? Is there a custom $entry->getAddress() function I should be using for this? $entry->getAddressBlock() doesn’t work for me as it adds a bunch of extra HTML that I don’t need.


This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer