-
Search Results
-
With the last update in Enfold, 4.8.8.1, all the code for social icons in the burger menu no longer works. I found these new items which make it show, but it is non functional and partially hidden: https://kriesi.at/support/topic/adding-social-icons-to-enfold-burger-menu/
I added both the new php and the css.
I cannot get my old CSS to work no matter what I do. The icons sort of show up, but are cut off and I cannot style them with CSS — plus the Linkedin icon does not show.
Can you help me get this working again?
Here is what worked before, both the php and the css:
ORIGINAL FUNCTIONS.PHP _______________________________________________
function custom_burger_social_bookmarks_script() { ?>
<script>
(function($){
$(‘#avia-menu’).one(‘click’, function(){
jQuery(‘ul.social_bookmarks’).clone().wrapInner(‘<div class=”burger_social_bookmarks”/>’).children(0).unwrap().appendTo(‘#av-burger-menu-ul’);
});
})(jQuery);
</script>
<?php
}
add_action(‘wp_footer’, ‘custom_burger_social_bookmarks_script’);ORIGINAL CSS ___________________________________________________________
/*—-BURGER MENU—-*/
/* Responsive flyout width */
@media only screen and (max-width:767px) {
.html_av-overlay-side .av-burger-overlay-scroll {
width: 82% !important;
}
}/* Social bookmarks */
#av-burger-menu-ul > .burger_social_bookmarks li a {
}
/* Menu overlay */
#top #header .av-burger-overlay-bg {
background: #ffffff;
}
#top #header .av-burger-overlay-bg {
opacity: .2;
}/* END Menu overlay */
/* Menu items background color */
.html_av-overlay-side #top .av-burger-overlay-scroll {
background: #f838fa;
}/* END Menu items background color */
/* Menu items background font size */
#top #wrap_all #av-burger-menu-ul li {
font-size: 30px;
}/*END Menu items background font size */
/* Burger Menu size */
.av-hamburger-inner, .av-hamburger-inner::before, .av-hamburger-inner::after {
width: 40px !important;
height: 4px !important;
}/* END Burger Menu size */
/* Burger menu links */
#top #wrap_all #header .av-burger-overlay #av-burger-menu-ul li a {
color:#ffffff;
}/* Overlay menu links */
#top #wrap_all #header .av-burger-overlay #av-burger-menu-ul li a:hover {
color:#444444;
}/* Active menu links */
#top #wrap_all #header .av-burger-overlay #av-burger-menu-ul li.current-menu-item a {
color:#444444;;
}/* Burger menu icon color on transparent header */
#header.av_header_transparency .av-burger-menu-main a .av-hamburger-inner,
#header.av_header_transparency .av-burger-menu-main a .av-hamburger-inner:before,
#header.av_header_transparency .av-burger-menu-main a .av-hamburger-inner:after {
background-color: #444444;
}/* END Burger menu icon color on transparent header */
/*—-END BURGER MENU—-*/
It often happens on my blog that the media or content plugins deactivate themselves. I think it mainly happens when you start editing a post with the Enfold Editor and then close the tab. It doesn’t only affect the edited post but totally random articles or pages, the Message says the the Media/Content is “Disabled in the theme settings”
To fix the problem you have to open and save each article, then it works again.
Wordpress: 5.8.2
Enfold 4.8.5
PHP: 7.3.33-1+0~20211119.91+debian10~1.gbp618351
(the problem already existed in prior WP and Enfold versions)Hello again,
I am looking for support “replacing” the header.php for footer problems as I do not know how to do that. I am not a developer. If someone from your theme support could please log into our account and replace this, we can continue to update our theme. Thank you.The solution proposed: Footer disappearing; it’s likely that this is due to header.php being overridden in your child theme, please try updating that file with the content from the same file in the current version of the theme.
I need support doing this.I cannot reply to your response, so I have copy/paste it here:
October 1, 2021 at 10:07 pm #1323201
Melissa Blunden
Hello,
our website designer set us up with an Enfold account, however now when I try to update the theme to the newest version, I am getting a lot of errors. The errors include:
Footer disappearing – I reverted back to an older version of the website to avoid this
Avia Layout Builder disappearing – I cannot get the PHP to update to fix this issue.
Now when I got to update the theme, I get a warning saying “Please Note: Any customizations you have made to theme files will be lost. Please consider using child themes for modifications.”
Since we have a $14,000 custom website, I do not want to update and lose all the customization we paid for. Is there any way these issues can be solved?October 2, 2021 at 7:19 am #1323249
Rikard
Moderator
Hi Melissa,Footer disappearing; it’s likely that this is due to header.php being overridden in your child theme, please try updating that file with the content from the same file in the current version of the theme.
Builder disappearing; it looks fine on my end, does this only happen on specific pages, or after updating to the latest version?
Warning; you are already using a child theme.
Best regards,
RikardAfter updating to 4.8.8.1 we tried to get into our homepage and were greeted with this (site is still working on the front end):
Fatal error: Uncaught Error: Call to a member function get_class_string() on null in /home/customer/www/[WEBSITE]/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/logoslider/logoslider.php:1447 Stack trace: #0 /home/customer/www/[WEBSITE]/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/logoslider/logoslider.php(872): avia_partner_logo->html() #1 /home/customer/www/[WEBSITE]/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-template.php(1123): avia_sc_partner_logo->shortcode_handler(Array, ‘<br />\n[av_part…’, ‘av_partner’, Array) #2 /home/customer/www/[WEBSITE]/public_html/wp-includes/shortcodes.php(356): aviaShortcodeTemplate->shortcode_handler_prepare(Array, ‘<br />\n[av_part…’, ‘av_partner’) #3 [internal function]: do_shortcode_tag(Array) #4 /home/customer/www/[WEBSITE]/public_html/wp-includes/shortcodes.php(228): preg_replace_callback(‘/\\[(\\[?)(av_hea.. in /home/customer/www/[WEBSITE]/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/logoslider/logoslider.php on line 1447
There has been a critical error on this website. Please check your site admin email inbox for instructions.Learn more about troubleshooting WordPress.
I am looking after a website built by another developer and updated Enfold 3.2.3 to the latest version 4.8.8.1.
There is an issue with the main menu on desktop screens, an additional text item named Menu appears at the right side. When clicked a flyout menu appears including the second level navigation items that would usually be a dropdown on larger screens.
I suspect the extra text Menu item is mean to be the Burger icon but I can’t figure the correct settings to use.
The page source shows the extra text Menu item is currently
<li class="av-burger-menu-main menu-item-avia-special "> <a href="#" aria-label="Menu" aria-hidden="false"> <span class="av-hamburger av-hamburger--spin av-js-hamburger av-inserted-main-menu is-active"> <span class="av-hamburger-box"> <span class="av-hamburger-inner"></span> <strong>Menu</strong> </span> </span> <span class="avia_hidden_link_text">Menu</span> </a> </li>Can anyone suggest how configure Enfold so that
- On desktop the Main Menu shows as text with some dropdowns on hover
- On mobile the Main Menu is a Burger icon with Flyout on tap
Enfold Settings
Enfold > Theme Options > Main Menu: Menu Items for Desktop = Display as icon
Enfold > Theme Options > Main Menu: Burger/Mobile Menu
Menu Icon Submenu items = Display submenu items on click
Menu Icon Style = Default
Menu Overlay Style = Sidebar Flyout Menu (Classic)Environment
WordPress 5.8.2
PHP 7.4.27
Enfold 4.8.8.1
Plugins
Classic Widgets
Enable jQuery Migrate Helper
WP Super Cache (cache is deleted after each update to Enfold Settings)
Cloudflare DNS with proxy/cache disabledProduction and staging urls supplied in Private Content.
Hello!
KRIESI support already told that the problem is not because ENFOLD Theme, we have contacted WPML Support,
the answer — it is not because WPML, please contact theme author… Hope to find a solution to resolve this problem.We use the latest WordPress, WPML, ENFOLD Theme and PHP8.
Everything works fine till we switch on WMPL plugins.Then our site works extremely slow and also there is an error like:
cURL error 28: Connection timed out after 5001 millisecondsURL: /wp-content/uploads/dynamic_avia/avia-merged-styles-492532152474f1e5ddf8fda33466a455—61d4233e73d3d.css
aviaAssetManager->generate_file()
wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-asset-manager.php:588
aviaAssetManager->merge()
wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-asset-manager.php:214
aviaAssetManager->try_minifying_scripts()
wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-asset-manager.php:101
do_action(‘wp_enqueue_scripts’)
wp-includes/plugin.php:470
wp_enqueue_scripts()
wp-includes/script-loader.php:2083
do_action(‘wp_head’)
wp-includes/plugin.php:470
wp_head()
wp-includes/general-template.php:3015
load_template(‘wp-content/themes/enfold/header.php’)
wp-includes/template.php:770
locate_template()
wp-includes/template.php:716
get_header()
wp-includes/general-template.php:48please let me know if this error is already known? I hope on your help resolving this issue!
Topic: Duplicate H1
Hi,
Enfold creates duplicate H1-tags. One is the one you write yourself, and the other seems to be auto-generated. This issue has come up before and has been answered: (https://kriesi.at/support/topic/duplicate-h1-tags-in-posts/#post-1116054)The OP in the previous thread is asked to remove the code line
$echo title;
Which seems to be a working sollution. But it appears twice in encludes -> Loop-index.phpFirst one appears in line 314 and looks like this:
if ( in_array( $blog_style, array( 'bloglist-compact', 'bloglist-excerpt' ) ) ) { echo $title; } else...The other appears later in the code, at line 371 and looks like this:
echo $title; if( $blog_style !== 'bloglist-compact' ) { echo "<span class='post-meta-infos'>";I’m including surrounding code for reference.
Do I remove one of them or both?
Kind regards,
DavidHi at all,
I’m using your theme in one of my clients website. Currently the website use a 7.2 php version and I want switch them to php 8.
So I made a copy of the website migrate it to a staging system on XAMPP.
The migration via duplicator run normally but at the end when I want to go to the login I reveived the following message:“Fatal error: Unparenthesized
a ? b : c ? d : eis not supported. Use either(a ? b : c) ? d : eora ? b : (c ? d : e)in C:\xampp\htdocs\zr1\wp-content\themes\enfold\functions-enfold.php on line 324″I found your threat at “https://kriesi.at/support/topic/deprecated-unparenthesized-a-b-c-d-e-is-deprecated/” and I also made this changes. After this changes I reveived the following message:
Fatal error: Uncaught Error: Attempt to modify property “config” on null in C:\xampp\htdocs\zr1\wp-content\themes\enfold\config-templatebuilder\avia-shortcodes\slideshow_layerslider\slideshow_layerslider.php:28 Stack trace: #0 C:\xampp\htdocs\zr1\wp-content\themes\enfold\config-templatebuilder\avia-template-builder\php\shortcode-template.class.php(65): avia_sc_layerslider->shortcode_insert_button() #1 C:\xampp\htdocs\zr1\wp-content\themes\enfold\config-templatebuilder\avia-template-builder\php\template-builder.class.php(1305): aviaShortcodeTemplate->__construct(Object(AviaBuilder)) #2 C:\xampp\htdocs\zr1\wp-content\themes\enfold\config-templatebuilder\avia-template-builder\php\template-builder.class.php(427): AviaBuilder->createShortcode() #3 C:\xampp\htdocs\zr1\wp-includes\class-wp-hook.php(303): AviaBuilder->init(”) #4 C:\xampp\htdocs\zr1\wp-includes\class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array) #5 C:\xampp\htdocs\zr1\wp-includes\plugin.php(470): WP_Hook->do_action(Array) #6 C:\xampp\htdocs\zr1\wp-settings.php(578): do_action(‘init’) #7 C:\xampp\htdocs\zr1\wp-config.php(134): require_once(‘C:\\xampp\\htdocs…’) #8 C:\xampp\htdocs\zr1\wp-load.php(50): require_once(‘C:\\xampp\\htdocs…’) #9 C:\xampp\htdocs\zr1\wp-blog-header.php(13): require_once(‘C:\\xampp\\htdocs…’) #10 C:\xampp\htdocs\zr1\index.php(17): require(‘C:\\xampp\\htdocs…’) #11 {main} thrown in C:\xampp\htdocs\zr1\wp-content\themes\enfold\config-templatebuilder\avia-shortcodes\slideshow_layerslider\slideshow_layerslider.php on line 28
Es gab einen kritischen Fehler auf deiner Website.Erfahre mehr über die Problembehandlung in WordPress.
So I don’t know what to do. And I’m not sure if I can migrate the site to php 8? Thanks for your help
Through e-mail I got the message about a technical error.
Een fout van het type E_ERROR werd veroorzaakt op regelnummer 311 van het bestand /data/www/agsarchitects.net/www/wp-content/themes/enfold/includes/admin/option_tabs/avia_blog.php. Foutmelding: Uncaught ValueError: Unknown format specifier "S" in /data/www/agsarchitects.net/www/wp-content/themes/enfold/includes/admin/option_tabs/avia_blog.php:311 Stack trace: #0 /data/www/agsarchitects.net/www/wp-content/themes/enfold/includes/admin/option_tabs/avia_blog.php(311): sprintf() #1 /data/www/agsarchitects.net/www/wp-content/themes/enfold/includes/admin/register-admin-options.php(293): include('...') #2 /data/www/agsarchitects.net/www/wp-content/themes/enfold/framework/php/class-superobject.php(246): include('...') #3 /data/www/agsarchitects.net/www/wp-content/themes/enfold/framework/php/class-superobject.php(197): avia_superobject->_create_option_arrays() #4 /data/www/agsarchitects.net/www/wp-content/themes/enfold/framework/php/class-superobject.php(146): avia_superobject->init() #5 /data/www/agsarchitects.net/www/wp-content/themes/enfold/framework/php/class-superobject.php(482): avia_superobject::instance() #6 /data/www/agsarchitects.net/www/wp-content/themes/enfold/framework/avia_framework.php(108): AviaSuperobject() #7 /data/www/agsarchitects.net/www/wp-content/themes/enfold/functions.php(196): require_once('...') #8 /data/www/agsarchitects.net/www/wp-settings.php(546): include('...') #9 /data/www/agsarchitects.net/www/wp-config.php(122): require_once('...') #10 /data/www/agsarchitects.net/www/wp-load.php(50): require_once('...') #11 /data/www/agsarchitects.net/www/wp-admin/admin.php(34): require_once('...') #12 /data/www/agsarchitects.net/www/wp-admin/index.php(10): require_once('...') #13 {main} thrownTrying to login I get a message about a critical error, I guess the error above; this makes me unable to login.
I’ve seen some related posts, and tried this: https://kriesi.at/support/topic/critical-error-9/#post-1327504
I cleared browser cache, but it does not make any difference, the error is still there.
May be because of server cache? But I don’t know how to clear that…Really stuck…
Hello Kriesi
Enfold version: 4.8.8.1
Footer is not displayed,
Wordpress is up to date – PHP version 8.0.13
PLUGINS:
– Yoast Duplicate Post – Rank Math SEO – Optimus – Honeypot for Contact Form 7 – GA Analytics Germanized – Email Address Encoder – Contact Form 7 – All In One WP Security
I also installed Embed Calendly for a short time but uninstalle it again.
Widgets footer column1 and column2 and column3 are activated
Footer in the theme options “show footer widgets & sockets”
Lines with the text “Embed” appear in the HTML code. Could it be that there are still lines from the Embed Calendly plugin that interfere with the theme?
I don’t know what to do next …
Do you have any idea what could be the cause?
Greetings Holger from GermanyDear Enfold developers,
I have 6 licences of enfold and 5 sites are productive now, i hope you can support me even if the support period is not valid.I have 2 questions …
First is maybe a bug, i get following errors:
Notice: Undefined variable: the_id in /var/www/vhosts/lueftenegger-architextur.at/httpdocs/wp-content/themes/enfold/footer.php on line 48
Notice: Undefined variable: the_id in /var/www/vhosts/lueftenegger-architextur.at/httpdocs/wp-content/themes/enfold/footer.php on line 73
Notice: Undefined variable: the_id in /var/www/vhosts/lueftenegger-architextur.at/httpdocs/wp-content/themes/enfold/footer.php on line 85It was fixed in footer.php in child-theme around line 47 …
/**
* Allows 3rd parties to change page id’s, e.g. translation plugins
*/
$post = AviaCustomPages()->get_custom_page_object( ‘footer_page’, ” );
// gerald: hack 18.12.2021: fix theme
if ( !isset($the_id )) {
$the_id = get_the_ID();
}
// end hack 18.12.2021: fix theme
if( ( $post instanceof WP_Post ) && ( $post->ID != $the_id ) )
{The second thing would be a little modification to the masonry grid. I would need the category description showing up when sorting via thecategory filters above the image bricks.
I have tried to code that, in the av-helper-masonry.php (line 438 – 559 and 583 – 588) in the enfold-child shortcodes folder but the text loads or updates only on second click. Maybe you can help me at this point, it is hard for me to understand the code, what the js does and the lots of css classes and ids in the masonry.
KR,
GeraldDear Sir or Madam,
after the last update I suddenly have problems with the breadcrumb
attached the error message
Fatal error: Uncaught Error: Call to undefined function avia_breadcrumbs() in /www/htdocs/xxx/xxx/wp-content/themes/enfold-child/functions.php:62 Stack trace: #0 /www/htdocs/xxx/xxx/wp-content/themes/enfold/template-builder.php(43): avia_title() #1 /www/htdocs/xxx/xxx/wp-includes/template-loader.php(106): include(‘/www/htdocs/w01…’) #2 /www/htdocs/xxx/xxx/wp-blog-header.php(19): require_once(‘/www/htdocs/w01…’) #3 /www/htdocs/xxx/xxx/index.php(17): require(‘/www/htdocs/w01…’) #4 {main} thrown in /www/htdocs/xxx/xxx/wp-content/themes/enfold-child/functions.php on line 62
Line 62 from function.php
if($breadcrumb) $additions .= avia_breadcrumbs(array(‘separator’ => ‘/’, ‘richsnippet’ => true));Danke
Gday Enfold support,
We recently bought the Enfold theme and applied to our website, which had used a default WordPress theme for years.
However, the Enfold theme is not working as anticipated. We have used Enfold multiple times in other websites, and even on the same server, but this installation is not working. We have disabled all plugins (see screencast in private content field). We have also given admin access, see private field.
WE have also reinstalled Enfold. We have also reinstalled WordPress. None of these things have helped. Perhaps when you look it will be obvious to you what the issue is.
We are also running PHP 7.4 but have tested on 8.0 as well.
Memory allocation is at 512M.
Please can you also cc any responses (if possible) to our developer, whose email is also in the private field.
Thanks for any help you can provide us, much appreciated.Hi there,
I want to change the links on the social media share icons.
For example the link to Facebook – after clicking the Facebook icon, I want to open a popup and let people know that they are leaving my page.Ygit made a suggestion in answer #783467 that doesn’t work on my website.
I put this code on the functions.php:add_filter(‘avia_social_share_link_arguments’, ‘avia_add_social_share_link_arguments’, 10, 1);
function avia_add_social_share_link_arguments($args)
{
$args[‘facebook’][‘pattern’] = “http://kriesi.at”;
$args[‘twitter’][‘pattern’] = “http://kriesi.at”;
$args[‘gplus’][‘pattern’] = “http://kriesi.at”;
$args[‘pinterest’][‘pattern’] = “http://kriesi.at”;
return $args;
}Do I have to pay attention to anything else?
Do you can help me?Best regards
Grobi






