Forum Replies Created
-
AuthorPosts
-
March 1, 2020 at 8:38 pm in reply to: Avia Layout Builder is not working after upgrade to WP 5.3.2 #1189254This reply has been marked as private.October 8, 2017 at 9:27 pm in reply to: Enfold Portfolio Title: use of capital and small initial letters #861673
Sorry – it was not a general problem but something in the page layout, please close.
April 16, 2017 at 4:17 pm in reply to: "Missing argument 3 for(…)" error on Single item Shop page #778444I found the solution in another thread. I copied following into my fucnctions.php child theme. It works perfect!
/*
Woocommerce 3.0.0 Compatibility Fix
Remove Enfold’s custom functions that conflict with the new image display in WooCommerce 3.0.0
*/
global $woocommerce;
if( version_compare( $woocommerce->version, ‘3.0.0’, “>=” ) ) {
function avia_woocommerce_gallery_thumbnail_description($img, $attachment_id, $post_id, $image_class ) {
return $img;
}
function avia_woocommerce_post_thumbnail_description($img, $post_id){
return $img;
}
}April 16, 2017 at 3:39 pm in reply to: "Missing argument 3 for(…)" error on Single item Shop page #778433Hello,
I have the same problem …Thank you Rikard, yes I solved the problem.
Have a nice day and happy springtime to everyone!
nicolaThx guys for the friendly help. I had set another font code some time before, and did not know to have the new one within the same brackets.
This one works:
add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
function avia_add_heading_font($fonts)
{
$fonts[‘Indie Flower’] = ‘Indie Flower:400,700’;
$fonts[‘Indie Flower’] = ‘Indie Flower:400,700,400cursiv,700cursiv’;
return $fonts;
}add_filter( ‘avf_google_content_font’, ‘avia_add_content_font’);
function avia_add_content_font($fonts)
{$fonts[‘Indie Flower’] = ‘Indie Flower:400,700’;
$fonts[‘Indie Flower’] = ‘Indie Flower:400,700,400cursiv,700cursiv’;
$fonts[‘Muli’] = ‘Muli:400,700,400italic,700italic’;
$fonts[‘Muli’] = ‘Muli:400,700’;
return $fonts;
}Thx Basilis, I am not firm with FTP. I’ll contact a buddy to help on this.
Oops
Fatal error: Cannot redeclare avia_add_content_font() (previously declared in /www/htdocs/w0154578/aiolos.at/wp-content/themes/enfold child/functions.php:22) in /www/htdocs/w0154578/aiolos.at/wp-content/themes/enfold child/functions.php on line 36
-
AuthorPosts