Forum Replies Created
-
AuthorPosts
-
July 18, 2019 at 1:00 pm in reply to: trouble with the_content(); and Advanced Layout Editor #1119901
Hi,
This is something different. Please open an own thread. But without having a chance to get access to your backend it is nearly impossible to help.
Check your php version and WP version, disable all plugins, try to reinstall the theme and WP.
Best regards,
GünterHi,
If you look a few lines above filter avf_preview_window_css_files you find a foreach where the default shortcode css file urls are added to $css as key and 1 as value.
You can add this filter to your elements in the constructor and then add:
$css['your URL to css file'] = 1;
Best regards,
GünterHi,
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 6 years, 1 month 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ünter -
This reply was modified 6 years, 1 month ago by
-
AuthorPosts