Forum Replies Created

Viewing 30 posts - 31 through 60 (of 3,732 total)
  • Author
    Posts
  • in reply to: Code Element WPML issue #1473491

    Hi,

    Did you already try to contact WPML support? Translations are handled by WPML and to me it sounds that WPML does not translate the codeblock element correctly.

    Best regards,
    Günter

    in reply to: Version 6.0.7-dev ? #1472730

    Hi,

    Best regards,
    Günter

    in reply to: Version 6.0.7-dev ? #1472724

    Hi,

    Final implementation:

    
    	function avia_add_metadata_to_body_class( array $body_classes )
    	{
    		global $post;
    
    		if( ! $post instanceof WP_Post )
    		{
    			return $body_classes;
    		}
    
    		$classes = [];
    
    		if( is_singular() )
    		{
    			$classes[] = 'post-type-' . sanitize_html_class( $post->post_type );
    
    			$taxonomies = get_object_taxonomies( $post->post_type, 'objects' );
    
    			foreach( $taxonomies as $taxonomy )
    			{
    				$terms = get_the_terms( $post->ID, $taxonomy->name );
    
    				if( ! is_wp_error( $terms ) && ! empty( $terms ) )
    				{
    					foreach( $terms as $term )
    					{
    						$classes[] = sanitize_html_class( $taxonomy->name ) . '-' . sanitize_html_class( $term->slug );
    					}
    				}
    			}
    		}
    
    		/**
    		 * @since 6.0.8
    		 * @param array $classes
    		 * @return array
    		 */
    		$classes = apply_filters( 'avf_metadata_to_body_class', $classes );
    
    		return array_merge( $body_classes, $classes );
    	}
    
    	add_filter( 'body_class', 'avia_add_metadata_to_body_class', 10, 1 );
    

    Best regards,
    Günter

    in reply to: Version 6.0.7-dev ? #1472722

    Hi,

    See private.

    Best regards,
    Günter

    in reply to: Version 6.0.7-dev ? #1472714

    Hi,

    See private.

    Best regards,
    Günter

    in reply to: Version 6.0.7-dev ? #1472707

    Hey Guenter,

    Yes – I forgot to remove the -dev.

    It is the latest production version.
    I apologize for this.

    Best regards,
    Günter

    Hi,

    Thank you for sharing this.

    I added it to core for next release 6.0.8.

    We highly appreciate your help.

    Best regards,
    Günter

    in reply to: CVE-2022-48285 on jszip 3.6.0 #1469608

    Hi,

    We tried, but could not update the js file to a later version – it had seemed to be buggy and using the methods to control the animation like play, pause, .. did not work as it should. So we left it unchanged.

    Checking the player today (https://developers.lottiefiles.com/) the implementation has completly changed.

    We will add it to our dev repo to consider updateing the element – but we have no ETA for it yet.

    Best regards,
    Günter

    in reply to: Barrierefreiheitsstärkungsgesetz #1469169

    Hey Ulf,

    Danke für diese Info.

    Wir werden diesem Thema höchste Priorität geben.

    Viel Freude mit Enfold und einen schönen Tag.

    Liebe Grüsse aus Wien,
    Günter

    in reply to: Please contribute and translate Enfold #1468915

    Hi @BigBatT,

    Thanks for your contributions!

    Added it to core. Have a great day.

    Best regards,
    Günter

    in reply to: toggle id’s in accordian #1468579

    Hi,

    Sorry to say – I’ve tried the last days to find a solution – but I was not able to find one without the risk of breaking existing sites and elements.

    Best regards,
    Günter

    in reply to: Custom Slider Element only lets you upload one photo. #1468542

    Hi,

    Please check https://kriesi.at/documentation/enfold/custom-element-templates/#custom-elements-advanced-option-custom-elements-for-subitems

    and try to add:

    
    add_theme_support( 'show_advanced_custom_element_options' );
    

    I think this should help.

    Best regards,
    Günter

    in reply to: toggle id’s in accordian #1468275

    Hi,

    I added a fix to solve searchbar with #toggle id:

    Please replace C:\xampp\htdocs\wp56\wp-content\themes\enfold\config-templatebuilder\avia-shortcodes\toggles\toggles.js

    with

    https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_6_0_4/toggles/toggles.js
    https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_6_0_4/toggles/toggles.min.js

    Best regards,
    Günter

    in reply to: toggle id’s in accordian #1468196

    Hi,

    I could reproduce it now – I will add a fix to react correctly when the address bar hash changes.

    But I think this will not solve the problem from the initial topic.
    I will let you know here, when I have the fix.

    Best regards,
    Günter

    in reply to: toggle id’s in accordian #1468179

    Hi,

    I could reproduce it once only.

    I readded the

    
    scroll_to_viewport();
    

    on the demo page. This seems to fix the problem.

    Best regards,
    Günter

    in reply to: toggle id’s in accordian #1468173

    Hi,

    I checked the clean version with FF (also in incognito mode) and Chrome on a Windows PC. and on an android handy with chrome.

    I cannot reproduce the problem.

    Can you please copy the shortcode of page with the accordion of the original site to the test site to check ??
    You can enable the debug mode via theme option “Layout Builder” -> “Show advanced options” -> “Debug Mode (Backend Only)”.
    Insert the shortcodes into the cleared debug input field and save the page.

    Best regards,
    Günter

    in reply to: toggle id’s in accordian #1468118

    Hi,

    Thanks for the credentials.

    I recognise one thing:

    – being logged in it seems to scroll to the right place (besides that the heading is covered by admin bar)
    – not logged in (in incognito window) it seems to scroll to top of the toggle section

    e.g. use “Total number of Pendent Lights:” scrolls to “Re-wiring Cost Calculator” headline in incognito, but correctly to content of toggle when logged in

    Before I digg deeper – does this give you any hint to your customizations ???

    Best regards,
    Günter

    in reply to: toggle id’s in accordian #1468109

    Hey Thomas,

    Sorry for the late reply.

    I think the problem is in ..\enfold\config-templatebuilder\avia-shortcodes\toggles\toggles.js around line 92:

    
    allContent.not(content).slideUp( slideSpeed, function()
    {
    	$(this).removeClass('active_tc').attr({style:''});
    	scroll_to_viewport();
    });
    

    Can you try to remove

    
    scroll_to_viewport();
    

    and check if this helps.

    If not, can you give us admin access to a staging site where we can reproduce the problem (and we can modify this file to debug further) ??

    Best regards,
    Günter

    in reply to: hover twitter share button #1467448

    Hey Guenter,

    Thanks. Updated it for next release 6.0.5

    Best regards,
    Günter

    in reply to: Bug ?avia_extended_shop_select=yes breaks the filters #1467443

    Hi,

    As far as I see there are 2 functions involved adding avia_extended_shop_select in ..\config-woocommerce\config.php. You can override them in your child theme:

    
    function avia_woocommerce_frontend_search_params()
    {
       return;
    }
    
    
    function avia_woocommerce_overwrite_catalog_ordering( $args )
    {
       return $args;
    }
    

    Can you try that please.

    Best regards,
    Günter

    in reply to: Please contribute and translate Enfold #1466519

    Hi @BigBatT,

    Added files to the core and https://github.com/KriesiMedia/enfold-language-files. Thanks for your contributions!

    Best regards,
    Günter

    in reply to: CGI Generic SQL Injection (blind) #1466096

    Hi,

    Thank you for using Enfold and reporting this.

    First issue:

    We are working on a fix to ignore s=…. for all pages that are not the search page. Will be in the next Release 6.0.4.

    Second issue:

    The warning you mention is in a file that was used with the old Envato update API < 3.0 and is deprecated. If you have entered an "Envato private token" it should not be loaded at all. But we will remove it in next release 6.0.4. Best regards, Günter

    in reply to: Bug: Cannot turn off sonar animation on ALB icon element #1466044

    Hi,

    thank you for reporting this.

    We remove the CSS Ismael mentions above in next release 6.0.4.

    Best regards,
    Günter

    in reply to: Product Image Hover & Cache #1465092

    Hi,

    It seems that the class litespeed-loaded which is added to the img tag, causes the problem.

    If you check the shop page of your dev server the HTML of second image “Guy Rope” you see 2 img tags, the first one is the overlay to change – it has class avia-product-hover. Remove the class litespeed-loaded there and it will work.

    Why the first image does not have the the overlay image in HTML – no idea – maybe some customization ??

    I added an echo at line 618 in ..\enfold\config-woocommerce\config.php and when logged in it shows, that

    
    get_post_meta( $id, '_product_image_gallery', true );
    

    returns no result – but the product shows a gallery.

    Hope this helps your developer to fix the problem.

    An idea would be to run a js script to remove class litespeed-loaded in all img tags that have class avia-product-hover.

    Best regards,
    Günter

    Hi,

    wichtig wäre hier auch in Klassen dynamic content zu nutzen

    Was genau würde Dir hier vorschweben ?

    Best regards,
    Günter

    in reply to: Product Image Hover & Cache #1464981

    Hey Tim,

    Very sorry for the late reply.

    Do you have a staging site where I can see the HTML structure and the backend settings please – so we are talking about the same.

    Best regards,
    Günter

    in reply to: WooCommerce Category Styling #1463858

    Hi Tim,

    thank you very much for locating the issue. I added a check for empty $bg and then skipping the output.

    https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_6_0_2/config-woocommerce/config.php

    Around line 1733:

    
    				if( trim( $bg ) == '' )
    				{
    					return '';
    				}
    

    Hope this fixes it.

    Best regards,
    Günter

    in reply to: Custom Elements problem #1463684
    in reply to: Accessibility issue with icon element #1462851

    Hi Patrick,

    Thank you for your feedback.

    I did not change anything with animation. Mayby some browser/server cache issue.

    Enjoy the theme and have a great day.

    I will close this topic – feel free to open a new one when you need further assistance or find other bugs.

    Best regards,
    Günter

    in reply to: WooCommerce Category Styling #1462675

    Hi Tim,

    Thank you for the credentials.

    Having a look into it – you are having a lot of customizations, a lot of plugins and also modifications to the image sizes defined.

    E.g. 1500*0 – Featured Thin (added by theme), 1700*0 – Fullscreen Sections/Sliders (added by theme), …

    In core it is: 1500*430 – Featured Thin (added by theme), 1500*1500 – Fullscreen Sections/Sliders (added by theme)

    We are using core WP functions for creating the responsive scrset and size – no idea what *0 causes behind the scene in WP core.

    Also it is a bit strange that when no image is selected for a category we get the last image added returned by a core WP function:

    
    $attachment_id = avia_get_woocommerce_term_meta( $term->term_id, 'thumbnail_id' );
    

    calls

    
    get_term_meta( $term_id, $key, $single )
    

    The following functions are involved in handling the banner for shop page and category pages in file ..\config-woocommerce\config.php:

    avia_woocommerce_overview_banner_image()
    avia_woocommerce_big_cat_banner()
    avia_woocommerce_shop_banner()
    avia_woocommerce_parallax_banner()

    The code in the functions is pretty straight and easy to understand.

    What I would suggest you can do:

    – To make 100% sure we do not have a bug in our core (we tested it carefully, but we might have missed something) create a clean install with Enfold and WooCommerce, add a few images and categories and check, if you get it to run as you want it – using filters if necessary (we can add additional filters if needed to core)

    – Then you need to dig into your customizationed site and try to figure out, what breaks our code

    I know this answer does not satisfy but digging into your code cannot be done in a few minutes.

    If you need anything added to code or anything I can assist you let me know.

    Best regards,
    Günter

Viewing 30 posts - 31 through 60 (of 3,732 total)