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 1 reply, 2 voices, and was last updated 10 years, 3 months ago by
Steven Zahm.
-
AuthorPosts
-
05/13/2016 at 10:58 am #376270
Matthew Custer
ParticipantI am trying to find a way to move the phone number and email address to the name and title area.
I would like it to show up when you scroll over the image like the name and title.
We do not need the drop area that comes up when you click the image.
Attachments:
You must be logged in to view attached files.05/13/2016 at 2:47 pm #376293Steven Zahm
Keymaster@ Matthew
The only way to do this will be to edit the
card.phpfile for the template which can be found in this folder:
../wp-content/plugins/connections-gridder/Move these lines to between lines 55 and 56.
<div class="cn-gridder-contact"> <?php $number = $entry->getPhoneNumberBlock( array( 'preferred' => TRUE, 'format' => '%number%', 'return' => TRUE ) ); if ( $number ) { echo $number; } else { $entry->getPhoneNumberBlock( array( 'format' => '%number%', 'limit' => 1 ) ); } $email = $entry->getEmailAddressBlock( array( 'preferred' => TRUE, 'format' => '%address%', 'return' => TRUE ) ); if ( $email ) { echo $email; } else { $entry->getEmailAddressBlock( array( 'format' => '%address%', 'limit' => 1 ) ); } ?> <?php if ( $atts['show_social_media'] ) $entry->getSocialMediaBlock(); ?> </div>You will very likely also have to add CSS to make them show as the font size will likely default to 0.
This will not stop the panel from loading onclick however. Deleting the code for the panel in the
card.phpwill likely stop it from showing.None of this is tested, so you know, but should get you started.
Hope this helps!
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.
