Hi,
Thank you for the info.
Please ask your hosting provider to update cURL version from 7.38.0 OpenSSL/1.0.1t to version 7.74.0 OpenSSL/1.0.1t and also upgrade PHP from version 7.3.32 to the latest version. After the software update, install the WP Reset plugin to reset the database or the installation, then try to import the demo again.
Best regards,
Ismael
Hey Tim,
Thanks again. You are right.
I think it is better to use settings of “Custom Font Display Behaviour” and add it to the link for google fonts
(https://peterdaugaardrasmussen.com/2021/04/02/how-to-add-font-display-swap-to-font-from-google/):
<link type="text/css" rel="stylesheet" href="//fonts.googleapis.com/css?family=Barlow:400,500,600,700%7CAlice&display=swap" id="avia-google-webfont">
Filters will allow to change it.
I uploaded a modified file that implements this solution (replace file enfold\framework\php\class-style-generator.php):
https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_8_9_1/framework/class-style-generator.php
As this file is already based on 4.9 release please keep a copy of the original file for fallback (in case you see problems).
If you want to have a copy of the latest dev release let us know.
Best regards,
Günter
Hi Nikko,
Yes, I am aware of that. My search.php file in my child theme contains a grid layout as per: https://kriesi.at/support/topic/search-results-page-grid-layout/#post-917717.
It is not a typical search. It uses new avia_product_slider($atts); as per the above link, that’s the only customization done there. So this is where the main issue comes from.
As per my previous post, the search.php file in my child theme with new avia_product_slider($atts); works perfectly on previous versions of Enfold, just not with the latest version. All I am trying to do is replace the default search results with a grid layout.
Please assist.
This reply has been marked as private.
Hi,
@venocl I tested Guenni007’s edited file in my child theme as posted here ensuring the directory structure is: /wp-content/themes/enfold-child/shortcodes/postslider/postslider.php
and it works correctly with the latest version

Thanks Guenni007
Best regards,
Mike
Hi,
Ok, to display the post meta data you either need to manually add the shortcode Yigit posted above to every post, which you don’t want to do, or change the Theme Options ▸ Blog Styling to one that shows the post meta data, the only issue you seem to have with this is that the excerpts are too short and the meta was above the excerpts, so I added this to your functions.php to make the excerpts longer:
add_filter('avf_postgrid_excerpt_length','avia_change_postgrid_excerpt_length', 10, 1);
function avia_change_postgrid_excerpt_length($length)
{
$length = 300;
return $length;
}
and this to more the blog grid meta below the excerpt:
function custom_script() { ?>
<script>
(function($){
$( '.slide-entry' ).each(function() {
$( this ).find( '.slide-meta' ).insertAfter( $(this).find('.entry-footer'));
});
})(jQuery);
</script>
<?php
}
add_action('wp_footer', 'custom_script');
I believe that it is very close to matching, probably no one will notice the change:

and now the posts have the meta:

Best regards,
Mike
Hi @yigit hi @ismael
I played around more time now to make it work and this is my current status:
– When emailing directly to the email address (please see in private content below) I set up with AWS SES, the emails get delivered immediately.
– I have now set up Contact Form 7 as you advised, followed the implementation steps and also went through the best practices. Everything seems to be set up correctly, however I always receive this error message: https://savvyify.com/img/image/g0EX
– As mentioned in my previous message, I also
a) added the filter in the functions.php file (please see screenshot attached with its integration)
b) manually specified the from address in the contact form’s Content > Backend > Your from address field
Nevertheless something is wrong and I cannot find the reason in the troubleshooting guides.
I would really appreciate if you could help out here!
Hi @yigit hi @ismael
I have now completed the steps you advised:
1) Added the filter in the functions.php file –> Please see screenshot attached.. I believe that integration is correct?
2) Also Contact Form 7 plugin is installed now. I don’t fully understand though if it automatically connects to the Enfold contact form?
3) Also manually specified the from address in the contact form’s Content > Backend > Your from address field.
Nevertheless, the email from the contact form is still not reaching.
Could you please have a look where the issue resides? Would appreciate your help on this to finish the contact form :-))
Hi,
Thanks for the login, the header.php in your child theme doesn’t match the current header.php and is most likely causing the error, as Guenni007 pointed out, please remove this file from your child theme and check again.
Thanks Guenni007
Best regards,
Mike
This reply has been marked as private.
Hi there,
I have implemented a search page with a grid layout as per: https://kriesi.at/support/topic/search-results-page-grid-layout/#post-917717 . It previously worked on Enfold 4.8.6.1 for example, but after upgrading to 4.8.9 / 4.8.9.1,
I have tested on several sites, when I downgrade to 4.8.6.1, it works perfectly. But after updating to 4.8.9.1, below is the error I receive:
Fatal error: Uncaught Error: Call to a member function get_default_sc_args() on null in /home/babbomco/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/base-classes/class-sub-item-query-base.php:84 Stack trace: #0 /home/babbomco/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcode-helpers/class-avia-product-slider.php(40): aviaBuilder\base\aviaSubItemQueryBase->__construct(Array, NULL, Array) #1 /home/babbomco/public_html/wp-content/themes/enfold-child/search.php(69): avia_product_slider->__construct(Array) #2 /home/babbomco/public_html/wp-includes/template-loader.php(106): include(‘/home/babbomco/…’) #3 /home/babbomco/public_html/wp-blog-header.php(19): require_once(‘/home/babbomco/…’) #4 /home/babbomco/public_html/index.php(17): require(‘/home/babbomco/…’) #5 {main} thrown in /home/babbomco/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/base-classes/class-sub-item-query-base.php on line 84
Please assist on how to fix this.
-
This topic was modified 4 years, 2 months ago by
Rustum.
This reply has been marked as private.
This reply has been marked as private.
Following research in this forum we noticed for the Angular theme there is version 4.1, which works with php7 – it is only available on request. Would you be so kind and provide a link for download?
I read in in this thread:
https://kriesi.at/support/topic/angular-4-0-php-5-6-wordpress-4-9-9/
Thanks for your time,
Claudia Eustergerling
Hey marladesign,
Thank you for the inquiry.
There is no option for this by default but we can add a script to move the sidebar above the content on mobile view. Please try this code in the functions.php file.
function ava_custom_script_mod(){
?>
<script>
(function($) {
// move the product category sidebar above the content on mobile view
function av_move_prodcat_sidebar() {
var is_mobile = false;
var is_archive = $("body").is(".tax-product_cat");
if(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ) {
is_mobile = true;
}
if( is_archive && is_mobile ) {
$(".sidebar").prependTo(".template-shop.content");
}
}
$(document).ready(function() {
av_move_prodcat_sidebar();
});
})(jQuery);
</script>
<?php
}
add_action('wp_footer', 'ava_custom_script_mod');
Then add this code in the Quick CSS field to make sure that the sidebar container displays on smaller screens.
@media only screen and (max-width: 767px) {
.responsive .template-blog .blog-meta, .responsive .post_author_timeline, .responsive #top #main .sidebar {
display: none;
}
}
Best regards,
Ismael
Hi!
I have issues with timeouts when working in wordpress with enfold theme. My provider told me that mutliple php errors are causing this timeouts.
Here is one part of the error log:
[Tue Feb 08 17:00:57.925498 2022] [proxy_fcgi:error] [pid 51791:tid 34394933504] [client 2001:4bc9:b43:f70c:25a8:2e68:56f0:306f:60415] AH01071: Got error ‘PHP message:
PHP Warning: file_get_contents(/usr/local/www/vhosts/name/domainname.com/htdocs/https://www.domainname.com/wp-content/uploads/dynamic_avia/enfold.
css): failed to open stream: No such file or directory in /usr/local/www/vhosts/name/domainname.com/htdocs/wp-content/themes/enfold/config-templatebuilder/
avia-template-builder/php/class-asset-manager.php
It seams that enfold is adding a domainpath (https://www.domainname.com/wp-content/uploads/dynamic_avia/enfold) after htdocs and this causes errors.
Thanks for your help!
Konrad
Hi,
Thank you for the inquiry.
You may need to manually specify the from address in the contact form’s Content > Backend > Your from address field or use an SMTP plugin to whitelist the messages coming from the contact form. Or use this filter in the functions.php file to apply a default from address to every contact forms.
function avf_change_cf_from() {
return " (Email address hidden if logged out) ";
}
add_filter('avf_form_from', 'avf_change_cf_from', 10);
To make sure that the WordPress mail is working, please install the Contact Form 7 plugin temporarily, then try to send a test mail.
Best regards,
Ismael
Hello Rikard,
Now it took a little while.
For a “non-programmer” it is really always very difficult to solve problems.
But I always try to understand things a little bit and help myself:
So I have switched back down to 7.4.
Also I have now duch test found out that Woocommerce makes the connection breaks.
I have deactivated the plugin once. But of course I need it again. Before it went well. Is this a problem with the provider?
Then I have once looked at the Enfold child folder. Why there is a header.php in my installation I don’t know anymore.
I have once created a new child folder (from your website) and have made but voher Enfold+Child-theme-settings export and then imported again. With the result that now the footer is displayed again.
Also everything seems to be good at first sight.
Also I have deleted a lot of Quick CSS
I have also made the same update to the brand new Enfold version
What does not work: I actually wanted to activate the Zilla_Slab as headline font (import) . This just doesn’t want to work anymore. It is simply not displayed. With other fonts it works.
If you like you can look again. Thanks so much.
Hi
Purchased Enfold today, installed it and have been trying all day to import demo content. I increased the memory / upload/ media settings and I upgraded from php 7 to php 7.4 and am still getting the error: cURL error 28: Connection timeout after 10001ms. I contacted the hosting company who said that “WordPress fires off /wp-cron on its now accord by doing a loopback request because jobs executed by loopbacks can be very resource intensive. We do not block loopbacks, we rate limit them so badly written loops are isolated” – I have no idea what this means. Are there ‘badly written’ loopbacks in the demo content?
Is there anywhere I can access the content and upload it incrementally?
Thanks
Elle
Hi,
You would need to make your adjustments in HTML, such as shown on the Getting Started page

and add your Navigation Parameters to the initialize script

For this example I used the Infinite loop with slides per group because it seems to be the closest to what you want.
So first we need to import the core Swiper JS & CSS files and set the initialize script in our child theme functions.php file in Appearance ▸ Editor:
function Swiper_from_CDN(){
?>
<link rel="stylesheet" href="https://unpkg.com/swiper/swiper-bundle.min.css">
<script src="https://unpkg.com/swiper/swiper-bundle.min.js"></script>
<script>
window.addEventListener('DOMContentLoaded', function() {
var swiper = new Swiper(".mySwiper", {
slidesPerView: 3,
spaceBetween: 30,
slidesPerGroup: 3,
loop: true,
loopFillGroupWithBlank: true,
pagination: {
el: ".swiper-pagination",
clickable: true,
},
navigation: {
nextEl: ".swiper-button-next",
prevEl: ".swiper-button-prev",
},
});
});
</script>
<?php
}
add_action('wp_head', 'Swiper_from_CDN');
Then on our test page in a code block element add this code:
<style>
.swiper {
width: 100%;
height: 100vh;
}
.swiper-slide {
text-align: center;
font-size: 18px;
background: #fff;
/* Center slide text vertically */
display: -webkit-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
-webkit-justify-content: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
}
.swiper-slide img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
</style>
<div class="swiper mySwiper">
<div class="swiper-wrapper">
<div class="swiper-slide">Slide 1</div>
<div class="swiper-slide">Slide 2</div>
<div class="swiper-slide">Slide 3</div>
<div class="swiper-slide">Slide 4</div>
<div class="swiper-slide">Slide 5</div>
<div class="swiper-slide">Slide 6</div>
<div class="swiper-slide">Slide 7</div>
<div class="swiper-slide">Slide 8</div>
<div class="swiper-slide">Slide 9</div>
</div>
<div class="swiper-button-next"></div>
<div class="swiper-button-prev"></div>
<div class="swiper-pagination"></div>
</div>
the expected results should be:

I linked to my working example below, so this should help you get started, you will still need to add your images, a little more css for style and any other parameters you wanted.
Best regards,
Mike
Hallo,
ich habe beim Hoster einen neuen Account erhalten um PHP ab Version 7.4 zu verwenden. Dort wurde mir ein testbereich eingerichtet und die vorhandene, funktionsfähige Seite dorthin kopiert. Allerdings erscheint nun eine Fehlermeldung im Kopfbereich der Seite:
', '', $heading); $heading = preg_replace( "/href='.*?'/", '', $heading); $current_post['title'] = $heading; } return $current_post; }
Woher kann dieser Fehler kommen?
Hi Stefan,
Thanks for that.
1. I see the error messages on my end too, but it seems to only happen sometimes. Reloading the page seems to load the backend normally on my end for example. Does it make any difference if you deactivate all plugins, or activate the parent theme? You could also try to downgrade PHP to 7.4. If you have server error logs, then please share them with us.
2. That is likely due to that you are overriding header.php in your child theme, could you try to replace that file with the same file from the parent theme please? After that, you can add your customisation back in.
3. I think this is related to question 1, let’s try to experiment with the suggestion I wrote there first.
Best regards,
Rikard
Hi,
You are getting the error:
Failed to load resource:/wp-admin/admin-ajax.php the server responded with a status of 403 ()
this could be due to Mod Security or even the sucuri that has been blocking access, you could also see this post, there are many this that can cause this so it’s hard to say, try the steps in this article.
Best regards,
Mike
Hey envapk2,
Thank you for the link to your site, I tested this solution on my demo site and it does work correctly, please check that you followed the solution correctly:
First ensure that this function is in your child theme functions.php:
add_filter('avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1);
function avia_include_shortcode_template($paths)
{
$template_url = get_stylesheet_directory();
array_unshift($paths, $template_url.'/shortcodes/');
return $paths;
}
then ensure that your child theme directory structure is: /shortcodes/section/section.php

and ensure that you edited the section.php correctly
I have linked to my test page below.
Best regards,
Mike
Hello,
I would like to add columns within columns to achieve the 3 side-by-side icons here: https://ibb.co/fQj7w9N
I believe this thread addresses the same question: https://kriesi.at/support/topic/adding-columns-inside-layout-elements/
From that thread, I clicked this link https://kriesi.at/documentation/enfold/intro-to-layout-builder/#debug-mode and added the code to my functions.php (underneath if(isset($avia_config[‘use_child_theme_functions_only’])) return; since I don’t have a child theme)
Now I’m not sure what the next step is.
edit* i reverted the functions.php file back, because i dont feel comfortable editing it
Thanks,
Ryan
-
This topic was modified 4 years, 2 months ago by
Ryan.
Hey Alfredo,
Thanks for the login details.
1. Since you have a transparent header on the front page, you need to set a separate logo under Enfold->Header->Transparency Options.
2. This is likely not theme related, does the same thing happen if you activate one of the default WordPress themes?
3. Where can we see and reproduce this problem? If it’s possible for you to test earlier PHP versions, then please do so. If things worked as they should running 7.4, then please try that out first of all.
Best regards,
Rikard
I have updated WP (5.9), Enfold (4.8.9), PHP (7.4.27), but the advanced layout builder just spins.
I have done the following:
– disabled all plugins
– switched to default Enfold
-reuploaded them via FTP
-cleared browser cache
Any thoughts? Thank you!
Good morning guys, I’m loving Enfold which I’ve been using for a few years now, but now I’m about to have a nervous breakdown, I designed my website on localhost with PHP version 7.4.2, and then I uploaded it to my server, but I I realized that the version of PHP was about to become obsolete, so I was forced to migrate from a server with a more recent version of PHP, now I have version 8.1.2 and my website is having problems:
1.- The logo does not appear on the homepage, I already tried what you recommended in other topics, but the problem is not solved.
2.- I cannot create new users from the administrator, for example to give them temporary access to the administrator, and I do not receive contacts or data from the forms, and I have several on the web, nor can anyone register on the web despite being enabled the function.
3.- Woocommerce also has problems, because it has generated critical errors on the web, when I deactivate it and activate it again, it also does not allow the product purchase process to end
Please I need your urgent help.
On my page I use [av_team_member
The code says something like src=’…/p5.jpg’ but another person is shown on the page (p1.jpg)
I have no idea where to search anymore. Any ideas what could be the problem (and how to solve it)?
WP 5.9 – Enfold 4.8.9 – PHP 7.4.26
Cheers,
Ralph
Hi Manav,
PHP ZipArchive Extension is still disabled.
You can verify this if you go to LayerSlider then click on the three dots icon on the upper right portion of the page and click System Status, here’s the screenshot: https://imgur.com/p5ib76C or you can go to the link in private content, then find PHP ZipArchive Extension.
You can enable it via cPanel or you can request assistance from your hosting provider.
Best regards,
Nikko