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.
Tagged: 8.5.8, feature request
- This topic has 5 replies, 2 voices, and was last updated 7 years, 8 months ago by
Steven Zahm.
-
AuthorPosts
-
01/22/2016 at 7:36 am #361998
Alex Mugereki
ParticipantHi how can i change my social icons from the default one to my custom social media?I would also love to have contact icons instead of words like email,phone,website is it possible?
01/22/2016 at 10:05 am #362021Steven Zahm
Keymaster@ Alex
Well, it is possible but requires coding in PHP because there is no easy point and click way of making these changes and doing this with PHP really would not be trivial. I can look into making this easier but I can not promise any eta at this time.
01/22/2016 at 11:22 am #362049Alex Mugereki
Participanti understand this requires php and it may be alot to ask but an i get guidance on how to implement this?
Also how do i change the font color from black to grey
01/22/2016 at 12:06 pm #362053Steven Zahm
Keymaster@ Alex
re: i understand this requires php and it may be alot to ask but an i get guidance on how to implement this?
To get started you would need to read this and this.
In the
card.php
andcard-single.php
you’ll find these lines:if ( $atts['show_addresses'] ) $entry->getAddressBlock( array( 'format' => $atts['address_format'] , 'type' => $atts['address_types'] ) ); if ( $atts['show_family'] )$entry->getFamilyMemberBlock(); if ( $atts['show_phone_numbers'] ) $entry->getPhoneNumberBlock( array( 'format' => $atts['phone_format'] , 'type' => $atts['phone_types'] ) ); if ( $atts['show_email'] ) $entry->getEmailAddressBlock( array( 'format' => $atts['email_format'] , 'type' => $atts['email_types'] ) ); if ( $atts['show_im'] ) $entry->getImBlock(); if ( $atts['show_dates'] ) $entry->getDateBlock( array( 'format' => $atts['date_format'], 'type' => $atts['date_types'] ) ); if ( $atts['show_links'] ) $entry->getLinkBlock( array( 'format' => $atts['link_format'], 'type' => $atts['link_types'] ) ); if ( $atts['show_social_media'] ) $entry->getSocialMediaBlock();
You would have to remove the lines for email, phone and links and write your own code to output your own custom icons. You can query that raw data for these by using the
$entry->getPhoneNumbers()
,$entry->getEmailAddresses()
and$entry->getLinks()
functions. found in theclass.entry-data.php
file. The “block:” functions that you are replacing can be found in theclass.entry-output.php
file.re: Also how do i change the font color from black to grey
This can be done easily by using the Template Customizer. Go to the Connections : Templates admin page and click the Customize button for the Default Entry Card template. The page will reload with a preview on the right and the Customizer on the left. Click the back arrow in the upper left of the Customizer and then click the Style panel. You’ll have options to change a few styles.
Hope that thoroughly answers your questions.
01/23/2016 at 3:24 am #362077Alex Mugereki
ParticipantHi Steven i tried to change a few social icons by changing the images in the wpzoom but there is inconsistency as they sometimes appear and sometimes they dont.
01/23/2016 at 11:51 am #362107Steven Zahm
Keymaster@ Alex
If you only just replaced the images… then you likely need to force refresh the page because the browser will use the images it already downloaded into its local cache.
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.