Forum Replies Created
-
AuthorPosts
-
June 20, 2019 at 10:56 am in reply to: Code Block Element doesn't handle shortcodes properly #1111899
Hi,
Check enfold\config-templatebuilder\avia-shortcodes\video\video.js.
If you want to handle everything of your own we could provide a filter after line 375 (with the shortcode parameters) that allows you to replace the output variable – or before return in line 400 where you can modify the complete return value.
Best regards,
GünterJune 19, 2019 at 1:33 pm in reply to: Code Block Element doesn't handle shortcodes properly #1111597Hi,
We can add a filter for that.
Can you please have a look at enfold\config-templatebuilder\avia-shortcodes\video\video.php around line 371;
$output = "<script type='text/html' class='av-video-tmpl'>{$output}</script>";
$output is the WP embed shortcode (see line 346).
Shall we provide a filter for this complete line or only for the script tag?
Best regards,
GünterHey Howlers,
Thank you for using Enfold.
Have a look into enfold\css\base.css.
But you can also use Dashboard -> Enfold (Child) -> General Styling -> QuickCSS of if using a child theme style.css to write your own CSS rules.
Best regards,
GünterHey AWZ,
I added filter avf_copyright_info to core for the copyright (should be in next update).
Meanwhile in file enfold\footer.php around line 178 you find:
if( in_array( $footer_widget_setting, array( 'all', 'nofooterwidgets', 'page_in_footer_socket' ) ) )
Before this add:
/** * @since 4.5.7.2 * @param string $copyright * @param string $copyright_option * @return string */ $copyright_option = avia_get_option( 'copyright' ); $copyright = apply_filters( 'avf_copyright_info', $copyright, $copyright_option );
and you can modify copyright to your needs.
If you need assistance with the filter or the update let us know and we can help you.
Do not forget to make a backup of the file for a fallback and clear server and browser cache.
Best regards,
GünterHi,
What WP version are you using?
This function gutenberg_can_edit_post_type is called because function use_block_editor_for_post_type is missing – this is only on older WP 5 version which are using the “gutenberg plugin”. This has been cbanged later.
Try to update WP to 5.2.2 and deactivate gutenberg plugin (if you have activated it). You can also deactivate the classic editor plugin as this should be properly handled by Enfold theme option.
Best regards,
GünterJune 19, 2019 at 10:13 am in reply to: Change H2 to H1 Titel at Fullscreen Slider – current version of Enfold #1111554Hi,
Danke für das feedback und das Angebot. Mal sehen, wie ich es implementieren werde.
Best regards,
GünterJune 18, 2019 at 1:02 pm in reply to: Replace the default color bar with custom colors in the color picker #1111285Hi!
I added this feature and it will become part of core in one of the next updates.
You can change the colors with filter avf_colorpicker_colors:
Cheers!
GünterJune 17, 2019 at 11:25 am in reply to: Change H2 to H1 Titel at Fullscreen Slider – current version of Enfold #1110979Hi,
Glad we could help.
Enjoy the theme and feel free to come back when you need further assistance.
Have a nice day.Best regards,
GünterHi,
Thank you for using Enfold.
We try to stay compatible with many plugins, but it is not possible for all. Polylang is not supported by Enfold.
But you can use the filter avf_header_setting_filter (enfold\functions-enfold.php line 1105).
In $header[‘alternate_menu’] there is the ID of your selected menu. Replace the value with your translated menu ID according to your language.
Best regards,
GünterHi,
Glad we could help you.
Enjoy the theme and feel free to come back when you need further assistance.
Have a nice day.Best regards,
GünterHi,
Thank you for reporting this.
Language files are not translated by us but are provided by users.
I updated the wrong translations for the tab section position:
https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_5_7/langs/de_DE_formal.mo
https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_5_7/langs/de_DE_formal.poWill become part of the next update.
Best regards,
GünterHi,
And around line 1095:
$header .= 'From: ' . get_bloginfo('name') .' <'. urldecode( $autoresponder_email ) . "> \r\n";
replace with:
$from_prefix = get_bloginfo('name'); $from_prefix = apply_filters( 'avf_form_autoresponder_email_from_prefix', $from_prefix, $new_post, $this->form_params ); $from_prefix = htmlspecialchars_decode( $from_prefix ); $header .= 'From: ' . $from_prefix .' <'. urldecode( $autoresponder_email ) . "> \r\n";
Best regards,
GünterHi,
Temporarily you can use the filter avf_form_subject or in file enfold\framework\php\class-form-generator.php funtion send() around line 978:
$subject = apply_filters("avf_form_subject", $subject, $new_post, $this->form_params);
Insert after this line:
$subject = htmlspecialchars_decode( $subject );
Will be part of the next update.
If you need helpwith this let us know and we can do it for you.
Best regards,
GünterHi!
The file enfold\config-layerslider\LayerSlider\includes\slider_markup_html.php containing this hook is part of layerslider plugin – there is not much we can do.
I will ask if we can forward this to layerslider devs. Maybe you can also try to place a report about that there?
Best regards,
GünterHi,
Thank you for reporting this problem. Is an IE problem not supporting a js array function.
I tried to find an easier fix.
As I have no IE for testing: in enfold\js\shortcodes.js around line 539 you find:
if( ! pc_heights.includes( height ) && ( height != 100 ) )
replace this line with:
if( ( -1 == $.inArray( height, pc_heights ) ) && ( height != 100 ) )
Do not forget to make a backup of the original file for fallback and clear server and browser cache.
Thanks for your help.
Best regards,
GünterHi,
Thank you for using Enfold.
Thanks for reporting this. I added it to our dv repo to fix it asap.
I will come back when we have the solution.Best regards,
GünterHey Dean,
Did you upgrade to the latest version 4.5.7 of Enfold ?
Best regards,
GünterHi!
Danke für diese Info.
Habe es richtiggestellt und sollte im nächsten Release sein.
Cheers!
GünterMay 23, 2019 at 11:19 am in reply to: Menu item custom CSS classes are not present in burger menu #1103626Hey mike235,
Thank you for using Enfold.
Are you using the latest version 4.5.7?
Please provide a link to your site and where the problem occurs so we can check.
Best regards,
GünterMay 23, 2019 at 11:01 am in reply to: WordPress 5.2 warning about latest Enfold update 4.5.7 #1103619Hi,
Do you use a caching plugin? We had got this reported already by one user and disabling helped.
Best regards,
GünterHi,
Glad it works now and that we could help.
Enjoy the theme and feel free to come back when you need further assistance – I will close the topic for now.
Have a nice day.Best regards,
GünterHi,
Sorry for confusing.
You have to add:
unset( $product_order[‘menu_order’] );
and can remove:
unset( $product_order[‘order_menu’] ); unset( $product_order[‘menu_order title’] );
The rest was only an explanation how the custom sorting is implemented by WooCommerce.
Best regards,
GünterHi,
Concerning Updates – there has been a fix in 4.5.4 – so 4.5.3 (see screenshot) shows a wrong behaviour.
If you have a staging site with 4.5.7 you can edit enfold/style.css and change the version number to 4.5.6.
If you click “check manually” you will get a correct info to update (I checked it with 4.5.5 and 4.5.7).
It might take up to 12 hours to recognise the manual version change by WP as WP caches the versions in a transient for update checks.So please update your sites with ftp to 4.5.7 and future updates should work.
Best regards,
GünterHi,
Replace
unset( $product_order[‘order_menu’] );
with
unset( $product_order[‘menu_order’] );
The custom sorting is defined by WC with “menu_order title”.
When editing a product under Product Data -> Advanced Tab you find Menu order where you can define a custom ordering position (and in same ordering Position it is sorted by product title).Concerning the update I will check if Envato has changed something again and I will come back.
Best regards,
GünterHey Hermann,
Thank you for using Enfold.
This seems to be a PHP memory limit (67 MB).
Can you check with your hoster to increase to at least 128MB or higher.
You also might need to update wp-config.php (see http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP and also https://docs.woocommerce.com/document/increasing-the-wordpress-memory-limit/)
Best regards,
GünterHi,
If you are adding CSS code to enfold-child/style.css and Enfold Child is the active theme you need not do anything at all.
This file is enqueued by default as the last one.
Best regards,
GünterHi,
Yes, it is already merged.
If you want we can provide you a beta release including the fix.
I will check if I can reproduce the problem with the caching plugin you mentioned above.
Thank you for your assistance and patience.
Best regards,
GünterHi,
Remove the // (= comment line):
// unset( $product_order[‘menu_order’] );
must be:
unset( $product_order[‘menu_order’] );
see below.
Best regards,
GünterHi,
Thanks for the feedback.
Sorry I did not catch the problem.
In case you want us to check the problem please open a new thread (with new login credentials) and a description how to reproduce the problem on your server so we can try to reproduce it in our dev environment then.
Enjoy the theme and have a nice day and feel free to come back when you need further assistance.
Best regards,
Günter -
AuthorPosts