-
AuthorPosts
-
December 2, 2019 at 10:23 am #1161780
Hi,
I created instead the twitter icon the Vero icon. Works perfect, only the titel is not right. Instead Twitter should be displayed „VERO“
pictas-collective.com
Thanks you for your support.
Best,
HarryDecember 4, 2019 at 2:42 pm #1162618Hey,
You can add Vero icon by referring to this post – https://kriesi.at/documentation/enfold/social-share-buttons/#how-to-add-custom-social-icons-to-enfold-options. If you would like us to do it for you, please create temporary admin logins and post them here privately :)
Best regards,
YigitDecember 4, 2019 at 3:05 pm #1162626Thanks Yigit,
please can you do this for me?
Many thanks.
Best,
HarryPS: maybe you can send me the workflow what you did. because I use only the parent theme and if I make a theme update I can make the changes by myselfs
December 4, 2019 at 4:07 pm #1162642Hi,
I tried replacing the code in the bottom of Functions.php file with this one
// Register new icon as a theme icon function avia_add_custom_icon($icons) { $icons['vero_icon'] = array( 'font' =>'vero', 'icon' => 'ue800'); return $icons; } add_filter('avf_default_icons','avia_add_custom_icon', 10, 1); // Add new icon as an option for social icons function avia_add_custom_social_icon($icons) { $icons['Vero'] = 'vero_icon'; return $icons; } add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1);
But saving does not work for me. Could you please replacing your code with this one? Then you would need to go to Enfold theme options to set your social icon once again :)
Best regards,
YigitDecember 5, 2019 at 7:46 pm #1163152Hi,
it doesn’t work. This is the code at the bottom of the function.php:
/*
* register custom functions that are not related to the framework but necessary for the theme to run
*/require_once( ‘functions-enfold.php’);
add_filter(‘avf_default_icons’,’avf_default_icons_mod’, 10, 1);
function avf_default_icons_mod($icons) {
$icons[‘twitter’] = array( ‘font’ =>’vero’, ‘icon’ => ‘ue800’);
return $icons;
}// Register new icon as a theme icon
function avia_add_custom_icon($icons) {
$icons[‘vero_icon’] = array( ‘font’ =>’vero’, ‘icon’ => ‘ue800’);
return $icons;
}
add_filter(‘avf_default_icons’,’avia_add_custom_icon’, 10, 1);// Add new icon as an option for social icons
function avia_add_custom_social_icon($icons) {
$icons[‘Vero’] = ‘vero_icon’;
return $icons;
}
add_filter(‘avf_social_icons_options’,’avia_add_custom_social_icon’, 10, 1);December 5, 2019 at 7:49 pm #1163158And know I got an error code on the website.
Warning: require_once(0php’): failed to open stream: No such file or directory in /home/.sites/327/site3737621/web/wp-content/themes/enfold/functions.php on line 770 Fatal error: require_once(): Failed opening required ‘0php’’ (include_path=’.:/usr/share/pear’) in /home/.sites/327/site3737621/web/wp-content/themes/enfold/functions.php on line 770
There has been a critical error on your website.December 5, 2019 at 7:51 pm #1163165Hey!
Could you please post FTP logins here privately so we can look into it?
Cheers!
YigitDecember 5, 2019 at 7:55 pm #1163168Sure.
December 5, 2019 at 8:03 pm #1163175Hi gharry79,
We cannot login to the dashboard with the php error. Please remove this code from the functions.php file via FTP. Or give us access to the FTP.
Best regards,
VictoriaDecember 5, 2019 at 8:10 pm #1163183Okay.
December 5, 2019 at 9:19 pm #1163218December 5, 2019 at 9:22 pm #1163221Awesome. Thank you very much. But now the quality and the sharpness on the images are gone.
Best,
HarryDecember 5, 2019 at 10:47 pm #1163241I added this code at the end of the function.php for the image problem:
add_filter( ‘avf_avia_builder_masonry_lightbox_img_size’, ‘enfold_customization_change_popup_size’ );
function enfold_customization_change_popup_size( $size ) {
return ‘fullsize’;
}But the images are stil not sharp.
Many thanks.
Best,
HarryDecember 6, 2019 at 12:56 pm #1163353Hi,
Please regenerate thumbnails using this plugin – https://wordpress.org/plugins/regenerate-thumbnails/
Best regards,
YigitDecember 6, 2019 at 4:23 pm #1163415Hi Yigit,
I regenerated the thumbnails, then I deleted also the cache but the images are not sharp.
Many thanks.
Best,
HarryDecember 7, 2019 at 3:24 pm #1163589Hi Harry,
Can you disable caching and minification for now?
Which pages are having images that are not sharp?
Best regards,
VictoriaDecember 7, 2019 at 5:20 pm #1163643Hi Victoria,
I don’t use a caching and minification plugin.
On the main page if you scroll down to the images from our members.
Best,
HarryDecember 7, 2019 at 5:47 pm #1163658Hi Harry,
I see Autopimize being used and this is what I am referring to. Can you please have it disabled for now?
Best regards,
VictoriaDecember 7, 2019 at 6:08 pm #1163661Hey Victoria,
now I deactivated Autopimize.
Best,
HarryDecember 7, 2019 at 6:10 pm #1163662Should I regenerate the thumbnails again?
Best,
HarryDecember 8, 2019 at 2:21 pm #1163778Hi Harry,
Please have a look at the following links:
The code added was not supposed to affect the images or to make any changes to them.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.