Prfect, that’s what I needed, but now everything has changed ….
please help me understand …
from now I can work daily on the child theme and all the changes will be automatically assimilated even in the parent theme? .. but in live there is the son theme?
and if something goes wrong how can I not make the changes effective?
and what about updates and important changes, such as the update of enfold 4.5.1 where do I install it? on the child theme, on the parent theme or both?
I have updated from the subject Child and I see that even the parent seems updated, however I have disappeared the previews in the research ajax that I had put through css recommended by you, how can I make them reappear?
.
I do not know how to proceed with the daily work .. Thanks
-
This reply was modified 7 years, 3 months ago by
Marco.
Hi
Nope – I didn’t – I did add some code I found on Relevansi’s site
/**
* Making Search work better with RELEVANSSI
*/
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;
}
add_filter( 'relevanssi_modify_wp_query', 'rlv_meta_fix', 99 );
function rlv_meta_fix( $q ) {
$q->set( 'meta_query', array() );
return $q;
}
But no diff…
I activated relevansi plugin again and tried your code for Enfold – Now search is BROKEN again (With or without the Relevansi code above?? :-(
Now we are back to the beginning of the error – The Ajax Dropdown works again on https://BizDoktor.dk but the search page shows NADA :-(((
I have set the “6” into line 1328 and removed all the relevansi scripts/code (yours and the above) in functions.php and disabled relevansi so we have a clean Enfold site (relative clean…)
No search page result is working (perhaps the update(s) to day did something?
(I dont plan to update to WP5.0 or Enfold 4.5.1 yet)
NOW: (Update)
SEARCH PAGE WORKS!!! Ajax dropdown works? ??? !!! ??? :-)))
Am I dreaming?
It must be your magic – only diff is the “6” in line 1328
No relevanssi – no code in functions.php ?? Pure Kebab ??
-
This reply was modified 7 years, 3 months ago by
Netzie.
Hi,
Thanks for the update. The ajax search is still not working on my end. Did you add this snippet after installing relevanssi?
// https://kriesi.at/documentation/enfold/search/#use-relevanssi-in-search-instead-of-the-default-search
Please disable it temporarily.
Best regards,
Ismael
The extra options are from the Remove HTTP plugin – but I have deactivate all plugins and redirect persists ( that was first thing I tried – I removed the entire plugin folder).
As per my original post – if I try to change the WordPress Address URL or the Site Address from https://ausmotorsearch.com.au to https://www.ausmotorsearch.com.au the theme refuses to save the changes. If I change themes I can change these settings and then www works.( both www and non work) ..as soon as I return to Enfold theme the URL return to https://ausmotorsearch.com.au and the redirect is enforced.
The www. http status code response is below .. I am wondering about the location of that set-cookie request
HTTP/1.1 301 Moved Permanently
Date: Thu, 06 Dec 2018 06:13:36 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Set-Cookie: PHPSESSID=9738f7be35e396c0642aadb3de7c01f0; path=/
Location: https://ausmotorsearch.com.au/
Vary: User-Agent
Content-Length: 0
Content-Type: text/html; charset=UTF-8
Hi,
Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child theme’s style.css file:
CSS Snippet:
@media only screen and (max-width: 767px) {
.html_elegant-blog #top.search.search-results .post-entry .post-title {
font-size: 14px;
}}
Best regards,
Yigit
Hello
i see that the Enfold Ajax Search don’t find Woocommerce products after installing Polylang Basic
do you know why ?
i asked Polylang but no answer
thxs for your help
Hi
I have Enfold installed on site ausmotorsearch.com.au – I have been trying to find an annoying 301 redirect that forces the site to non www.
After many many hours of searching .htaccess http.conf – etc I discovered that Enfold does allow me to change site URL in Settings.- but it refuses to save the change. If I activate another theme I can make the change to Site URL and the 301 redirect is removed. But I then activate Enfold the site URL reverts to the non www URL and the redirect is back in. Can you point me to the file/code that would be triggering this.
Thanks
Andrew
Hi Sachasilvestri,
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
.ajax_search_excerpt {
display: none;
}
If you need further assistance please let us know.
Best regards,
Victoria
I search for the location in Google Maps and then get the latitude and longitude from Google Maps
When I enter these values in Enfold in the Map it shows approx 30 meters away!
Dear Kriesi Team
In the data loop-search.php (\wp-content\themes\enfold\includes\loop-search.php) is one function not correct and we have to change it every time, when we make an update of the theme Enfold.
Maybe you can change it in a next version?
Use <?php the_time( get_option( ‘date_format’ ) ); ?> to add the date set in the admin interface.
Thank you and kind regards,
Barbara Aeschlimann
Hi team,
Once again, absolutely love the theme! It’s always been our go to option for most clients on WP unless they have something to do with custom WooCommerce layouts.
One of our recent clients wanted to showcase their products WITHOUT actually selling them online and in a wink, we decided to go the Enfold route and have built the dev site using the Portfolio Items to create the product category / subcategory and the products. While the site turned out the client’s satisfaction, we’ve come to a dead end with one of the requests – to bring the portfolio sub-category filters to the sidebar and not on the top.
I’ve been searching through the forums but
1. Don’t see a recent post – at least nothing on the current build version
2. Have tried some recommendations and the one that has come closest to a functioning solution is http://docs.designsandcode.com/search-filter/ but it fails to work in hierarchy.
Please can you suggest if there’s something I’m missing out on? Or what could I try to bring in the sub-category for each of the sub-category pages to the sidebar.
/Users/jackiemeudt/Desktop/CurrentlyLooksLike.png
/Users/jackiemeudt/Desktop/mathc this.png
Hi Victoria,
I just dragged and dropped the screenshots, so hope you can see what I’m trying to match?
I just reposted another request for help, as I haven’t been able to get what I want at the top of the page effect with the photo going on both sides of the color bar. I hope you or someone can help me with the Enfold Child Theme. I’ve been struggling for days on searching and trying to figure this out.
Any suggestions greatly appreciated!! Thank you,
Jackie
Google seems to be a lot tougher on the mobile score than the desktop. Looks to me like a lot of websites rank lower on the new mobile scoring system.
On my personal enfold site tho with just WP- rocket installed I’m getting 90 mobile and 100 desktop. I was getting much lower prior to optimizing images, minifying and deferring css and java, etc.
Try some more of the suggestions it gives you to increase score.
Even testing google.com they rate themselves 100 desktop and 91 mobile, and there’s nothing even on their search page… take it with a grain of salt.
-
This reply was modified 7 years, 3 months ago by
Brutalben.
Hi Sachasilvestri,
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
.search.search-results .search-result-counter {
width: 180px;
height: 180px;
}
.html_elegant-blog #top.search.search-results .post-entry .post-title,
.html_elegant-blog #top.search.search-results .post-entry .post-meta-infos {
margin-left: 160px;
}
.search.search-results .template-search .entry-content-wrapper .entry-content {
padding-left: 160px;
}
If you need further assistance please let us know.
Best regards,
Victoria
Hi there,
Please find attached the error messages I keep getting when trying to update Enfold theme form 4.2 to 4.5.
Any advice would be greatly appreciated.
Warning: preg_match() expects parameter 2 to be string, array given in /home/searchd9/public_html/wp-admin/includes/class-wp-upgrader.php on line 258
Warning: file_exists() expects parameter 1 to be a valid path, array given in /home/searchd9/public_html/wp-admin/includes/class-wp-upgrader.php on line 258
Warning: strip_tags() expects parameter 1 to be string, array given in /home/searchd9/public_html/wp-admin/includes/class-bulk-upgrader-skin.php on line 61
Downloading update from …
Warning: parse_url() expects parameter 1 to be string, array given in /home/searchd9/public_html/wp-admin/includes/file.php on line 970
Warning: preg_split() expects parameter 2 to be string, array given in /home/searchd9/public_html/wp-includes/kses.php on line 1325
Warning: strtolower() expects parameter 1 to be string, array given in /home/searchd9/public_html/wp-includes/http.php on line 517
Warning: strtolower() expects parameter 1 to be string, array given in /home/searchd9/public_html/wp-includes/http.php on line 517
Hi Nikko,
I don’t own the LayerSlider plugin and got it through Enfold, so I can’t update it myself.
I think it’s weird that you’re bundling a plugin, but not maintaining it (or do I not get you right?).
What if a real vulnerability is found in the plugin?
According to wpvulndb.com LayerSlider had some vulnerabilities in the past, although it’s only sporadically.
Hey,
Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child theme’s style.css file:
CSS Snippet:
#top .av_mobile_menu_tablet .av-main-nav .menu-item.menu-item-search-dropdown {
display: block!important;
}
It is currently hidden because you have following custom CSS code
@media only screen and (max-width: 1300px) {
#top .av_mobile_menu_tablet .av-main-nav .menu-item {
display: none!important;
}}
Best regards,
Yigit
Dear guys,
after changing our website to https there is a lot of mixed content alert, especially fonts are loaded over http
but for example also the facebook image ‘fake_facebook.jpg’ from Enfold images is loaded via http
After searching here, I installed Really simple SSL, but it didnt help.
If I open the site in firefox, fonts are not loaded at all.
Can you guys please help me??
I will add my credentials so you can look into it.
Thanks, TanSmi
GTMetrix is not down its your theme issue because its still showing error in GTMetrix as 404
Please check and resolve it for me
in Google Search Console unable to index site its showing errors as below
1. Error Text too small to read
2. Error Clickable elements too close together
3. Error Viewport not set
4. Error Content wider than screen
affected pages are
https://guesthousepk.com/wp-content/themes/enfold/framework/images/icons/
https://guesthousepk.com/wp-content/themes/enfold/framework/php/font-management/
Please check and fix the issue
Hi,
I used one of the demos for my Enfold site
when i run it through the google search console test to see if it is mobile friendly, it says it is not.
https://search.google.com/test/mobile-friendly?id=TsFQ28qkOp_e-DC_J-T32A
I haven’t messed around with it much, and it seems surprising that one of your theme demos isn’t.
Can you help?
I notice that when I look at my site on my samsung s8 phone, the sidebar doesn’t show at all, not even at the end of the content. So maybe that’s an issue?
Thank you!
Hello Enfold Team!
My site has a Header Meta bar at the top which displays some text on the left and the Secondary Menu on the right. The main menu is in the bar below that.
I am trying to append a Login/Logout link to the Main Menu, right before the Search icon. I have been able to do that with the code attached, but now the Secondary Menu is gone. Am I taking the right approach, and is there something wrong with the code or a conflict with the Priority 9996?
And where do we see a list of function Priorities?
Thanks for everything!
/* LOGIN MENU */
//first append search item to main menu
add_filter( 'wp_nav_menu_items', 'avia_append_login_menu', 9996, 2 );
add_filter( 'avf_fallback_menu_items', 'avia_append_login_menu', 9996, 2 );
function avia_append_login_menu ( $items, $args )
{
if(avia_get_option('header_position', 'header_top') != "header_top") return $items;
if ((is_object($args) && $args->theme_location == 'avia') || (is_string($args) && $args = "fallback_menu"))
{
global $avia_config;
ob_start();
if( is_user_logged_in() ) {
$user = wp_get_current_user();
$listclasses = "noMobile open-login menu-item menu-item-avia-special";
$greeting = "Hi, ".esc_html($user->user_firstname)."!";
$dashboardUrl = get_dashboard_url();
$logoutUrl = wp_logout_url( home_url() );
if( !current_user_can( 'administrator' ) && !is_admin() ) {
$submenu = '<a>My Profile</a>';
} else {
$submenu = '<a href="'.$dashboardUrl.'">Dashboard</a>';
}
$logout = '<a href="'.$logoutUrl.'">Logout</a>';
$loggedIn = <<<LOGGEDIN
<li class="$listclasses $class">
<a href="#">
<span class="btn-text">
$greeting
</span>
<span class="btn-icon">
<span class="dashicons dashicons-admin-users"></span>
</span>
</a>
<ul class="sub-menu">
<li>
$submenu
</li>
<li>
$logout
</li>
</ul>
</li>
LOGGEDIN;
} else {
$listclasses = "noMobile open-login lrm-login menu-item menu-item-avia-special";
$loggedOut = <<<LOGGEDOUT
<li class="$listclasses $class">
<a href="#">
<span class="btn-text">
Log In
</span>
<span class="btn-icon">
<span class="dashicons dashicons-admin-users"></span>
</span>
</a>
</li>
LOGGEDOUT;
}
if( is_user_logged_in() ) {
$items .= $loggedIn;
} else {
$items .= $loggedOut;
}
return $items;
}
}
Hey medienvirus,
Thank you for using Enfold.
It looks like a query for item filter. Did you install any plugins or add any scripts for that? What happens when you mark that url as solved in your google search console?
Best regards,
Ismael
Hey RonicsFotografie,
Try adding this css code in Quick CSS (located in Enfold > General Styling):
#top .main_color .input-text,
#top .main_color input[type='text'],
#top .main_color input[type='input'],
#top .main_color input[type='password'],
#top .main_color input[type='email'],
#top .main_color input[type='number'],
#top .main_color input[type='url'],
#top .main_color input[type='tel'],
#top .main_color input[type='search'],
#top .main_color textarea,
#top .main_color select {
background-color: white;
color: black !important;
}
Hope it helps.
Best regards,
Nikko
Hey Victoria,
thanks for your answer. But I don’t found the code to change the post create date. I search for this HTML-Tag:
<time class="slide-meta-time updated" itemprop="datePublished" datetime="2018-11-11T13:23:56+00:00">11. November 2018</time>
in the footer-Section from article (class=”slide-entry”)
I found these HTML-Tag in /enfold/config-templatebuilder/avia-shortcodes/postslider/postslider.php.
I have copied this PHP-File into my Enfold-Child-Theme and change the code but no changes are on the frontpage.
When I change this file in original enfold-theme-folder it works.
What am I doing wrong?
Second question:
When I use get_post_modified_time() or get_post_modified_date()-Wordpress-function the date in the post-footer is the same in all posts (3. May 2018) but there is not the correct modified-date. The original code with get_the_time()-function places the correct create-date from the post.
How can I use the correct modified-date?
Best regards,
Jörg
-
This reply was modified 7 years, 4 months ago by
jaderbass. Reason: Second question added
Hey Max,
Go to Enfold > Main Menu > General (tab), then check Append search icon to main menu.
Hope this helps.
Best regards,
Nikko
cgParticipant
hi there,
i have set a custom 404-page withhin the enfold-settings in a child theme.
theme > options > custom error 404 page
Before the update, when entering a “wrong” url, the content of that page was shown and a HTTP status 404 was send back to the client. The URL in the address field of the browser didn’t change. Everything ok and correct.
But now, with Enfold 4.5, a not existing url is been redirected with a status ‘302’ to the custom error page url with a status ‘200’ … thats not good … and might cause problems with search bots / the google index.
Test-URL (test with httpstatus.io): https://tabulor.de/hello/test

-
This topic was modified 7 years, 3 months ago by
cg.
Hi Petra_MUC,
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: 1250px) {
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
Hello, just today I purchased a new license and downloaded a fresh copy of the Enfold theme and installed it. for some reason the site goes to a totally white screen when I activate Woocommerce though. to fix it I must rename the woo plugin folder and then ensure it gets deactivated.
is there any way you can tell what is going wrong here? I am at a loss.
I did not see a post on this particular issue after searching a good bit, but if there is one already out there, I very much apologize!
Kind Regards,
Chad
Hi,
I’ve sorted that out – thanks. It was the fact that I rename my theme installations to know which version I have uploaded. Renaming the Enfold directory from Enfold44 to Enfold allowed the child theme to lock on to it :)
However, I still seem to have the problem of google not indexing my images in portfolio pages.
I have added the two pieces of code from this link https://kriesi.at/support/topic/how-to-make-images-in-masonry-gallery-to-be-indexed-in-seo-yoast-sitemap/#post-832007
to the Enfold child theme’s functions.php
To test it, I ran an Indexing request using my Google Search Console on a portfolio page – http://albino-igil.com/blog/portfolio-item/kitchen-addition/
With images having the title ‘extension’ in the file name, searching for images on google for “albino igil extension” brings up plenty of old images, but none of the new ones. I really need the new images from the website to be indexed by google – the old Brightbox theme seemed to do this flawlessly – any idea why my Enfold install isn’t?
I use Yoast SEO – but have never paid for the Premium version as I have never needed to.
I also found this problem on my website, but I don’t know how to solve it. I hope the Enfold team can pay attention to this serious problem.
In Google Search Console there is notification about mobile usability for my website
– clickable elements too close together,
– text to small to read.