Support has been upgraded!
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Premium Support
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Free Support
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
- This topic has 4 replies, 2 voices, and was last updated 9 years, 10 months ago by
Stephen Garratt.
-
AuthorPosts
-
10/05/2016 at 1:58 pm #394375
Stephen Garratt
ParticipantHello Steve,
Using the Tile template.
Is there a way that I can display CITY & POSTCODE on the tiles and the full address on the individual listing pages?
thanks,
Stephen10/05/2016 at 3:57 pm #394381Steven Zahm
Keymaster@ Stephen
yes, but doing so required editing two PHP file of the template. If this is something you feel comfortable doing, I can provide some guidance. Let me know.
10/05/2016 at 4:03 pm #394382Stephen Garratt
ParticipantHi Steve,
Thanks for your response. Speedy as always.
I would be comfortable editing the PHP files. I can put them in the directory of my child theme?
Please let me know which files I should look for and what I should change.
thanks,
Stephen10/05/2016 at 4:19 pm #394383Steven Zahm
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.phpand thecard-single.phpfiles 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.phpchange it to:$entry->getAddressBlock( array( 'format' => '%city% %zipcode%', 'type' => $atts['address_types'] ) );In
card-single.phpchange it to:$entry->getAddressBlock( array( 'format' => $atts['addr_format'] , 'type' => $atts['address_types'] );Hope that helps!
10/06/2016 at 11:54 am #394460Stephen Garratt
ParticipantBrilliant. All sorted. Thanks.
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.
