Forum Replies Created
-
AuthorPosts
-
Hi Tim,
Thanks.
Could reproduce it and added a fix in next release 7.0.
Best regards,
GünterHi Tim,
Sorry, but it still does not work. I tried both e-mail and supplied username.
Best regards,
Günter-
This reply was modified 3 days, 8 hours ago by
Günter.
Hi,
Thank you for reporting this. It is bug and will be fixed in next release 7.0
Enjoy the theme and have a great day.
Best regards,
GünterHi tim,
Thank you for the login – but it does not work. See Private Content.
Best regards,
GünterFebruary 17, 2025 at 11:41 am in reply to: Compatibility Issues with Enfold Builder on PHP 8.2 and WordPress 6.7 #1477235Hi,
Hope you are also doing well.
Thank you for suggesting the fix – I added it to next release 7.0
Have a great day and enjoy the theme.
Best regards,
GünterHi Tim,
If the img tag disappears in database content (db field post_content and also in metadata ‘_aviaLayoutBuilderCleanData’) means that these fields are updated. I do not know a situation where Enfold itself updates this when a page is loaded in frontend. This happens when a post gets updated from backend.
object cache in my opinion could only be a problem when this happens on saving/updateing a page – but not when it is loaded in frontend. In this case the content is only read.
Is the page after the image disappeared an older version of the page before you added the image ? Then it could be that your hoster restored some older db entries from a backup ?
Best regards,
GünterHey Tim,
Sorry for the late reply.
I cannot reproduce this on a local install. Do you have a staging site where you can reproduce it and I can have access to check your settings for the element ?
Best regards,
GünterJanuary 9, 2025 at 4:16 pm in reply to: Out of Memory – Scalability issue with “Blog Posts” element and a render loop #1474884Hey Jan,
I did not test it – but I have the following idea:
In …\enfold\config-templatebuilder\avia-shortcodes\blog\blog.php around line 861 you find filter:
$query = apply_filters( 'avia_blog_post_query', $query, $params );
In global variable $avia_config[‘posts_on_current_page’] you have all ID’s of already queried posts.
$query[‘post__not_in’] can be used to skip already queried posts:
$query['post__not_in'] = isset( $query['post__not_in'] ) ? array_merge( $query['post__not_in'], $avia_config['posts_on_current_page'] ) : $avia_config['posts_on_current_page'];
Can you give this a try please?
Best regards,
GünterJanuary 8, 2025 at 5:15 pm in reply to: Bug – Abuse of /?avia_extended_shop_select= queries #1474836Hi @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ünter -
This reply was modified 3 days, 8 hours ago by
-
AuthorPosts