Forum Replies Created
-
AuthorPosts
-
Hi @Guenni007,
strict equality
No, not needed.
p-tag
You need to check $extra_args. In the ALB element you find:
$extra_args = array( $this, $atts, $content, 'title' );
means you can use:
$atts = extra_args [1];
and you have access to all shortcode attributes – if you set a custom id or class you can check it here.
Best regards,
Günter- This reply was modified 7 months, 4 weeks ago by Günter.
Hi @BigBatT,
Thank you a lot again for contributing the translations. Will be added to core.
Have a great day.Best regards,
GünterMarch 25, 2024 at 1:27 pm in reply to: The “avia-head-scripts” error persists despite trying all recommendations #1438275Hi,
To find the entry in database you can use the following SQL statement:
SELECT * FROM
wp_options
WHEREoption_name
like '%avia-head-script%'To remove all use:
DELETE FROM
wp_options
WHEREoption_name
like '%avia-head-script%'Best regards,
GünterHey Tim,
Thanks for reporting this. There is a weak CSS selector for empty cells in table.css line 234:
.pricing-table li.empty-table-cell{ display:none; }
As a temporary fix change it to or add it to Quick CSS in theme options:
.avia-pricing-table-container .pricing-table li.empty-table-cell{ display:none; }
Do not forget to toggle and save theme options to rebuild the merged CSS files.
I will add a fix for next release.
Best regards,
GünterHi,
I thought based on topic title you are using a plugin.
I’ve changed the implementation that this “feature” must be activated by user in child theme functions.php:
add_theme_support( 'avia_include_cookiebot' );
As there are too many files involved I would like to send you a complete copy of the theme to check. Let me know, to which E-Mail I can mail it please.
Best regards,
GünterHi Jan,
I’ve changed the implementation and put the relevant code js and php in config-cookiebot folder.
I think you are using https://wordpress.org/plugins/cookiebot/ – I added logic to only load the files when this plugin is active.
I would prefer to send you a complete version of Enfold (based on 5.6.11) including this implemention if you let me know where to send it (add it to private content field).
Best regards,
GünterMarch 18, 2024 at 2:25 pm in reply to: Bug Enfold Image element doesnt work and causes php memory exausted error #1437481Hi,
No problem – it will also take me some time to investigate.
I’m tagged to this topic.Best regards,
GünterHi,
Thank you for reporting this problem.
I completly modified the error handling in function avia_backend_create_file() for next release.
But in my opinion using WP-Rocket and our file merging does not make much sense. WP-Rocket is as far as I know optimized to handle caching and also minifying.
You can use our minimized css and js files without merging if you like.
Best regards,
GünterMarch 18, 2024 at 12:05 pm in reply to: Bug Enfold Image element doesnt work and causes php memory exausted error #1437463Hi,
Sorry for the late reply.
Do you have any other error messages in the error logs of WP and the php server ?
You probably know, but just to be sure.
There are 2 memory limits to set: PHP and WP
https://www.atatus.com/blog/the-php-memory_limit-what-you-need-to-know-about-increasing-it/
As you investigated – it seems to be a problem of PHP 8.1 in conjunction with a large amount of images.
There are 2 possible problems:
– caused by our image element
– caused by WooCommerce core or a plugin you usePHP 8.1 also has a stricter type management – this also might cause a problem somewhere.
It is impossible for us to setup a test site with 116.000 products and to debug the problem on a live site is not really possible without breaking the site as we would need to insert debug code and also change php code of the image element including frontend output to locate the problem.
Do you have a chance to duplicate the site to a dev server where we can get free access (also ftp, to error logs, …) to investigate closer?
Best regards,
GünterHey Perfect Word,
Thanks a lot for reporting. Will be added to next release 5.6.13.
Enjoy the theme and have a great day.
Best regards,
GünterHey kreativeseite,
Very sorry for this problem. Will be fixed in next release.
Meanwhile can you please replace
…\wp-content\themes\enfold\config-templatebuilder\avia-shortcodes\section\section.php
with
I added at line 1495:
$skipSecond = false;
Do not forget to make a backup of the original file for a fallback and clear server and browser cache.
If you need help with this let us know.Best regards,
GünterHey Jan,
I tried to add a solution with WP filter – that would be a solution to maintain code in one place and also for other plugins to hook.
If you could please test it before we add it to final core.
1.) replace enfold\js\avia-js.js with
https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_5_6_10/js/avia.jshttps://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_5_6_10/js/avia-js.js
Check class aviaJSHelpers in this file.
2.) in the files you mentioned instead of your code add:
// allow 3-rd party plugins to hook (see enfold\js\avia-js.js aviaJS.aviaJSHelpers) if( window['wp'] && wp.hooks ) { allow_continue = wp.hooks.applyFilters( 'aviaCookieConsent_allow_continue', allow_continue ); }
3) To load WP hook js in enfold\functions.php around line 574:
wp_enqueue_script( 'avia-js', "{$template_url}/js/avia-js{$min_js}.js", array(), $vn, false );
replace with:
wp_enqueue_script( 'avia-js', "{$template_url}/js/avia-js{$min_js}.js", array( 'wp-hooks' ), $vn, false );
Thank you for checking in advance and your help.
Regards,
GünterHi,
I added filter avf_sc_section_before_close at line 1507ff.
Complete file with modification:
Let me know if this helps you.
Will be in next release.
Best regards,
GünterHi Patrick,
Sorry for the late reply.
Als Kommunikationskanal ist möglich: https://github.com/KriesiMedia/Enfold-Feature-Requests/issues
Für Anregungen und Wünsche sind wir jederzeit offen und dankbar – soferne diese für andere User Sinn ergeben, werden sie gerne berücksichtigt.
Filter im core einzubauen ist jederzeit möglich. Gib uns einfach Bescheid, wo genau.
Deine Änderungen oben habe ich einmal in Vormerk genommen – konnte aber noch nicht genauer drüberschauen.
Best regards,
GünterHi @Webvriend,
Best regards,
GünterHi,
Enfold 6.0 including the features mentioned before is on the roadmap close to release. We still do testing and are working on the docu for it.
A final release date cannot be said at the moment.
Best regards,
GünterFebruary 10, 2024 at 3:34 pm in reply to: How do I customize the icons displayed in the Icon List? #1433913Hi Rob,
Fix will be in next release 5.6.11. Icons will be below title before content field.
Best regards,
GünterJanuary 30, 2024 at 8:29 am in reply to: Metadata element – possible to add default settings? #1432460Hi Rob,
I did already a replace of wrong spelled “Separator” for Enfold 6.0 (coming soon) – but only in UI. Making changes to id’s or class names is too dangerous to break existing sites.
Thanks for pointing at this.And thank you for staying to Enfold.
Best regards,
GünterJanuary 29, 2024 at 4:26 pm in reply to: Metadata element – possible to add default settings? #1432407Hi,
For next release 5.6.11 I also added a filter:
Best regards,
GünterJanuary 29, 2024 at 3:16 pm in reply to: Metadata element – possible to add default settings? #1432396Hi,
You must change the following options:
Hierarchical Custom Elements: Allow use of hierarchical custom elements
Custom Elements For Subitems: Individually select subitem custom element templatesThen you can add the meta elements in custom template and lock them if you like.
Best regards,
GünterJanuary 28, 2024 at 5:17 pm in reply to: Metadata element – possible to add default settings? #1432274Hi,
Please read chapter https://kriesi.at/documentation/enfold/custom-element-templates/#custom-elements-advanced-options and use
add_theme_support( 'show_advanced_custom_element_options' );
This will enable more options.
And also further down https://kriesi.at/documentation/enfold/custom-element-templates/#custom-elements-advanced-option-custom-elements-for-subitems
Best regards,
GünterJanuary 28, 2024 at 8:20 am in reply to: Metadata element – possible to add default settings? #1432256Hi,
Better way would be to use custom elements which are editable – https://kriesi.at/documentation/enfold/custom-element-templates/.
But I will think about a filter that will allow to change the default settings.
Best regards,
GünterHi,
Thank you for reporting this bug – I’m sorry for that mistake.
It is fixed in next release 5.6.11.
Have a great day.
Best regards,
GünterHey Tim,
I had a quick look.
The whole sale badge logic is managed by WooCommerce core – and also the template logic for display.
I do not see an easy way to hook into this.
Sorry I have no better news at the moment. I will keep it in mind for future.
Best regards,
Günter- This reply was modified 10 months ago by Günter.
January 23, 2024 at 10:34 am in reply to: Deprecated: Error Class avia_style_generator … nach Umzug #1431771Hi,
Fehlermeldungen sind im WP core begründet.
WP 6.4 ist nur in beta kompatible mit PHP 8.3 (und 8.2).
Könnte (auch) sein, dass eines der plugins mit den neuen PHP versionen Probleme hat.
Ein Kollege hat Enfold mit PHP 8.3.1 getestet und keine Probleme.Einzigen Weg den ich noch sehe:
Rollback von PHP auf 8.1
Evtl. auch WP neu installieren
Datenbank reparieren (um sicher zu gehen, dass da kein Problem vorliegt)Zu der ersten Deprecated Warnung: Hast Du irgendwo eine Änderung, wo Du avia_style_generator::print_extra_output änderst ?
Best regards,
GünterJanuary 23, 2024 at 9:04 am in reply to: Deprecated: Error Class avia_style_generator … nach Umzug #1431760Hi,
Also die Fehlermeldung vom 18.1. kann nicht mehr der Grund sein. Ich habe die Typüberprüfung auf WP_Post entfernt.
Warum WP keine detailierte Fehlermeldung liefert – keine Ahnung.
Einzige Möglichkeit ist noch das PHP Error Log vom Server direkt und das WP Error Log (https://marketpress.de/wp-debug-log-fehlermeldungen-in-wordpress-ausgeben/). Ich würde aber WP_DEBUG_DISPLAY auch auf true setzen zum Testen.
Evtl. musst Du Deinen Systemadministrator / Hoster kontaktieren um die entsprechenden Debug Logs zu aktivieren.
Best regards,
Günter -
AuthorPosts