I updated my Enfold theme through WordPress to the latest version, and immediately afterwards I got this error:
Fatal error: Call to undefined function apply_filters_deprecated() in /home/ktbpho6/public_html/wp-content/themes/enfold/framework/php/class-framework-widgets.php on line 2234 and my wp-admin page simply shows up blank.
Which I then searched on here, and a few answers said to update PHP to at least 5.6. After doing that, I got the same error. So I then updated PHP to 7.0 and instead got this error:
Fatal error: Uncaught Error: Call to undefined function apply_filters_deprecated() in /home/ktbpho6/public_html/wp-content/themes/enfold/framework/php/class-framework-widgets.php:2234 Stack trace: #0 /home/ktbpho6/public_html/wp-includes/widgets.php(560): avia_instagram_widget->__construct() #1 /home/ktbpho6/public_html/wp-includes/widgets.php(681): WP_Widget_Factory->register(‘avia_instagram_…’) #2 /home/ktbpho6/public_html/wp-content/themes/enfold/functions.php(646): register_widget(‘avia_instagram_…’) #3 /home/ktbpho6/public_html/wp-content/themes/enfold/functions.php(650): avia_register_avia_widgets() #4 /home/ktbpho6/public_html/wp-settings.php(329): include(‘/home/ktbpho6/p…’) #5 /home/ktbpho6/public_html/wp-config.php(99): require_once(‘/home/ktbpho6/p…’) #6 /home/ktbpho6/public_html/wp-load.php(29): require_once(‘/home/ktbpho6/p…’) #7 /home/ktbpho6/public_html/wp-blog-header.php(12): require_once(‘/home/ktbpho6/p…’) #8 /home/ktbpho6/public_html/index.php(17): require(‘/home/ktbpho6/p…’) #9 {main} t in /home/ktbpho6/public_html/wp-content/themes/enfold/framework/php/class-framework-widgets.php on line 2234
And my wp-admin page still comes in as blank.
Please help!!
-
This topic was modified 7 years, 9 months ago by
gtsomething.
Hi hybridE4t,
Here is the code you can put in Enfold > General Styling > Quick Css, if it does not work, put into themes/enfold/css/custom.css
@media only screen and (max-width: 1024px) {
nav.main_menu, #menu-item-search {
display: block !important;
}
.menu-item {
display: none;
}
.av-burger-menu-main.menu-item-avia-special {
display: block;
}
}
If you need further assistance please let us know.
Best regards,
Victoria
Hey Joakim,
Copy the file wp-content/themes/enfold/includes/loop-index.php to your child theme folder (the file path should be wp-content/themes/enfold-child/includes/loop-index.php). Then open up the copied file and search for
echo "<div class='blog-meta'>";
(should be around line 139). You can add your ad banner code above this code line.
Best regards,
Dude
-
This reply was modified 7 years, 9 months ago by
Dude.
Hi,
As far as I know you can use Relevanssi to enhance the product search ( https://www.relevanssi.com/user-manual/woocommerce/ ). You can also combine it with the ajax search function of enfold by adding this code to your child theme functions.php file:
add_filter('avf_ajax_search_function', 'avia_init_relevanssi', 10, 4);
function avia_init_relevanssi($function_name, $search_query, $search_parameters, $defaults)
{
$function_name = 'avia_relevanssi_search';
return $function_name;
}
function avia_relevanssi_search($search_query, $search_parameters, $defaults)
{
global $query;
$tempquery = $query;
if(empty($tempquery)) $tempquery = new WP_Query();
$tempquery->query_vars = $search_parameters;
relevanssi_do_query($tempquery);
$posts = $tempquery->posts;
return $posts;
}
Best regards,
Dude
Hi. I recently purchased and installed Enfold onto my WordPress site. Since doing this, I haven’t been able to save any changes. I’ve tried changing the color scheme, the layout, installing demo site. No matter which change I try to make I get one of two error messages; “Saving Didn’t Work. Please Reload The Page And Try Again” or “Importing didn’t work. You may want to try reloading the page and try again”.
This has been a pretty frustrating experience. I contacted my web guy, who researched the issue, and made some edits to the server in regards to permissions, but it still didn’t help. I then disabled and deleted every plugin I had on the site to see if it was a compatibility issue. I’m still not able to make any edits.
Hi there
Just moved a site to a new hosting space, upgrading Enfold at the same time. The accordian elements on the site were functioning perfectly during installation testing but immediately after the domain transfer, the controls ceased functioning (must be a coincidence?), so the accordians display with all toggles open (and uncloseable) no matter what settings are given to them … see example page link in private content. The settings should be 1 toggle open on loading, multiple toggles open allowed (these are currently set but having no effect).
WP 4.9.7, Enfold 4.4.1 … only plugins are benign (Duplicate Post, Search Exclude)
Have tried: setting up a new page with only an accordian on it, dumping the browser cache and reloading, viewing in other browsers … none of these had any effect.
Ideas?
Many thanks
Hi,
i can help you, but for me the question is: where enfold told wordpress to use the compressed and merged files instead of the normal?
It’s in the config-templatebuilder > avia-template-builder > asset-manager.class.php > “try_minifying_scripts” function. It fails to generate the merged file. You can use the Autoptimize or the BWP Minify plugins temporarily while we debug the issue.
In the database > _options table, please search for and delete the “aviaAsset_avia-merged-styles” and “aviaAsset_avia-head-scripts” entries. Toggle the theme options again to regenerate the merged scripts and stylesheets. Let us know if it helps.
Best regards,
Ismael
Hey NicomIT,
Thank you for using Enfold.
You can use the “wp_nav_menu_items” filter in the functions.php file to append the search icon to the secondary menu.
add_filter( 'wp_nav_menu_items', 'avia_append_search_nav', 10, 2 );
add_filter( 'avf_fallback_menu_items', 'avia_append_search_nav', 10, 2 );
function avia_append_search_nav ( $items, $args )
{
if ((is_object($args) && $args->theme_location == 'avia2') || (is_string($args) && $args = "fallback_menu"))
{
global $avia_config;
ob_start();
get_search_form();
$form = htmlspecialchars(ob_get_clean()) ;
$items .= '<li id="menu-item-search2" class="noMobile menu-item menu-item-search-dropdown">'.$form.'</span> ';
}
return $items;
}
Best regards,
Ismael
Hey newki75,
Thank you for using Enfold.
You can’t use a transform property on a content element. There is a reversed phone icon on fontello.com — just look for “phone” in the search field. You can use that to replace the default phone icon.
Best regards,
Ismael
Hi,
I did some research and I think I found the solution in the enfold docummentation.
I added the following code to the function.php of the child theme:
//-------------------------------
// Custom script in footer
//-------------------------------
function custom_script_name(){
?>
<script>
// Your script here
</script>
<?php
}
add_action('wp_footer', 'custom_script_name');
Could you just please confirm that this is the right way to do it?
The script appears in the source code, but unfortunately the Amazon OneClick functionality doesn’t work yet how it is supposed to do.
Hey darnott75,
Thank you for using Enfold.
The solution in the following thread should help you add a search field inside the mobile menu.
// https://kriesi.at/support/topic/search-field-on-mobiles-has-been-disappeared-after-last-enfolds-update/#post-925174
Best regards,
Ismael
Hi!
How can I change the colour on the search results page with Quick CSS?
I like to have the SEARCH functionality – but is there a possibility that results shown are only blog related?
Thank you in advance! Enfold support rocks!
Kind regards
capuchin
Dear Enfold team,
I’ve just bought the last plugin version of the Layerslider (6.7.1).
I did “activated it”. But it did’nt “installed it” and I’m still with my 2016 Layerslider version
Here the issue message I got:
“Install Location: Non-standard Using LayerSlider from a non-standard install location or having a different directory name could lead issues in receiving and installing updates. Commonly, you see this issue when you’re using a theme-included version of LayerSlider. To fix this, please first search for an option to disable/unload the bundled version in your theme, then re-install a fresh copy downloaded from CodeCanyon. Your sliders and settings are stored in the database, re-installing the plugin will not harm them.”
In order to install it could you please validate what I am planning to?
– First whithin Enfold and specially my Enfold Child, I must deactivate the bundled version of the layerslider and keep safe my sliders and settings:
Within Enfold Child / Layout Builder / Integrated (Bundled) LayerSlider Plugin, I have 4 choices possibles:
1) Activate bundled plugin (actual choice)
2) Deactivate but leave plugin files in theme folder
3) Remove theme plugin files only and keep slides
4) Remove theme plugin files and slides
I hesitate between option 2 or 3. What’s best?
Thanks for your advice.
Otherwise, no problem to install Layerslider as an ordinary plugin.
Best regards.
Noemi
PS:
Wordpress version 4.9.7–fr_FR (last)
Enfold version 4.4.1 (last)
PHP Version: 7.0.30
Hello,
I want to change my current page to Enfold-theme, now i’m using the Entrada theme (which i won’t recommend – bigb problems with the support and wpml, css, etc…). In my current theme (entrada), the trips are managed within Woocommerce, and you can manage various travel features that can be used to find travel through a search function (see link).
So my question is: Can i create the trips in Enfold with Woocommerce and is it possible to use a searchbox for the individual products?
I really like to work with enfold by the way and want all of my pages to be based on enfold.
Thanks in advance!
Jan
Hello Ismael and Thank You for your help,
I see what you mean about the month navigation links however, month title I was referring to is displayed above the “Find Events” search bar. My apologies as I should have attached an example when I first opened this thread.
I have included a link to a PDF document showing the difference between the view when using Enfold or Twenty Seventeen, in the private content section.
I am hoping there is a solution to have this month title visible when using the Enfold theme.
Thanks,
Ron
Hey BelIblis,
Please check Enfold Theme Options > Main Menu > General > Append search icon to main menu
to ensure it is checked.
If this doesn’t help, please include a admin login in the private content area so we can take a closer look.
Best regards,
Mike
Hi,
I can’t see the “Search Loupe” in the Navigation/Header.
Running the latest Version of Enfold. Is this something you’ve recently changed – I mean: Do I need to activate the loupe somewhere in the Theme settings?
I double-checked, and there’s definitely no custom CSS activated on the site.
The site is currently in Maintenance mode – so can’t send a link. But happy to share login details with a moderator here if need be.
Thank you!
Hi Dude
I don’t remember where I originally got the code from.
The reason why I used it is, that the T&C phrase is not translated to German (see screenshot in the private field).
– The plugin WoocCmmerce German is installed and activated – but apparently missing this translation
– the page “terms and conditions (AGB) exists and is set
From an extensive Google search I learned that you can edit the T&C text in the customizer.
However: two questions remain:
– the customized text does not have the link the my T&C page (set as “AGB”) – if I add [terms] as shown in the customizer, the English version “terms_and_conditions” shows up.
– at the end of the customized text an asterisk shows up that seems not to serve any purpose and that I’m unable to remove
The relevant code for the TCC text can be found in woocommerce/includes/wc-template-functions.php (lines 738-741):
function wc_get_terms_and_conditions_checkbox_text() {
/* translators: %s terms and conditions page name and link */
return trim( apply_filters( 'woocommerce_get_terms_and_conditions_checkbox_text', get_option( 'woocommerce_checkout_terms_and_conditions_checkbox_text', sprintf( __( 'I have read and agree to the website %s', 'woocommerce' ), '[terms]' ) ) ) );
}
Can you help me on how to add the missing link to my T&C page (AGB)?
My custom T&C line reads ” Ich habe die Allgemeinen Geschäftsbedingungen gelesen und akzeptiere sie”
A link should bring you to the page AGB set as my “T&C” page. .
Can you suggest a way to solve the problem in the Enfold Child theme (functions.php?) instead of modifying the original file?
Best regards,
Bruno
Sources:
https://themeskills.com/edit-woocommerce-terms-conditions-checkbox-text/
https://woocommerce.wp-a2z.org/oik_api/wc_terms_and_conditions_checkbox_text/
PS
My initial statement saying my code worked on a Flashlight site was wrong – I have just double-checked: it shows the same problem)
-
This reply was modified 7 years, 9 months ago by
bruwa.
Hi – I am posting a new message about this issue as we haven’t had a response on https://kriesi.at/support/topic/css-javascript-merging-and-compression/ for a couple of days and it is now important that we get this resolved. The main reason for selecting Enfold were the promised performance benefits which we are not seeing as the files are not being merged.
Searching your forum also finds other users with the same issue:
Can you please respond with some idea of how we start to debug this issue. My original request below.
CSS & Javascript Merging and Compression
I have switched on this option in Enfold theme options but it is not merging or compressing files. There are about 20 shortcode CSS files?
Hi Guys,
I noticed yesterday that I can not change the font sizes in the child options. Likewise the attitudes for the h1 etc. headings. In other words, I can change the values, but they will not appear on the website. I’ve been searching for the error for hours – without success. I disabled my plugins – without success. I am getting desperate.
Update: Another issue:
If I change settings under design / customizer they will be saved but not displayed on the live website.
I’ve cleared the cache, deactivated WP Fastest Cache – no success.
Update 2: I saved the child options via export as a textfile. I change the theme to the parent enfold and activate it, then i delete the child theme. The enfold parent theme works as expected. After testing i install the child theme and import the settings. But no success, the same as before. I am at a loss. I’ve created a Userprofile for Support if someone will help me.
I have no idea what’s going on with my website
Thanks a lot for helping me.
Best regards, Markus
-
This topic was modified 7 years, 9 months ago by
LFK.
Hey fattlco,
Here is the code you can put in Enfold > General Styling > Quick Css, if it does not work, put into themes/enfold/css/custom.css
.html_bottom_nav_header .avia-search-tooltip {
top: -17% !important;
margin-left: 168px;
}
If you need further assistance please let us know.
Best regards,
Victoria
Hey Nicole,
Thank you for using Enfold.
If you enable the search icon Dashboard -> Enfold -> MainMenu -> Append search icon to main menu
the icon should be displayed by default together with the burger menu.
Can you create an admin account for us so we can check the backend?
Best regards,
Günter
Dear Basilis,
the css code is in the child theme… what you mean with i add it back? I just only need to know why it’s not working the code in here: https://kriesi.at/documentation/enfold/social-share-buttons/ I erase it already as it’s not working
is this one:
/*—————————————-
// CSS – Social Share style – 4
//————————————–*/
/* Hide tool tip */
.av-social-sharing-box .avia-related-tooltip {
display: none !important;
}
/* Remove icon border */
#top .av-social-sharing-box .av-share-box ul li {
border-left-style: none;
display: inline-block;
vertical-align: middle!important;
margin: 0 10px 0 0;
}
/* Icon style */
#top .av-social-sharing-box .av-share-link a {
width: 30px!important;
height: 30px!important;
border-radius: 30px:!important;
padding: 3px 0 !important;
}
/* Icon color */
.av-social-sharing-box .av-share-link a:before {
color:#fff;
transition: all .5s ease;
}
/* Icon */
#top .av-social-sharing-box .av-share-link a {
border-radius: 30px;
}
/* Back ground color */
#top .av-social-sharing-box .av-social-link-rss a{color:#fff; background-color:#ffa133; }
#top .av-social-sharing-box .av-social-link-facebook a{color:#fff; background-color:#37589b; }
#top .av-social-sharing-box .av-social-link-twitter a{color:#fff; background-color:#46d4fe; }
#top .av-social-sharing-box .av-social-link-mail a{color:#fff; background-color:#9fae37; }
#top .av-social-sharing-box .av-social-link-dribbble a{color:#fff; background-color:#e44885; }
#top .av-social-sharing-box .av-social-link-linkedin a{color:#fff; background-color:#419cca; }
#top .av-social-sharing-box .av-social-link-search a{color:#fff; background-color:#222222; }
#top .av-social-sharing-box .av-social-link-gplus a{color:#fff; background-color:#de5a49; }
#top .av-social-sharing-box .av-social-link-behance a{color:#fff; background-color:#008cfa; }
#top .av-social-sharing-box .av-social-link-flickr a{color:#fff; background-color:#ff0086; }
#top .av-social-sharing-box .av-social-link-forrst a{color:#fff; background-color:#234317; }
#top .av-social-sharing-box .av-social-link-myspace a{color:#fff; background-color:#000000; }
#top .av-social-sharing-box .av-social-link-tumblr a{color:#fff; background-color:#345574; }
#top .av-social-sharing-box .av-social-link-vimeo a{color:#fff; background-color:#31baff; }
#top .av-social-sharing-box .av-social-link-youtube a{color:#fff; background-color:#a72b1d; }
#top .av-social-sharing-box .av-social-link-pinterest a{color:#fff; background-color:#cb2027; }
#top .av-social-sharing-box .av-social-link-skype a{color:#fff; background-color:#12a5f4; }
#top .av-social-sharing-box .av-social-link-instagram a{color:#fff; background-color:#a67658; }
I’ve started re-building my site now for a month and so far haven’t used a child theme.
Now that I need to add some codes to the header, I see that I should have this.
I followed a tutuorial but can’t seem to get ‘Enfold Child’ to come up under Appearance – Themes.
Will there be any problems with what I’ve created so far if I add a Child Theme now (only made a lot of custom CSS in the dashboard and some changes to functions.php)?
How exactly should I go about adding ‘Enfold Child’ if it’s not coming up when I search it? Is that tutorial outdated?
Is there a better option for added codes to the header?
Please advise, site info in PC.
Hello! I am using Enfold to redesign my library’s website and I am not quite sure how to alter the search feature to allow users to search either the online catalog or the library website. What I want is similar to how The City Library does it. I know it isn’t exactly an Enfold issue, but I am using Enfold, so I thought I’d start here.
I’ve purchased the Enfold theme and I’m trying to upload it to wordpress but it keeps saying “waiting for a response….” and times out. I’ve used Enfold on a previous site and I didn’t have this problem. Any ideas how I can fix this? I’ve been in touch with the web host and they said there isn’t a problem with the site. I really am in a rush with this one. I’ve searched the forums and one answer was to upload via FTP – but I don’t have this option.
Hi,
You can translate the caption of the privacy checkbox without third party plugins – just go to the theme option panel (Enfold > Theme Optionen > Privacy and Cookies) and search for the “Message below template builder contact forms” option field (should be the third option field from the top). There you can replace the default text:
I agree to the terms and conditions laid out in the [av_privacy_link]Privacy Policy[/av_privacy_link]
with any other text like:
Ich stimme der Speicherung und Verarbeitung meiner Daten durch diese Website gemäß [av_privacy_link]Datenschutzerklärung[/av_privacy_link] zu.
Best regards,
Dude
Hi there!
I’m working on a site that is in portuguese (pt-br) and I’m using child theme.
I followed the instructions on https://kriesi.at/documentation/enfold/translation/ about how to make Enfold read the language files in a child theme, but I’m still having problems.
I’d tried using this function that I saw in https://kriesi.at/support/topic/theme-update-and-child-theme/#post-140430:
add_action('after_setup_theme', 'avia_lang_setup');
function avia_lang_setup()
{
$lang = get_stylesheet_directory() . '/lang';<br />
load_child_theme_textdomain('avia_framework', $lang);
}
… and it didn’t worked also.
If you go to my site and try to search something like “asdfasdasdas”, forcing to not find anything, the message is still in english. The same thing on the search page results.
I did the translation using POEDIT and I have put both files (.PO and .MO) in to enfold-child/lang.
What I’m doing wrong? :(
Thanks for helping!
Regards!
Hey afektomer,
I’d suggest to read these guides: https://yoast.com/ultimate-guide-robots-txt/ and https://yoast.com/wordpress-robots-txt-example/ (also see https://yoast.com/robots.txt). Afaik it’s not recommended to block the access to /wp-content/themes/enfold/* folders however this code should work:
User-Agent: *
Disallow: /wp-content/themes/enfold/?*
You need to place the robots.txt file to the wordpress root directory (where the wp-content, wp-includes, etc. folders are located). There’s no other easy solution to block search engines yet.
Best regards,
Dude