10/05/2016 at 4:19 pm
#394383
Keymaster
@ Stephen
re: can put them in the directory of my child theme?
Yes you can. Here’s a link to the tutorial on custom template override files. It goes over how to name and where to place the files.
re: let me know which files I should look for and what I should change.
You’ll need to edit both the card.php
and the card-single.php
files found in this folder.
../wp-content/plugins/connections-tile-plus/
Look for this line in both files:
if ( $atts['show_addresses'] ) $entry->getAddressBlock( array( 'format' => $atts['addr_format'] , 'type' => $atts['address_types'] ) );
In card.php
change it to:
$entry->getAddressBlock( array( 'format' => '%city% %zipcode%', 'type' => $atts['address_types'] ) );
In card-single.php
change it to:
$entry->getAddressBlock( array( 'format' => $atts['addr_format'] , 'type' => $atts['address_types'] );
Hope that helps!