-
Search Results
-
Hello enfold support,
we are currently having a problem with our URL slugs.
Our Portfolio URL slug was always “referenzen”, but now we also need that slug as a parent for a spesific page to show “referenzen” in the breadcrumbs.
When we select “referenzen” as a parent, the child page returns a 404 page, but only if Portfolio is already using the slug.I already search around online and it seems I am not the first person who has this problem.
But I am not sure if this is error is because of some conflict or if this is just how enfold behaves?Is there a way to have “referenzen” for both Portfolio and Pages as a parent?
Kind regards
GerryHello Enfold-Team,
I would like to place a big caption (name of each team member) at the bottom of each image (portrait) in the horizontal gallery. I have searched in the forum and placed some code in PHP file:function horizontal_gallery_subline(){
?>
<script>
(function($){
$(window).load(function() {
$(‘.av-horizontal-gallery-link’).css(‘bottom’, ’30px’);
$(‘.av-horizontal-gallery-link’).each(function(){
var imgTitle = $(this).attr(‘title’);
$(this).after(‘<div style=”width:580px;”><p class=”text-under-image”>’ + imgTitle + ‘</p></div>’);
$(this).css({
‘padding-bottom’ : ’20px’,
‘background-color’ : ‘transparent’,
});
$(‘.text-under-image’).css({
“text-align”: “center”,
“margin”: “-100px 0”,
“color”: “#FFF”,
“background” : “transparent”,
});
});
});
})(jQuery);
</script>
<?php
}
add_action(‘wp_footer’, ‘horizontal_gallery_subline’);The code fulfilled part of my wishes. However, I would like the enlarge the font size of the captions and place a transparent black rectangle as a background of the text. And I would like this effect to be responsive.
Here attached my targeted visual and login info.
Thank you very much!!Hi guys,
Open this ticket just to bring a solution I found to show search results products as the shop overview 3.0.0 (with the thumbnails, the first gallery image switch and the price).
Look to find the loop-search.php in enfold/includes, make a copy of it and upload an edited version to your child-theme subfolder includes (commonly it is : enfold-child/includes).
Then look the line 33 :
echo "<span class='search-result-counter {$counterclass}'>{$post_loop_count}</span>";Replace it by :
$searchimage = get_the_post_thumbnail( $the_id, 'shop_catalog' ); $searchimagealt = avia_woocommerce_gallery_first_thumbnail( $the_id , 'shop_catalog' ); echo "<div class='thumbs'><div class='thumbnail_container'>{$searchimagealt}{$searchimage}</div></div>"; echo "<span class='search-result-counter {$counterclass}'>{$post_loop_count}</span>";And the line 52 :
echo "<{$heading} class='post-title entry-title {$css}'><a title='".the_title_attribute('echo=0')."' href='".get_permalink()."' $markup>".get_the_title()."</a></{$heading}>";By :
if( get_post_type() === "product" ) { $product = wc_get_product( $the_id ); $price = $product->get_price(); $currencysymbol = get_woocommerce_currency_symbol(); $pricesuffix = $product->get_price_suffix(); echo "<a href='".get_permalink()."'><div class='inner_product_search_table'><div class='inner_product_search_cell'><{$heading} class='post-title entry-title {$css}'>".get_the_title()."</{$heading}><span class='price'><span class='woocommerce-Price-amount amount'><bdi>{$price}<span class='woocommerce-Price-currencySymbol'>{$currencysymbol}</span></bdi></span>{$pricesuffix}</span></div></div></a>"; } else { echo "<a href='".get_permalink()."'><div class='inner_product_search_table'><div class='inner_product_search_cell'><{$heading} class='post-title entry-title {$css}'>".get_the_title()."</{$heading}></div></div></a>"; }Here is some css to customize the design (to adapt to your project) :
‘/*SEARCH*/
#top.search .template-search .post-entry {
margin: 0 1% 1% 0;
width: 32.6%;
float: left;
clear: none;
}#top.search .template-search .post-entry:nth-of-type(3n) {
margin-right: 0;
}#top.search .template-search .post-entry .search-result-counter, #top.search .template-search .post-entry .entry-content, #top.search .template-search .post-entry .post-meta-infos, #top.search .template-search .search_form_field .author-extra-border, #top.search .template-search .search_form_field h4 {
display: none;
}#top.search .template-search .post-entry .image-overlay {
display: none !important;
}#top.search .template-search .post-entry .inner_product_search_table {
width: 100%;
height: 100%;
background: rgba(0,0,0,0.35);
position: absolute;
top: 0;
-webkit-transition: all 0.3s ease;
-moz-transition: all 0.3s ease-in-out;
transition: all 0.3s ease-in-out;
}#top.search .template-search .post-entry .inner_product_search_cell {
position: relative;
top: 50%;
transform: translateY(-50%);
color: #fff;
text-align: center;
padding: 15px;
}#top.search .template-search .post-entry > .entry-content-wrapper {
padding: 0;
}/*#top.search .template-search .post-entry .entry-content-header > a {
display: inline !important;
}*/#top.search .template-search .post-entry:hover .thumbnail_container > img.avia-product-hover {
opacity: 1;
filter: alpha(opacity=100);
}#top.search .template-search .post-entry:hover {
cursor: pointer;
}#top.search .template-search .post-entry:hover .inner_product_search_table {
opacity: 0;
}/*#top.search .template-search .post-entry .avia-product-hover .thumbnail_container > img:first-child {
position: absolute;
top: 0;
left: 0;
opacity: 0;
filter: alpha(opacity=00);
-webkit-transition: all ease-in-out 0.3s;
-moz-transition: all ease-in-out 0.3s;
transition: all ease-in-out 0.3s;
-webkit-backface-visibility: hidden;
}*/#top.search .template-search .post-entry .post-title {
font-size: 20px;
line-height: 20px;
text-transform: uppercase;
color: #fff;
margin: 0;
padding: 5px 0;
font-weight: normal;
}#top.search .template-search .page-heading-container {
border: 0;
margin: 0;
padding: 0 0 20px;
}#top.search .template-search .extra-mini-title {
margin: 0;
padding-bottom: 20px;
}#top.search .template-search .search_form_field h4 + p {
margin-top: 0;
}/*#top.search .template-search .post-entry .post-title a:hover {
text-decoration: none;
}*/’I’ve also chosen to limit search results to products and posts (not pages) so I’ve add to my functions.php (child-theme) :
/*Filter search results by type (only post and product allows) excluding page*/ function wpb_add_cpt_search($query) { if ( !is_admin() && $query->is_main_query() ) { if ($query->is_search) { $query->set('post_type', array('product', 'post')); } } }Hope this will help you not loosing two days of your life :)
Hi,
as already said in the topic,
1.) there is the desktop menu shown + an overlapping “Menü” (on the logo) shown + a “Menü” item in the desktop menu shown + two search lenses are shwon
2.) there is no menu shown at my mobile phone.I am the new web developer of the customer’s website and the web developer before me made a child them with several modifications. After migrating the website to one of my servers id did not work at all, so i bought the current version of enfold theme and now have the problems.
I’ll provide links to the original site (running old versions of enfold at php) and links to the new site (actual php and enfold)
Kind regards.
ThomasTopic: Token not accepted
I have 2 Enfold purchases at Envato.
One for my website
Yesterdag I bourght a new licence for an new website.Wenn I want to activate the new make token I get:
Incorrect token permissions, please generate another token or fix the permissions on the existing token.
Please ensure only the following permissions are enabled:
View and search Envato sites
Download your purchased items
List purchases you’ve madeAdditional Error Details:
Found too many permissions on token..
sale:verifyTopic: Search Element results
Hi Enfold,
We have been testing the Enfold Search Element. In this element a filter can be added to only show a certain post type. In our case we only want to show products. The ajax results work fine and the search results are only product. But the results on the search result page itself show all the search results. I expected to see only products there. Am I doing something wrong or is the filter only for the ajax results and not for the search page results?
Regards,
Rob van Heijst
Clever StrategyI used this tutorial (https://birchtree.me/blog/reading-time-wp-php/) to add reading time to enfold blog posts. However, i was only able to call the reading time on single blog posts by adding this code (echo reading_time();) to the …/enfold/includes/loop-index.php file. I noticed it is not showing up on the Blog Post Slider Element. I’ll like to make it show there also.
I have searched on the forum and i know i need to edit the …/enfold/config-templatebuilder/avia-shortcodes/postslider/postslider.php file.
Could you please help with the code i need to insert and where, in order to make the reading minutes show inside the slide-meta div along with the date and comments meta on the blog post builder element set to grid layout.
Hi Support,
thanks for the great theme and the nice documentation.
We use the Code from https://kriesi.at/documentation/enfold/search/ to get SearchWP to work, but the ajax search doesn´t work.
Please look at the private Content and the Temporary login Link.
Thanks for your help!
Tobias
Topic: AJAX Search everywhere
Hello,
Quick question: Is it possible to have the AJAX search enabled in all the search fields throughout the website, not only in the header search field? Let me be more precise: I am asking about getting the search results as I am typing a keyword, as it is the case in the header search field.
Also, I am talking about the Enfold search field widget, not third-party. I am not using Relevanssi or similar, just the standard, embedded search function Enfold-WP.
Thanks!
Regards
Topic: Favicon not showing
Good day Enfold Forum,
Today i want to present a problem which is bothering us for a few day’s now.
The url of the website: www . futureprofessionals.nl/
If you have feedback on the website we would really like to hear! :)I think i tried everything but maybe I’m overlooking something.
So we put the favicon in multiple formats and way’s but based on these article so:
https://stackoverflow.com/questions/11362968/favicon-not-workinghttps://community.wappler.io/t/favicon-ico-png-not-displaying-in-chrome-solved/6099
So we are compliant to the guidelines of Google:
https://support.google.com/webmasters/answer/9290858?hl=enI tried this via WordPress Plugin “Favicon door RealFaviconGenerator” not working.
The Enfold favicon in theme: tried 512 x 512, 48 x 48, 16 x 16
The frontpage favicon: tried 512 x 512, 48 x 48, 16 x 16
I really don’t know why Google Mobile is not picking up our Favicon. In Google Search Console it’s visible, in Duck Duck Go it’s visible but we really want it to be visibile on Google.
We have to wait a day before Google crawles our website so every day we are trying a new way to see if it sticks.
Really looking forward to your reply.
Kind regards,
Bob
After implementing the code from https://kriesi.at/documentation/enfold/search/, no AJAX search results are shown when using the search icon.
After hitting enter or clicking the search icon, SearchWP results are shown as intended. I do see a PHP error logged, let me know if you need the output.
Is this code only for SearchWP v3 or also v4?
Hi Guys,
We have an issue displaying widget content above the footer. After thorough research we have found the problem to be related with the section components.
Situation:
In the child theme functions.php we have created a function that calls for a widget.
In that widget we use custom HTML and set an Optinmonster script. That scripts loads a container with an e-mail optin call-to-action.
Somehow the content of this container is much larger then it should be and floats over the page content.We’ve made an Example: https://www.anglers.nl/test-enfold-issue/
Note that that at this moment this is the only page the optinmonster script is called for.The problem occurs on pages where we use the Enfold Advanced Layout builder and the elements at the bottom of the content are placed within a layout element (<div id=”av_section_X”).
Please note that we have ruled out that optinmonster is the problem:
– if elements are NOT placed within a layout element (<div id=”after_section_X”) the content does not float over that element
– the same Optinmonster script is used on blog pages. We do not use the Enfold builder for blogs. We have no problems there.
https://www.anglers.nl/stappenplan-in-10-stappen-een-nieuwe-website-laten-maken/It looks like there is an issue with the section containers.
Please help!
Topic: Problem with BlogPosting
Dear members of the forum!
We use the blog posts in enfold. We have checked the code Test . The result of the code check gave the following error:
image Feld "image.url" fehlt (optional)What to do?
Thanks a lot!
Best regards,
PMHi
I searched and found the following CSS that I thought would help me customize the entry H3, a, titles to the following page:
.page-id-597 #top #wrap_all .main_color .grid-entry-title {
font-weight: bold!important;
color: #760008!important;
}
These changes don’t get applied.I’ve added the CSS in my general styling tab on the Enfold settings.
The page link is here: https://thecurryqueen.com/recipes/
Can you please help me figure out why these changes don’t get applied even when I use the !important.
Thank you
LyseI discovered I missed an update (or maybe a few), because of the theme options weren’t showing anymore in the dashboard. Probably for a while, but didn’t notice it before. Searching other topics I found this link: https://kriesi.at/documentation/enfold/install-enfold-theme/#reinstall-or-update-using-ftp
Tried it and it went all wrong… The child theme was broken after updating. So now I’ve put the backup back, but still don’t know how to update without messing up my website.

