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.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Get PHP values from $entry variable’ is closed to new replies.