@ Adam
Open the card.php
and card-single.php
file found in this folder:
../wp-content/plugins/connections-gridder/
Add the following to the card.php
files:
$entry->getAddressBlock();
$entry->getLinkBlock();
These must be placed between <?php
and ?>
tags otherwise the code will just show up as text in the template rather than being ran. So, try pasting them in at line 84\
.
The reason for opening card-single.php
is for reference. YOu’ll find the same functions use in that file to display addresses and links.
Now, the harder part. You will not likely be able to see the info because the default font-size will be “ de to how the template is styled so it functions correctly (tiled). So, you’ll need to add CSS to set the font-size and line-height so it is visible. Something like this might work (not tested):
#cn-gridder .cn-gridder-contact span.address-number-block,
#cn-gridder .cn-gridder-contact span.link-address-block {
font-family: sans-serif;
line-height: 14px;
}
You would add this to the theme’s custom CSS area.
If you decide to alter the files, please take a moment to read the tutorial on custom template override files to make these changes update safe.
Hope this helps!