Forum Replies Created
-
AuthorPosts
-
Hi @EZWebdesign,
Thank you! We’ll add it to the core in the upcoming version.
Merry XMas and a happy New Year !!
Best regards,
GünterHi @BigBatT,
Thank you! We’ll add the Italian language files to the core in the upcoming version as well.
Merry Christmas and a Happy New Year !!
Best regards,
GünterHi,
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ünterHey Guenter,
Yes – I forgot to remove the -dev.
It is the latest production version.
I apologize for this.Best regards,
GünterDecember 2, 2024 at 1:03 pm in reply to: Compatibility Issues with Enfold Builder on PHP 8.2 and WordPress 6.7 #1472705Hi,
Thank you for sharing this.
I added it to core for next release 6.0.8.
We highly appreciate your help.
Best regards,
GünterHi,
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ünterHey 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ünterHi @BigBatT,
Thanks for your contributions!
Added it to core. Have a great day.
Best regards,
GünterHi,
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ünterOctober 7, 2024 at 8:24 am in reply to: Custom Slider Element only lets you upload one photo. #1468542Hi,
and try to add:
add_theme_support( 'show_advanced_custom_element_options' );
I think this should help.
Best regards,
GünterHi,
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.jsBest regards,
GünterHi,
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ünterHi,
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ünterHi,
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ünterHi,
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 sectione.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ünterHey 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ünterSeptember 19, 2024 at 12:02 pm in reply to: Bug ?avia_extended_shop_select=yes breaks the filters #1467443Hi,
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ünterHi @BigBatT,
Added files to the core and https://github.com/KriesiMedia/enfold-language-files. Thanks for your contributions!
Best regards,
GünterHi,
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
September 2, 2024 at 1:48 pm in reply to: Bug: Cannot turn off sonar animation on ALB icon element #1466044Hi,
thank you for reporting this.
We remove the CSS Ismael mentions above in next release 6.0.4.
Best regards,
GünterHi,
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ünterAugust 21, 2024 at 2:18 pm in reply to: Question about the new Enfold 6.0 Feature: Dynamic Content #1465085Hi,
wichtig wäre hier auch in Klassen dynamic content zu nutzen
Was genau würde Dir hier vorschweben ?
Best regards,
GünterHey 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ünterHi 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ünterHey waveseven,
Please check https://kriesi.at/documentation/enfold/custom-element-templates/#custom-elements-advanced-options.
and
Hope this helps.
Best regards,
Günter -
AuthorPosts