Forum Replies Created
-
AuthorPosts
-
Hey!
There will be a theme option “Http security level for checking readability of merged files” in Performace Tab in the next release.
Regards,
GünterHi,
You can (should) us filters in the functions.php of your child theme – than you need not think about when theme updates of the parent theme are coming.
Best regards,
GünterHi,
Thanks for the staging site – and sorry for the late reply.
I could not find a logical reason why the first event is skipped in the query – could be the offset parameter, the only difference to the upcoming event query.
As a workaround I start the query now 4 days before (interesting that 1 day before also does not return the first event). See line 113ff in events_countdown.php of your child theme.
As this might cause problems to other users also I will add an option for that to the core.
Best regards,
GünterHi,
In file enfold\config-templatebuilder\avia-shortcodes\buttonrow\buttonrow.php at the bottom look for:
$output .= "<a href='{$link}' {$data} class='avia-button {$extraClass} " . $this->class_by_arguments('icon_select, color, size', $atts, true) . "' {$blank} {$style} >";
and replace with:
$output .= "<a title='{$atts['label']}' href='{$link}' {$data} class='avia-button {$extraClass} " . $this->class_by_arguments('icon_select, color, size', $atts, true) . "' {$blank} {$style} >";
Could be that adding a title to buttons will become part of the core. Check for changelog and options in the elements.
Best regards,
GünterHi,
This is WP default behaviour.
You can check with a standard theme.
Best regards,
GünterJuly 5, 2019 at 11:31 am in reply to: Merge and Compress CSS & JS Issue – avia_head_scripts #1116014Hi,
In file enfold\config-templatebuilder\avia-template-builder\php\asset-manager.class.php around line 430 you find:
$request = wp_remote_get($file);
Try to replace it with:
$request = wp_remote_get( $file, array( 'sslverify' => false ) );
Hope this helps to fix the problem.
Best regards,
GünterHi,
As stated in this answer – I’m not a system administrator but could you check with your hoster / or sysadmin if there could be a problem?
We actually create the file and try to read it afterwards to make sure it is avaiable. Ignoring this as suggested in the other post could result in a broken site.
Best regards,
GünterHi,
As stated in this answer – I’m not a system administrator but could you check with your hoster / or sysadmin if there could be a problem?
We actually create the file and try to read it afterwards to make sure it is avaiable. Ignoring this as suggested in the other post could result in a broken site.
Best regards,
GünterHi,
@Borlabs
I added parameter $video_html_raw to filter avf_sc_video_output.
Hope this helps you.
You can check for global variable $avia_config – looks more reliable as this is used by the theme to store settings,….
Best regards,
GünterJuly 4, 2019 at 12:27 pm in reply to: Merge and Compress CSS & JS Issue – avia_head_scripts #1115731Hey Jason,
Thank you for using Enfold.
The file avia-head-scripts-xxxxxx only gets generated when you enqueue scripts to the header. Enfold enqueue all the scripts that are merged in footer.
avia-compat.js is printed “hardcoded” in the head area. Therefore it is not necessary to generate the avia-head-scripts file.
If you change the last parameter of wp_enqueue_script to false (e.g. for an alb element you use) and toggle the compression you will see that avia-head-scripts file is generated.
Best regards,
GünterHi,
Thank you for using Enfold.
The filter avf_asset_mgr_get_file_data is included in 4.5.7 (enfold\config-templatebuilder\avia-template-builder\php\asset-manager.class.php around line 278).
I do not know what bedrock is exactly doing – and we do not support this plugin. So this is customization and out of scope of support.
In case you need an additional filter you can let us know and we can check if it is possible to add to core.You can contact the plugin author and ask for assistance there – or hire a freelancer.
Best regards,
GünterHi,
This issue is caused that in php you can write strings within single quotes or double quotes. Using double quotes has the advantage that you can insert variables in the string which makes the code easier to read – means you have to use single quotes to enclose the value. This is also for e.g. class declaration.
Uusing single quotes is faster as the interpreter does not have to search the string for variables – therefore when you need to insert the result of a function call in the string many developers use single quotes – and then have to use double quotes to enclose the value.
Best regards,
GünterHi,
Yes, the fix is already merged and will be part of the next update.
Best regards,
GünterHi,
Can you wait for the next update?
If not, please open a new thread, give a backlink to this topic and we can give you a link to a beta version including this fix in private content area.
Best regards,
GünterJune 25, 2019 at 2:37 pm in reply to: Code Block Element doesn't handle shortcodes properly #1113242Hi,
@Borlabs
I added 2 filters:
avf_sc_video_video_content
avf_sc_video_outputPlease check if they help you or what should be changed.
Best regards,
GünterHi,
Do you have a staging site where I can reproduce the problem and I can have FTP access and WP admin access to upload some modified files to check internal data values?
Best regards,
GünterHi,
Thanks for opening the credentials.
I’m not the expert for TEC, but checking our code the calls to the query for events are identical. The only possible problem I see (and what is different from my server) could be caused by timezones.
This message is on top op the event page:
When using The Events Calendar, we recommend that you use a geographic timezone such as “America/Los_Angeles” and avoid using a UTC timezone offset such as “UTC-7”.
Choosing a UTC timezone for your site or individual events may cause problems when importing events or with Daylight Saving Time. Read moreAnd you use “UTC-7”.
In the events countdown we check for postmeta _EventStartDateUTC to get the first event.
I do not want to mess around in your site – but could you try to add a new event as first to come and check what happens ?
As a second step to locate the problem we would need to add some extra output to see what the queries return and why the first event is skipped.
Best regards,
GünterHi,
Sorry for the late reply.
I tried to get access to your backend to check your settings – but could not (users not allowed to backend).
Unable to reproduce it on my dev server – using TEC 4.9.3.2.
Best regards,
GünterJune 20, 2019 at 10:56 am in reply to: Code Block Element doesn't handle shortcodes properly #1111899Hi,
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ünter -
AuthorPosts