Hi,
Great, I’m glad that you got it working. We’ll close this thread for now then, please open a new thread if you should have any further questions or problems.
Best regards,
Rikard
Hi,
Thanks for the update. If you are adding CSS to code to functions.php, then please remove everything you have added. Then add it to Quick CSS under Enfold->General Styling.
Best regards,
Rikard
Dear Kriesis,
Since today a big problem with the LayerSlider has appeared. We are running different websites with Enfold and LayerSlider plugin and it blocks the creation of new posts and pages in the backend at all these installations. The LayerSlider metabox shows this error message:
Fatal error: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in /kunden/674919_10117/webseiten/landingpages/wp-content/plugins/LayerSlider/assets/wp/templates.php:76Stack trace: #0 /kunden/674919_10117/webseiten/landingpages/wp-content/plugins/LayerSlider/assets/wp/templates.php(76): in_array() #1 /kunden/674919_10117/webseiten/landingpages/wp-admin/includes/template.php(1443): LS_CustomPageTemplates->render_meta_box() #2 /kunden/674919_10117/webseiten/landingpages/wp-admin/edit-form-advanced.php(681): do_meta_boxes() #3 /kunden/674919_10117/webseiten/landingpages/wp-admin/post-new.php(75): require(‘…’) #4 {main} thrown in /kunden/674919_10117/webseiten/landingpages/wp-content/plugins/LayerSlider/assets/wp/templates.php on line 76
After disabling the plugin everything works normal but this is not the solution. Existing posts are editable and for a quick solution we are creating new posts with DuplicatePost.
What to do? Waiting for a theme or plugin update?
Best regards
Anne
Hi,
Thannks for the update, I’m glad to hear that you solved your problem. Please open a new thread if you should have any further questions or problems.
Best regards,
Rikard
Hallo,
wie kann ich einrichten, dass nach Absenden einer Mailanfrage über das Enfold-Kontaktformular der Nutzer auf eine Danke-Seite weitergeleitet wird? Die Dokumentation zum Kontaktformular hilft mir nicht wirklich weiter.
Danke für eine schnelle Rückmeldung
Ursula
Hey Gunter,
On media elements like the Easy Slider, Full Width Easy Slider, Horizontal Gallery, Masonry Gallery, Image element etc etc, it would be great to have the ability within the ALB to assign a badge/label to certain slides/images.
As an example, let’s say you have a slider with 3 slides. Currently, you can assign each slide a title and caption which is great.
But what I’m suggesting is an additional field where you can turn on or off a badge/label that appears in the front end, similar to the “Sale” badge that appears on WooCommerce products when they’re on sale (on smaller screen sizes this Sale badge floats over the product image – this is the idea I’m suggesting, that the badge floats over the image. Checkout this page on mobile as an example of what I’m suggesting – https://kriesi.at/themes/enfold-shop/product/dark-skirt-erebos/ ). This would allow you to select certain slides/images as “Newly Added” or “Most Popular” etc etc and have that stand out as a bit of a feature. And perhaps you can select a few display options like Top Right Corner, Top Left Corner etc etc.
Anyway, thanks for considering it.
Thanks as always
Tim
-
This topic was modified 2 years, 5 months ago by
THP Studio.
-
This topic was modified 2 years, 5 months ago by
THP Studio.
We’ve been using Enfold a little over three years and have loved it.
At some point (I’m not sure when), the YouTube videos we link to are no longer displaying on our site. The videos themselves play fine at YouTube.
Is there a problem with the video block?
Hey Klaus-Peter,
Thank you for the inquiry.
Did you install a lazy load or image compression plugin? Please try deactivating the plugin and temporarily disable Enfold > Performance > File Compression settings to see if it helps.
Best regards,
Ismael
Hey Michael,
Thank you for the inquiry.
You could modify the enfold/config-templatebuilder/avia-template-builder/php/class-generic-helper.php and around line 442, look for this code.
// check for e-mail
if( strpos( $link[1], '@' ) !== false && strpos( $link[1], '://' ) === false )
{
return 'mailto:' . $link[1];
}
Wrap the email address with the antispambot function.
// check for e-mail
if( strpos( $link[1], '@' ) !== false && strpos( $link[1], '://' ) === false )
{
return 'mailto:' . antispambot($link[1]);
}
Best regards,
Ismael
Hi,
Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field instead of the previous css:
.big-preview.single-big a {
pointer-events: none;
}
After applying the css, please clear your browser cache and check.
Best regards,
Mike
Hi,
Good catch, guess it’s been a long day for me:

these CORS errors are due to your CDN: cloudflareinsights.com
I believe you will need to make a change on your server, typically you would need to ask for assistance as this part of your server is not open to everyone, but you should ask your CDN what the exact change for CORS is and then ask your server support.
I don’t use a CDN so I have not needed to do this first hand, but I recall other customers talking about this.
I hop this helps.
Best regards,
Mike
Hi,
I have not seen this before but I found this explanation:
You need to configure your server to also serve your content on port 443 (https). Right now it’s still using the cPanel default.
Try asking your webhost for assistance, when I add a SSL to my domains it is automatic though my webhost cPanel with AutoSSL, so I’m not sure why you would need to manually adjust it, better ask your webhost team.
Best regards,
Mike
Hey kenichi sato,
It looks like you are registered, you can login at https://kriesi.at/support/
and start a new thread at: https://kriesi.at/support/forum/enfold/#new-post
If you forget your password try the “lost password” link:

Best regards,
Mike
Hi,
Glad Yigit could help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.
Best regards,
Mike
Hi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.
Best regards,
Mike
Hi,
These are the “warnings” that I see in Firefox on Windows:

these would not keep your site from scrolling.
Above your wrote that you see: Uncaught ReferenceError: jQuery is not defined for a WordPress core file /wp-includes/js/mediaelement/wp-mediaelement.min.js this file is for videos and audios, so I don’t think it would be a scrolling issue, but it’s odd that I don’t see this error.
Best regards,
Mike
Hi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.
Best regards,
Mike
Hey Oriano,
Thanks for your patience and the link to your site, as I understand your request, you want the author names in the grid to show as inline so they are not on multiple lines, this can be achieved with this css:
.pa_autore p {
display: inline;
}
I added this for you:

The trouble is adding the commas between the names, but not if there is only one name, or after the last name, but I believe that I achieved this:

Please clear your browser cache and check.
This is the full updated code:
//Display_custom_attribute_in_product_grid
add_action('woocommerce_after_shop_loop_item_title', 'display_custom_attribute_in_product_grid', 5);
function display_custom_attribute_in_product_grid(){
// define the desired product attributes to be displayed
$defined_attributes = array('autore');
global $product;
$attributes = $product->get_attributes();
if ( ! $attributes ) {
return;
}
$out = '<span class="product-attributes">';
foreach ( $attributes as $attribute ) {
$attribute_slug = str_replace( 'pa_', '', $attribute->get_name() );
if ( ! in_array($attribute_slug, $defined_attributes) ) {
continue;
}
if ( $attribute->get_variation() ) {
continue;
}
$name = $attribute->get_name();
if ( $attribute->is_taxonomy() ) {
$terms = wp_get_post_terms( $product->get_id(), $name, 'all' );
$tax = $terms[0]->taxonomy;
$tax_object = get_taxonomy($tax);
if ( isset ( $tax_object->labels->singular_name ) ) {
$tax_label = $tax_object->labels->singular_name;
} elseif ( isset( $tax_object->label ) ) {
$tax_label = $tax_object->label;
if ( 0 === strpos( $tax_label, 'Product ' ) ) {
$tax_label = substr( $tax_label, 8 );
}
}
$out .= '<span class="' . esc_attr( $name ) . '"style="width:100%" >';
$tax_terms = array();
foreach ( $terms as $term ) {
$single_term = array('name' => esc_html( $term->name ), 'url' => get_term_link($term->term_id, $name));
array_push( $tax_terms, $single_term );
}
$author_names = array();
foreach ($tax_terms as $term) {
$author_names[] = $term['name'];
}
$author_count = count($author_names);
if ($author_count > 1) {
$author_list = implode(', ', array_slice($author_names, 0, -1)) . ', ' . end($author_names);
} else {
$author_list = $author_names[0];
}
$out .= '<p data-url="' . $term['url'] . '" class="attribute-value" style="margin:0">' . $author_list . '</p>';
} else {
$value_string = implode( ', ', $attribute->get_options() );
$out .= '<span class="' . sanitize_title($name) . ' ' . sanitize_title( $value_string ) . '">';
}
}
$out .= '</span>';
echo $out;
}
Best regards,
Mike
Hey Celeranttechnologycorp,
Thanks for your patience and the link to your site, it looks like your blog page has beed created with a plugin or custom shortcode because it is shown in a code block element, I don’t see any reference to authors on this page. On your post I see that it has been created with the Advanced Layout Builder and the Post Metadata element, as you are using a Custom Post Type did you choose the post in the element options, or was the CPT not available in the options?

Best regards,
Mike
Hi,
Thank you for your patience and the link to your site, but neither of your posts have featured images, so there are no images to show, please add featured images:

Best regards,
Mike
Hi
In WordPress there is a function to prevent SPAM on Email addresses:
But when we use for example a button in Enfold with a link to an email adress, this is not possible.
Does Enfold protect emails in buttons or how we can protect them?
Thanks very much.
Best regards
Mike
Hi,
Ok, Please include an admin login & FTP access in the Private Content area and I will try to install the Enfold Parallax Demo for you.
Best regards,
Mike
Hi Mike,
Yep a paid plugin but absolutely brilliant.
It forms part of an advanced WooCommerce performance stack I am now using.
WPScalability Pro and Auto Infinite Scroll are both by WP Intense and together make WooCommerce much faster. Particularly larger sites.
Scalability Pro also speeds up Enfold and WordPress in general.
There is an option in Scalability Pro to compliment Auto Infinite Scroll – Improving the load time of WooCommerce archive pages.
You can close this issue. I have sent a link to the plugin developer informing them of the solution above.
-
This reply was modified 2 years, 5 months ago by
thinkjarvis.
Hi,
Thank you for sharing your solution, it looks like Auto Infinite Scroll from WP Intense is a paid plugin, I didn’t find a free version for it, but I imagine that you have found it helpful due to the time you put into getting it to work with Enfold, thanks I’m sure others in the future will appreciate your effort. Do you want this thread to remain open to answer future questions, or shall we close it?
Best regards,
Mike
Hi,
Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:
#top #header_main_alternate .avia_mega_div .current-menu-item {
background-color: #fff;
}
#top #header .av-main-nav > li > a {
width: 100%;
text-align: center;
}
Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
After applying the css, please clear your browser cache and check.
Best regards,
Mike
Hi,
Thanks for this login and the link to your page, I tried editing the last text block element with the test text and saved, but I didn’t see any errors, I was using the Chrome browser on Windows, what are you using?
I note that most all of your text blocks contain this strange code: <span data-sheets-value=”{” data-sheets-userformat=”{“> when you view the text blocks in the “text” tab:

and on the frontend this code doesn’t seem to add anything useful:

Did you know this code was added? Did you paste the text from somewhere else and the code from that source was added? I recommend removing the code and see if this solves your issue.
Best regards,
Mike
Hi Gunter,
For those looking to add auto infinite scroll from WP Intense to their Enfold site:
Auto Infinite Scroll Settings:
Set the distance to 1000px
css wrapper: .products, .yourcustomclassfornewspage
Pagination wrapper: .pagination
Next Page Selector: next_page
Css for the load more button: (plus hide the pagination on the blog page)
#isw-load-more-button {
border: none;
padding: 20px 50px 20px 50px;
background-color: #007a74;
color: #ffffff;
font-size: 18px;
font-weight: bold;
transition-duration: 1s;
}
#isw-load-more-button:hover {
border: none;
background-color: #39a6a1;
color: #000000;
}
.yourcustomclassfornewspage .pagination {
display:none !important;
}
Snippet for functions.php to insert the new CSS class to just the blog page:
add_filter( 'avf_custom_main_classes', 'custom_avf_custom_main_classes', 10, 2 );
function custom_avf_custom_main_classes( $class_string = '', $context = 'index.php' )
{
// fallback check
if( ! is_string( $class_string ) )
{
$class_string = '';
}
// e.g. add custom class to index.php Make sure there is a space before the class!
if( 'index.php' == $context )
{
$class_string .= ' yourcustomclassfornewspage';
}
return $class_string;
}
-
This reply was modified 2 years, 5 months ago by
thinkjarvis.
-
This reply was modified 2 years, 5 months ago by
thinkjarvis.
-
This reply was modified 2 years, 5 months ago by
thinkjarvis.
Hey mariosalgado80,
Thank you for your patience and the link to your site, I don’t have any experience with the Loco Translate plugin, but I looked at each section in your plugin settings and for your pages and I didn’t see your notice above anywhere, I believe this is just telling you that the automatic translation may be limited and you will need to manully need to translate some of your pages, this may be true for pages created with the Advanced Layout Builder as many plugins have trouble reading the shortcode.
Enfold supports WPML, please see our documentation here.
Perhaps this video will help you: Quick Steps To Translate Your Theme Using Loco Translate
Best regards,
Mike
Hey Daniel Patriasz,
Thanks for your patience, try enabling the option at Enfold Theme Options ▸ SEO Support ▸ Search Engine Optimization Support ▸ Preprocessing Shortcodes In Header typically this helps but there are some limitations with the Yoast Pro plugin and the pages created with the Advanced Layout Builder.
Best regards,
Mike
Hey gatehealing,
Thanks for your patience, I see that the lazyload classes are present on the images, perhaps your caching plugin doesn’t recognize them, try disability your caching plugin and then check again, if this doesn’t help try following the Page Speed Insights recommendation of installing a lazy-load WordPress plugin and disable the theme lazyload option.
Another point could be that either your caching plugin or the option in the theme settings has disable jQuery Migrate or has deferred the loading of jQuery, this could prevent the teeme lazyload from working, so a good please to start testing would be to disable the caching plugin, and any other “optimizing” plugins, and then ensure the Enfold Theme Options ▸ Performance ▸ Load jQuery in your footer and Enfold Theme Options ▸ Performance ▸ Disable jQuery Migrate are not enabled.
and then check again to see if that helps.
Best regards,
Mike