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 2 replies, 2 voices, and was last updated 3 years, 9 months ago by
Steven Zahm.
-
AuthorPosts
-
09/15/2018 at 2:47 pm #472461
dominic loiacono
ParticipantHi Steven,
I read in teh feature request you are going to be updating the social media icons in a future update. currently the only way possible is to manually change the wpzoom images except for the web link icon which you can using a filter override.
add_filter( ‘cn_output_link_icon’, ‘cn_custom_link_icon’, 10, 2);
Is there a similar filter for email icon? if so are you able to provide it?
I also noticed you moved the email and link icons out of wpzoom folder into their own folders, does this mean the can be overridden similar to the templates? if so how. will the other social icons follow a similar process customization process ( either filter, folder override or possibly customizer?) Is there by chance an eta?
Thanks
Dom
09/15/2018 at 4:59 pm #472462dominic loiacono
Participantalso another question related to icon sizes, I managed to change the social icon size by changing my custom tile-plus card.php template code to include:
… $entry->getSocialMediaBlock( array( ‘size’ => 24 )
but i used css to manually override the height and width of the email and link icons, is there a similar template option method for the email and link icons?
09/17/2018 at 11:10 am #472683Steven Zahm
KeymasterRE: Is there a similar filter for email icon? if so are you able to provide it?
Sorry, no, there is not a filter to change this icon. However, and this is untested, you should be able to use a template override file to override how the email address block is rendered.
Create this folder:
../wp-content/uploads/connections-templates/entry/email-addresses/
Copy the
email-hcard.php
file from this folder to the newly created folder:../wp-content/plugins/connections/templates//entry/email-addresses/
Edit line 40 to use whatever icon you desire.
The downside of using this method is if I make changes to the source file, you will not receive those updates. One such change is I do plan on removing all the hCard markup when I transition to using Schema.org markup instead to further improve SEO of the directory.
RE: I also noticed you moved the email and link icons out of wpzoom folder into their own folders
It’s been a while, but I think these are not in the folder because they are not actually part of the WPZOOM social media icon set.
RE: will the other social icons follow a similar process customization process ( either filter, folder override or possibly customizer?) Is there by chance an eta?
I am not planning on adding a way to customize the icons via code. What I am planning on doing is how the Social Icons by WPZOOM plugin does it. To see, load its widget into your theme sidebar and click a social media icon. It brings up a popup where you can choose your desired icon.
I plan on adding this to the Fieldset Configuration Settings admin page.
Sound like a good plan to you? As for ETA, before end of year.
RE: i used css to manually override the height and width of the email and link icons, is there a similar template option method for the email and link icons?
Yes, for email use
array( 'size' => 24 )
for links usearray( 'icon_size' => 24 )
. Not sure why I decided to use a different option name for that one :/Hope this helps, let me know.
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.