Forum Replies Created
-
AuthorPosts
-
Hey Patrick,
Thank you for reporting this.
I updated aria-hidden=”false” for ALB icons containing a link for 6.0.2.
If you want to test it before please replace
../config-templatebuilder/avia-shortcodes/icon/icon.php
with
There’s also still an animation
I cannot reproduce this. If you have a staging site can we have a link to it where we can see it and we can also get access to the underlying shortcode.
Thank you in advance.
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 very much for checking and your help.
I will add a fix to 6.0.1 and we will release it very soon.
Have a great day – and thank you for using Enfold.
Best regards,
GünterHi,
Thanks for checking and your time.
Using the index seems to be server depending:
https://planetscale.com/learn/courses/mysql-for-developers/indexes/indexing-for-wildcard-searches
I removed the order by clause and the query time dropped dramatically on my install.
Could you try to remove the following line from ..\enfold\config-templatebuilder\avia-template-builder\php\class-dynamic-content.php
around line 1410:
$sql .= 'ORDER BY meta_key ';
and can you please check with and without limit ?
Thank you very much in advance.
Best regards,
GünterHi,
Thank you for posting the temporary solution.
As I do not have a test environment with such many posts: could you please check if adding a limit (as WP does) would help?
e.g. like
add_filter('avf_query_default_custom_fields_limit', function($limit) { return 300; });
Thank you for your help in advance.
Best regards,
GünterHi,
I checked the query on my localhost:
Can you check that meta_key is an index on your install and maybe also try to reindex it. Sounds a bit strange that an SQL Server does not use an index.
If you do not need the custom field feature added with 6.0 disable it in theme option Enfold->Template Builder-> Custom Layout And Dynamic Content.
Our query is based on the WP query in ..\wp-admin\includes\template.php function meta_form() which fills the custom fields when editing a post. This query is limited to 30 entries by default.
There are also several filters for our query (see ..\config-templatebuilder\avia-template-builder\php\class-dynamic-content.php function get_default_custom_fields() ) – even to shortcut it or to limit:
$limit = apply_filters( 'avf_query_default_custom_fields_limit', 0 );
But we offer the custom fields in dropdowns to be selected by users – not showing all might result in being not user friendly. There is much depending on your application.
If you know exactly which custom fields are needed you can return this set hardcoded with filter:
/** * Allow to short circuit the query against post meta table. * Return an array filled with the keys. * Query for _ only might get much longer than other queries * * @since 6.0 * @param array|null $keys * @param bool $filter * @param int $limit * @return array|null */ $wp_custom_fields = apply_filters( 'avf_before_query_wp_default_custom_fields', null, $filter, $limit );
Best regards,
GünterHey roelvanleuken,
Thank you for pointing at this – I already answered your contact form request yesterday:
First I checked the database structure of WP post meta table.
meta_key field is an index in my install (6.5.3). This means the query you show is a simple query against an index and this means that is a very fast query – even in a database that contains million of entries in a table.
Please check with your hoster (datatbase hoster) why this query is so slow in your case. Could be your database is broken somehow or allocated memory is too small.
Nevertheless I improved the query logic to remove it from frontend for next release 6.0.1.
If you want to test the fixes please replace the 2 following files:
..\config-acf\class-avia-acf.php
..\config-templatebuilder\avia-template-builder\php\class-dynamic-content.phpwith
https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/enfold_6_0/config-acf/class-avia-acf.php
https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/enfold_6_0/config-templatebuilder/avia-template-builder/php/class-dynamic-content.phpBest regards,
GünterHi Roel,
Thank you for pointing at this.
First I checked the database structure of WP post meta table.
meta_key field is an index in my install (6.5.3). This means the query you show is a simple query against an index and this means that is a very fast query – even in a database that contains million of entries in a table.
Please check with your hoster (datatbase hoster) why this query is so slow in your case. Could be your database is broken somehow or allocated memory is too small.
Nevertheless I improved the query logic to remove it from frontend for next release 6.0.1.
If you want to test the fixes please replace the 2 following files:
..\config-acf\class-avia-acf.php
..\config-templatebuilder\avia-template-builder\php\class-dynamic-content.phpwith
https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/enfold_6_0/config-acf/class-avia-acf.php
https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/enfold_6_0/config-templatebuilder/avia-template-builder/php/class-dynamic-content.phpBest regards,
GünterJuly 4, 2024 at 8:55 pm in reply to: how to use avf_dynamic_css_additional_vars and avf_dynamic_css_after_vars #1461382Hi,
Achtung, dass der Selektor nicht zu schwach ist. :root ist ein sehr starker selector, stärker als html !!!
Würde sicherheitshalber wie in meinem Beispiel nehmen:
html.html_entry_id_46364 , html.html_entry_id_2407
Best regards,
GünterHi,
I forgot to mention that when using HTML markup in toggle title the open toggle title is ignored (there is a message in the description text). This is a limitation – but I think something to live with.
In your test site https://webers-testseite.de/accordion it works as it should – with fixed toggle title as it did before 6.0 where we added the open toggle title option.
@conflock
Did you clear browser cache? See example of @Guenni007.
Can you give me a access to a staging site with full WP admin access where I can see why it is not working ?
Best regards,
GünterHey conflock,
Thank you for reporting this – and sorry for the problems.
Will be fixed in next release.
Meanwhile you can replace the content of folder “..\enfold\config-templatebuilder\avia-shortcodes\toggles\” with the files of:
If you need help let us know and we can do it for you.
In case you have enabled file compression please disable it, save theme options, enable it again and save theme options again.
Best regards,
GünterJuly 3, 2024 at 1:22 pm in reply to: how to use avf_dynamic_css_additional_vars and avf_dynamic_css_after_vars #1461203Hi Günter,
Beispiele:
Best regards,
GünterJuly 2, 2024 at 12:46 pm in reply to: Question about the new Enfold 6.0 Feature: Dynamic Content #1460976Hi,
Ich hatte es kurz einmal am Radar, aber keine schnelle Lösung gesehen. Ist aber nicht vergessen.
Best regards,
GünterJuly 2, 2024 at 12:29 pm in reply to: Question about the new Enfold 6.0 Feature: Dynamic Content #1460967Hi Martin,
Alles klar. Macht Sinn.
Ich hab es einmal zu den feature requests hinzugefügt, damit ich es nicht vergesse: https://github.com/KriesiMedia/Enfold-Feature-Requests/issues/109
LG,
GünterJuly 2, 2024 at 11:50 am in reply to: Question about the new Enfold 6.0 Feature: Dynamic Content #1460959Hi Martin,
Freut mich, dass ich helfen konnte.
dynamische Post-Toggles
Wenn ich das richtig verstehe, möchtest Du ein Toggle Element erstellen, wo man analog wie z.B. bei Masonry eine Kategorie, Custom Post Type Einträge, … filtern kann und aus der Ergebnisliste dann z.B. Post Title als Toggle Titel nimmt und das Excerpt oder Post Content dann als Toggle Content nimmt.
LG aus Wien,
GünterHi Patrick,
thank you for your feedback.
According to https://developer.mozilla.org/en-US/docs/Web/HTML/Element/main main tag should be unique and should not contain parts like sidebar, footer, …
Doing a quick check I see that changing div id=”main” to main id=”main” includes footer and sidebar. And various page templates already include the main tag resulting in multiple main tags. And also page as footer setting might add main tags.
I do not see a quick solution for that at the moment – but I will keep an eye on it.
Best regards,
GünterJuly 2, 2024 at 10:57 am in reply to: Question about the new Enfold 6.0 Feature: Dynamic Content #1460939Hey janssen-media,
Thank you for using Enfold.
If you choose “wp_post_title” it is always of the current post title where the element is added.
What you need is use of custom fields where you can enter values specific for the post. You can use the ACF plugin for easier handling.
E.g. define “toggle1”, “toggle2” as custom fields, add values there and then use these custom fields as dynamic content.
If you create a custom layout with that toggle you can add this custom layout to any page/post where you need it and then need only fill in the custom fields values as needed.
Hope this helps.
Best regards,
GünterHey Patrick,
Thank you for pointing at the buttons. Missed it.
I added aria-label to the 3 ALB buttons and custom field to Button Title Attribute option.
I will check the HTML “main” tag. That should be no problem. I will also have a look into footer tag – but I’m afraid the risk of breaking existing sites is rather high.
And we appreciate your help to improve accessibility. We will try our best to implement it.
Best regards,
GünterJune 27, 2024 at 3:22 pm in reply to: enfold Kontakformular – Formularelement Datumsauwahl: Auswahl älter als 1944 #1459869Hi,
For 6.0 I added filter avf_form_datepicker_args that allows to change all arguments. See https://github.com/KriesiMedia/enfold-library/blob/master/actions%20and%20filters/ALB%20Elements/Contact%20Form/avf_form_datepicker_args.php
today button
This is the default behaviour of this element.
Best regards,
GünterHey Blatze,
Danke dafür. Hab für die nächste Release “Ohne Titel und ohne Textauschnitt” genommen.
Die Übersetzungen werden von Usern bereitgestellt.
Es gibt ein Github Repository: https://github.com/KriesiMedia/enfold-language-files
Einige User warten die language files regelmässig – wir senden Ihnen dann vor einer neuen Release die letzte Version damit Sie die files übersetzen können und wir diese bereits in der Release mitveröffentlichen können (z.B. Italienisch, Holländisch, Französisch).
Wir sind dankbar für jede Unterstützung bei den Übersetzungen.
Liebe Grüsse,
GünterHi!
Fix von Guenni007 ist korrekt.
Das Problem tritt auf, wenn Linkauswahl: link is applied to icon and title
Ist in nächster Release 6.0 eingebaut.
Regards,
GünterHi,
In der Function shortcode_handler() des Elementes, dort ist
$output .= $slideshow->html();
und das wird dann nach oben weitergereicht.
Ich würde einmal raten, eine clean staging site aufzusetzen, ein paar Bilder und dann testen ohne customizations ob es geht.
Vielleicht ist irgendwo in der DB ein Problem nach einem WPML update. Wäre vielleicht auch mit WPML abzuklären, ob die dann eine Idee haben.Best regards,
GünterHi,
Not sure what caused the problem but I added a fix to ../enfold/framework/php/widgets/widget-classes/class-avia-newsbox.php: line 368:
'std' => is_string( $instance['cat'] ) ? strip_tags( $instance['cat'] ) : '',
It seems to work now.
I will add this fix also to the next release 6.0.
Best regards,
GünterHi Tim,
I added a first solution for a responsive fullscreen banner image with a description text below the image both for theme option banner and for product category banner.
Will be part of next version 6.0.
Best regards,
GünterHey imc-html,
Verwendet Ihr die letzte Version von Enfold 5.7.1 ? Wenn nicht, bitte einmal updaten (wenn möglich zuerst auf einer Staging Site testen).
Die “Initialisierung” der Bilder erfolgt in ..\config-templatebuilder\avia-shortcode-helpers\class-avia-slideshow.php in function set_slides( $ids ) mit
get_posts() und diese Funktion wird von WPML unterstützt, um die Bilder ID zu übersetzen.
Voraussetzung dafür ist, dass die Bilder auch mit WPML übersetzt sind. Könnt Ihr das einmal überprüfen?
Best regards,
Günter -
AuthorPosts