Forum Replies Created
-
AuthorPosts
-
Hi,
Glad we could fix the problem.
The ALB element Fullwidth Revolution Slider is a fullwidth element and wraps the shortcode [rev_slider id=”id#”][/rev_slider] in a section div.
Enfold does not use the other implementations you mentioned above. Can you give us an admin account and a link to the site so we can check what is not working as expected? You can create an own thread for the credentials so they are only visible to moderators and you.
Best regards,
GünterJuly 18, 2019 at 11:42 am in reply to: trouble with the_content(); and Advanced Layout Editor #1119884Hi,
Sorry for not being clear.
You can download the zip file mentioned above in private content an update your theme with FTP.
Adding that code to functions.php of the child theme (or parent theme) allows ALB shortcodes to be executed on ajax calls.
I think this should help to fix the problem. No need to hack the_content.
Best regards,
GünterHey!
What have yiou been editing in the template-builder.class.php file (function and a short code example).
Not clear what you really want to do
Regards,
GünterHi,
We have a beta release (4.5.7.1-beta-3) that incluudes a fix for the unlabeled contact form (and also some other aria related addons).
I add a link to this release in private content.
Other users please create an own thread and the moderators can provide you a link to this file.
Best regards,
GünterJuly 17, 2019 at 6:36 pm in reply to: trouble with the_content(); and Advanced Layout Editor #1119651Hi,
We extended the core with filter avf_alb_exec_sc_only (config-templatebuilder\avia-template-builder\php\shortcode-template.class.php line 442).
Returning true (boolean) allows to process shortcode also in backend (and on ajax calls) – same as modal preview does. But include checks otherwise you will break stylings in frontend output.
See private content.
This allows to use the normal WP content filter without the workaround mentioned by Ismael.
Best regards,
Günter-
This reply was modified 5 years, 11 months ago by
Günter.
Hi,
Can you please replace enfold\config-templatebuilder\avia-shortcodes\slideshow_revolution.php with the recently modified file:
Do not forget to make a backup of the original file for fallback, clear server and browser cache.
Best regards,
GünterHey S.,
Thanks for reporting this.
I forwarded this to Kriesi – but he is on holiday now and I do not know when he can answer.
But in my opinion if you are using https protocol the connection is secured by the protocol and browser/server manage the encryption. But I would recheck this with a network system administrator – your hoster will certainly help you in answering this question.
Plain http connections are of course insecure.
Best regards,
GünterHi,
Did you check filter avf_preview_window_css_files in config-templatebuilder\avia-template-builder\php\template-builder.class.php ( around line 732 ).
There you can add CSS files to be loaded for preview.Best regards,
GünterHi,
Thanks for the feedback.
Please check updated file https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_5_7/rev-slider/slideshow_revolution.php
Best regards,
GünterHi,
Can you please check once again the updated file https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_5_7/rev-slider/slideshow_revolution.php?
Do not forget to make a backup of the original file for fallback, clear server and browser cache.
Best regards,
GünterHi,
Can you please replace enfold\config-templatebuilder\avia-shortcodes\slideshow_revolution.php with:
Do not forget to make a backup of the original file for fallback, clear server and browser cache.
Best regards,
GünterHi,
I’m afraid – yes. Changing this behaviour is nearly impossible without rewriting WP core js files.
If you really need to limit href to either single or double quotes you can only do it by hooking in the_content filter with a very low priority (99999999) and replace it with preg_replace.
Best regards,
GünterHi,
I added the frame how to add the filter to functions.php and an dummy example:
You have to check with bedrock what exactly needs to be changed.
Best regards,
GünterHi,
There will be a theme option “Http security level for checking readability of merged files” in Performace Tab in the next release.
Best regards,
GünterHey!
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ünter -
This reply was modified 5 years, 11 months ago by
-
AuthorPosts